net/mlx5: set dynamic flow metadata in Rx queues
authorAlexander Kozyrev <akozyrev@mellanox.com>
Fri, 17 Apr 2020 17:14:53 +0000 (17:14 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 20:28:06 +0000 (22:28 +0200)
commit6c55b622a95693c6269ef8add75328813ee08e95
treee694047f4a674c20ce7608438add9bd25b0c75de
parent72a944dba1639fff11f74c5ae1ab7d622bcc39fd
net/mlx5: set dynamic flow metadata in Rx queues

Using a global mbuf dynamic field for metadata incurs some
performance penalty on a datapath. Store this information in
the Rx queue descriptor for a better cache locality.

Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath")
Cc: stable@dpdk.org
Signed-off-by: Alexander Kozyrev <akozyrev@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_rxtx.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
drivers/net/mlx5/mlx5_rxtx_vec_neon.h
drivers/net/mlx5/mlx5_rxtx_vec_sse.h
drivers/net/mlx5/mlx5_trigger.c
lib/librte_ethdev/rte_flow.c
lib/librte_ethdev/rte_flow.h