lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 11 Dec 2018 16:49:02 -0800
From:   Cong Wang <xiyou.wangcong@...il.com>
To:     Saeed Mahameed <saeedm@...lanox.com>
Cc:     David Miller <davem@...emloft.net>,
        Linux Kernel Network Developers <netdev@...r.kernel.org>,
        elibr@...lanox.com
Subject: Re: [net-next 08/14] net/mlx5e: Change parse attr struct to
 accommodate multiple tunnel infos

On Tue, Dec 11, 2018 at 3:28 PM Saeed Mahameed <saeedm@...lanox.com> wrote:
>  struct mlx5e_tc_flow_parse_attr {
> -       struct ip_tunnel_info tun_info;
> +       struct ip_tunnel_info tun_info[MLX5_MAX_FLOW_FWD_VPORTS];
>         struct net_device *filter_dev;
>         struct mlx5_flow_spec spec;
>         int num_mod_hdr_actions;
>         void *mod_hdr_actions;
> -       int mirred_ifindex;
> +       int mirred_ifindex[MLX5_MAX_FLOW_FWD_VPORTS];
>  };

Perhaps 'mirred_ifindexes' (or indices) is more readable here, while you
are on it...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ