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 +
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().
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 a/drivers