Re: [dpdk-dev] [PATCH 2/2] net/mlx5: optimize performance for IPv4/IPv6 ethertype

2020-05-03 Thread Matan Azrad
Hi Eli Good optimization. Thanks. Please see comment below... From: Eli Britstein > The HW is optimized for IPv4/IPv6. For such cases avoid matching on > ethertype, and use ip_version field instead. > > Signed-off-by: Eli Britstein > Acked-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/

[dpdk-dev] [PATCH 2/2] net/mlx5: optimize performance for IPv4/IPv6 ethertype

2020-05-03 Thread Eli Britstein
The HW is optimized for IPv4/IPv6. For such cases avoid matching on ethertype, and use ip_version field instead. Signed-off-by: Eli Britstein Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow_dv.c | 51 +++-- 1 file changed, 39 insertions(+), 12 d