]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_bnxt: Allow bnxt interfaces to use vlans
authorMisho <misho@elwix.org>
Thu, 21 Apr 2022 08:24:04 +0000 (09:24 +0100)
committerTom Jones <thj@FreeBSD.org>
Wed, 27 Apr 2022 13:14:40 +0000 (14:14 +0100)
commite54505277c39cad32f999fd72033f6fa9594b130
tree14abdcac16112e79141708c478786cace8ee45d5
parenta99ef04e0659db80bcf85074c4d37c029f292fe2
if_bnxt: Allow bnxt interfaces to use vlans

When VLAN HW filter is disabled, the NIC does not pass any vlan tagged
traffic. Setting these flags on the device allows vlan tagged traffic to
pass.

PR: 236983
Tested by: pi
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34824

(cherry picked from commit 0c6a2fa33e36ac0b5d51cbae39a9c5564ad61788)
sys/dev/bnxt/if_bnxt.c