net/mlx5: fix LRO dependency to include DV flow
authorDekel Peled <dekelp@mellanox.com>
Thu, 24 Oct 2019 12:46:42 +0000 (15:46 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit2eb5dce8c0280dafef6dfbcc987331f7c27028cd
tree58a029aa851f8f5f7d4839315c44dba053dc0e21
parentaf0b0743e22d296284dae3d7fae39635baa00912
net/mlx5: fix LRO dependency to include DV flow

Rx queue for LRO is created using DevX. Flows created on this queue
must use the DV flow engine.

This patch adds check of dv_flow_en=1 when configuring LRO support
on device spawn.
Documentation is updated accordingly.

Fixes: 175f1c21d033 ("net/mlx5: check conditions to enable LRO")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5.c