]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add network device event for priority code point, PCP, changes.
authorhselasky <hselasky@FreeBSD.org>
Thu, 26 Apr 2018 08:58:27 +0000 (08:58 +0000)
committerhselasky <hselasky@FreeBSD.org>
Thu, 26 Apr 2018 08:58:27 +0000 (08:58 +0000)
commit5663cd283745b455337039060c755801fb47d95f
treec91ec52e433ec6c98b17156ae7eb6b523f1434a2
parent479a325d6593d35275f2ed3274d27f8b7e1f9d71
Add network device event for priority code point, PCP, changes.

When the PCP is changed for either a VLAN network interface or when
prio tagging is enabled for a regular ethernet network interface,
broadcast the IFNET_EVENT_PCP event so applications like ibcore can
update its GID tables accordingly.

MFC after: 3 days
Reviewed by: ae, kib
Differential Revision: https://reviews.freebsd.org/D15040
Sponsored by: Mellanox Technologies
sys/net/if_ethersubr.c
sys/net/if_var.h
sys/net/if_vlan.c