freebsd-dev/sys/ofed/include
Slava Shwartsman b4df6efb4e ibcore: Fix endless loop in searching for matching VLAN device
In r337943 ifnet's if_pcp was set to the PCP value in use
instead of IFNET_PCP_NONE.
Current ibcore code assumes that if_pcp is IFNET_PCP_NONE with
VLAN interfaces so it can identify prio-tagged traffic.
Fix that by explicitly verifying that that the if_type is IFT_ETHER
and not IFT_L2VLAN.

MFC after:      3 days
Approved by:    re (Marius), hselasky (mentor), kib (mentor)
Sponsored by:   Mellanox Technologies
2018-09-06 12:26:57 +00:00
..
rdma ibcore: Fix endless loop in searching for matching VLAN device 2018-09-06 12:26:57 +00:00
uapi/rdma Optimize ibcore RoCE address handle creation from user-space. 2018-03-05 14:34:52 +00:00