Samuel Mendoza-Jonas 21acf63013 net/ncsi: Configure VLAN tag filter
Make use of the ndo_vlan_rx_{add,kill}_vid callbacks to have the NCSI
stack process new VLAN tags and configure the channel VLAN filter
appropriately.
Several VLAN tags can be set and a "Set VLAN Filter" packet must be sent
for each one, meaning the ncsi_dev_state_config_svf state must be
repeated. An internal list of VLAN tags is maintained, and compared
against the current channel's ncsi_channel_filter in order to keep track
within the state. VLAN filters are removed in a similar manner, with the
introduction of the ncsi_dev_state_config_clear_vids state. The maximum
number of VLAN tag filters is determined by the "Get Capabilities"
response from the channel.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-28 16:49:49 -07:00
..
2017-04-12 22:02:40 +02:00
2017-08-09 22:43:50 -07:00
2017-08-28 11:30:02 -07:00
2017-08-24 21:57:50 -07:00
2017-08-28 16:49:49 -07:00
2017-08-28 11:30:02 -07:00
2017-07-21 16:26:01 -07:00
2017-08-23 22:31:38 -07:00
2017-08-03 09:13:51 -07:00
2017-08-16 11:27:52 -07:00