[dpdk-dev] [PATCH] net/mlx5: fix RSS expand for IP-in-IP
Raslan Darawsheh
rasland at mellanox.com
Tue Aug 6 12:38:07 CEST 2019
Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Xiaoyu Min
> Sent: Wednesday, July 24, 2019 2:32 PM
> To: Shahaf Shuler <shahafs at mellanox.com>; Yongseok Koh
> <yskoh at mellanox.com>; Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: dev at dpdk.org; Jack Min <jackmin at mellanox.com>
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix RSS expand for IP-in-IP
>
> The RSS expand function for IP-in-IP tunnel type is missed,
> which leads to create following flow failed:
>
> flow create 0 ingress pattern eth / ipv4 proto is 4 /
> ipv4 / udp / end actions rss queues 0 1 end level 2
> types ip ipv4-other udp ipv4 ipv4-frag end /
> mark id 221 / count / end
>
> In order to make RSS expand function working correctly,
> now the way to check whether a IP tunnel existing is to
> check whether there is the second IPv4/IPv6 item and whether the
> first IPv4/IPv6 item's next protocl is IPPROTO_IPIP/IPPROTO_IPV6.
> For example:
> ... pattern eth / ipv4 proto is 4 / ipv4 / ....
>
> Fixes: 5e33bebdd8d3 ("net/mlx5: support IP-in-IP tunnel")
> Cc: jackmin at mellanox.com
>
> Signed-off-by: Xiaoyu Min <jackmin at mellanox.com>
> ---
> drivers/net/mlx5/mlx5_flow.c | 8 +++-
> drivers/net/mlx5/mlx5_flow_dv.c | 79 ++++++++++++++++++++-------------
> 2 files changed, 53 insertions(+), 34 deletions(-)
>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list