opnsense-src/sys/dev/mlx5
Hans Petter Selasky f4546fa376 Add support for prio-tagged traffic for RDMA in ibcore.
When receiving a PCP change all GID entries are reloaded.
This ensures the relevant GID entries use prio tagging,
by setting VLAN present and VLAN ID to zero.

The priority for prio tagged traffic is set using the regular
rdma_set_service_type() function.

Fake the real network device to have a VLAN ID of zero
when prio tagging is enabled. This is logic is hidden inside
the rdma_vlan_dev_vlan_id() function which must always be used
to retrieve the VLAN ID throughout all of ibcore and the
infiniband network drivers.

The VLAN presence information then propagates through all
of ibcore and so incoming connections will have the VLAN
bit set. The incoming VLAN ID is then checked against the
return value of rdma_vlan_dev_vlan_id().

MFC after:		1 week
Sponsored by:		Mellanox Technologies
2018-07-17 09:11:53 +00:00
..
mlx5_core Add support for hardware rate limiting to mlx5en(4). 2018-05-29 14:04:57 +00:00
mlx5_en Add support for hardware rate limiting to mlx5en(4). 2018-05-29 14:04:57 +00:00
mlx5_ib Add support for prio-tagged traffic for RDMA in ibcore. 2018-07-17 09:11:53 +00:00
cmd.h Remove duplicate prototypes. 2018-03-08 15:37:09 +00:00
cq.h Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
device.h Issue a software reset on firmware assert in mlx5core. 2018-03-23 18:24:09 +00:00
diagnostics.h Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry 2017-01-30 08:35:15 +00:00
doorbell.h
driver.h Add support for hardware rate limiting to mlx5en(4). 2018-05-29 14:04:57 +00:00
fs.h Refactor the flowsteering APIs used by mlx5en(4). This change is needed by 2017-11-10 09:49:08 +00:00
mlx5_ifc.h Add support for fast unload in shutdown flow in mlx5core. 2018-03-23 18:02:20 +00:00
mlx5_rdma_if.h
mlx5io.h Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
port.h Add support for per priority flow control, PFC, to mlx5en(4). 2018-03-08 11:40:39 +00:00
qp.h Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
srq.h Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
vport.h Add API function to query port performance counters for infiniband and RoCE 2017-11-10 13:58:49 +00:00