linux_dsm_epyc7002/drivers/infiniband/hw
Or Gerlitz 7898489880 IB/mlx5: Enable Eth VFs to query their min-inline value for user-space
For some mlx5 HW models (CX4, CX4Lx), the VF driver needs to put part
of the packet headers on the TX descriptor so the e-switch can do proper
matching and steering. This is called "min-inline", it's advertized to
the VF by the FW and also enforced on them by the HW, such that if they
don't obey, their packets are dropped.

SRIOV VF libmlx5 instances should take into account the min-inline
value of their vports. For that end, we provide this value through
the vendor response part of init_ucontext command.

The min inline value is reported in a way which will let newer libmlx5
instances realize that they are running over an older kernel and act
accordingly (e.g apply some educated guess).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2017-01-24 21:14:06 +02:00
..
cxgb3 Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
cxgb4 First round of -rc fixes for 4.10 kernel 2016-12-23 10:38:48 -08:00
hfi1 Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
hns Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
i40iw i40iw: Set 128B as the only supported RQ WQE size 2016-12-22 11:36:12 -05:00
mlx4 net/mlx4_core: Fix raw qp flow steering rules under SRIOV 2016-12-29 14:17:40 -05:00
mlx5 IB/mlx5: Enable Eth VFs to query their min-inline value for user-space 2017-01-24 21:14:06 +02:00
mthca Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
nes Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
ocrdma Merge branches 'misc', 'qedr', 'reject-helpers', 'rxe' and 'srp' into merge-test 2016-12-14 14:44:47 -05:00
qedr First round of -rc fixes for 4.10 kernel 2016-12-23 10:38:48 -08:00
qib Merge branch 'hfi1' into merge-test 2016-12-14 14:44:08 -05:00
usnic Merge branches 'misc', 'qedr', 'reject-helpers', 'rxe' and 'srp' into merge-test 2016-12-14 14:44:47 -05:00
vmw_pvrdma IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
Makefile IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00