net/mlx5: support fine grain dynamic flag
authorOri Kam <orika@mellanox.com>
Wed, 29 Jan 2020 12:21:06 +0000 (12:21 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commitefa79e68c8cd41ba9ef082448b5c7ccc2a245ab9
tree0f4f3962ee92fcbfd0e999a8931ad94527f0bc4e
parentfbde43310fbec8da96e8c66d7a16d891f60ed630
net/mlx5: support fine grain dynamic flag

The inline feature is designed to save PCI bandwidth by copying some
of the data to the wqe. This feature if enabled works for all packets.

In some cases when using external memory, the PCI bandwidth is not
relevant since the memory can be accessed by other means.

This commit introduce the ability to control the inline with mbuf
granularity.

In order to use this feature the application should register the field
name, and restart the port.

Signed-off-by: Ori Kam <orika@mellanox.com>
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_rxtx.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_trigger.c
drivers/net/mlx5/rte_pmd_mlx5.h [new file with mode: 0644]
drivers/net/mlx5/rte_pmd_mlx5_version.map