summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-07-22 14:52:03 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-07-23 14:31:36 +0200
commit175f1c21d0334e96d959fbe88a614a4bcc1b1e99 (patch)
tree5ac5cba1db436939afd6dfc22ac359928a6ee51a /drivers/net/mlx5/mlx5.h
parent3075bd23e3b84199283cf6600484466addfe525f (diff)
downloaddpdk-175f1c21d0334e96d959fbe88a614a4bcc1b1e99.zip
dpdk-175f1c21d0334e96d959fbe88a614a4bcc1b1e99.tar.gz
dpdk-175f1c21d0334e96d959fbe88a614a4bcc1b1e99.tar.xz
net/mlx5: check conditions to enable LRO
Use DevX API to read device LRO capabilities. Check if LRO is supported and can be enabled. Check if MPRQ is supported and can be used. Enable MPRQ for LRO use if not enabled by user. Added note for mlx5_mprq_enabled(), to emphasize that LRO enables MPRQ. Disable CQE compression and CRC stripping if LRO is enabled. Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Matan Azrad <matan@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5.h')
0 files changed, 0 insertions, 0 deletions