RE: [RFC PATCH 1/4] net: Add support to netdev ops for changing hardware queue MAC and VLAN filters
From: Williams, Mitch A <hidden>
Date: 2009-11-18 21:37:29
From: Williams, Mitch A <hidden>
Date: 2009-11-18 21:37:29
From: Ben Hutchings [mailto:bhutchings@solarflare.com] Sent: Wednesday, November 18, 2009 11:53 AM
How do you remove a filter?
You remove a filter by setting it to 0 on that queue. Works for either MAC or VLAN.
What about filtering on both MAC address and VLAN (our new controller supports that)?
Setting a MAC filter doesn't blow away the VLAN filter, or vice-versa. So just run 'ip' twice to set the filters. Our hardware does it too, and it works fine for me: $ ip link set eth1 queue 1 mac 00:11:22:33:44:55 $ ip link set eth1 queue 1 vlan 10 -Mitch