f4546fa376
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 |
||
---|---|---|
.. | ||
mlx4_ib_ah.c | ||
mlx4_ib_alias_GUID.c | ||
mlx4_ib_cm.c | ||
mlx4_ib_cq.c | ||
mlx4_ib_doorbell.c | ||
mlx4_ib_mad.c | ||
mlx4_ib_main.c | ||
mlx4_ib_mcg.c | ||
mlx4_ib_mr.c | ||
mlx4_ib_qp.c | ||
mlx4_ib_srq.c | ||
mlx4_ib_sysfs.c | ||
mlx4_ib_wc.c | ||
mlx4_ib.h | ||
wc.h |