]> 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:55:24 +0000 (14:55 +0100)
commit5acfa48bb2585adfb8ceeacb695c6e6cc660894d
treeb76a4ef4c4e935a2138d5e887e3c66c0bcb4a2a7
parent27c537bf05d242643df7483052eb737885aa4db2
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.

Approved by: re (gjb)
PR: 236983
Tested by: pi
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34824

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