linux/drivers/infiniband/hw/mlx5
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
..
ah.c IB/mlx5: Use kernel driver to help userspace create ah 2016-12-13 13:38:49 -05:00
cq.c IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB/{core,hw}: Add constant for node_desc 2016-10-07 16:54:34 -04:00
main.c IB/mlx5: Enable Eth VFs to query their min-inline value for user-space 2017-01-24 21:14:06 +02:00
Makefile IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
mem.c IB/mlx5: Add MR cache for large UMR regions 2017-01-02 15:51:20 -05:00
mlx5_ib.h IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
mr.c IB/mlx5: Improve MR check 2017-01-02 15:51:20 -05:00
odp.c IB/mlx5: Improve MR check 2017-01-02 15:51:20 -05:00
qp.c IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
srq.c Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00