[Bug 292759] [igb] vlanhwfilter silently does not work with bridge with VLANs

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292759

--- Comment #8 from Zhenlei Huang <[email protected]> ---
(In reply to Zhenlei Huang from comment #7)
> Well if_bridge(4) does not register vlan_config event, hence unable to pass correct
> VLAN IDs to the bridge members those has IFCAP_VLAN_HWFILTER enabled.

I might be wrong about the above analysis. if_bridge(4) actually will put the
member interfaces into promiscuous mode. So maybe igb(4) should respect
promiscuous mode rather than insisting filtering out unwanted tagged packets ?

I do not have igb(4) hardware to test. @vova May you please have test with the
promiscuous mode ?

```
# ifconfig igb1.20 destroy
# ifconfig igb1 vlanhwfilter up
# ifconfig igb1 promisc
# tcpdump -Kpenvi igb1
```

then ping from other nodes on vlan20, say from 192.168.20.1
```
# ping -c1 192.168.20.88
```

and report the traffic capture by tcpdump on igb1.

If igb(4) does not respect promiscuous mode, then the nic will definitely drop
all arp requests tagged with vlan id 20, and I'll expect tcpdump(1) will see
nothing from vlan 20.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.