Re: [net-next 03/12] net/mlx5e: Ethtool steering, ip6 support

2018-08-11 Thread Or Gerlitz
On Sat, Aug 11, 2018 at 1:26 AM, Saeed Mahameed wrote: > Add ip6 support for ethtool flow steering. > > New supported flow types: ip6|tcp6|udp6| > Supported fields: src-ip|dst-ip|src-port|dst-port > > Signed-off-by: Saeed Mahameed > --- > .../mellanox/mlx5/core/en_fs_ethtool.c| 138

Re: [net-next 03/12] net/mlx5e: Ethtool steering, ip6 support

2018-08-10 Thread David Miller
From: Saeed Mahameed Date: Fri, 10 Aug 2018 15:26:21 -0700 > +static bool is_zero_ip6(__be32 ip6[4]) > +{ > + int i; > + > + for (i = 0; i < 4; i++) > + if (ip6[i] != 0) > + return false; > + return true; > +} This is ipv6_addr_any().

[net-next 03/12] net/mlx5e: Ethtool steering, ip6 support

2018-08-10 Thread Saeed Mahameed
Add ip6 support for ethtool flow steering. New supported flow types: ip6|tcp6|udp6| Supported fields: src-ip|dst-ip|src-port|dst-port Signed-off-by: Saeed Mahameed --- .../mellanox/mlx5/core/en_fs_ethtool.c| 138 ++ 1 file changed, 138 insertions(+) diff --git