Re: [PATCH net-next] nfp: add VLAN filtering support

2017-06-15 Thread Jakub Kicinski
On Thu, 15 Jun 2017 12:50:57 +, Mintz, Yuval wrote: > > From: Pablo Cascón > > > > Add general use per-vNIC mailbox area and use it for VLAN filtering support. > > Initially proto is hardcoded to 802.1q. > > > ... > > +static int > > +nfp_net_vlan_rx_add_vid(struct net_device *netdev, __be

Re: [PATCH net-next] nfp: add VLAN filtering support

2017-06-15 Thread David Miller
From: "Mintz, Yuval" Date: Thu, 15 Jun 2017 12:50:57 + >> From: Pablo Cascón >> >> Add general use per-vNIC mailbox area and use it for VLAN filtering support. >> Initially proto is hardcoded to 802.1q. >> > ... >> +static int >> +nfp_net_vlan_rx_add_vid(struct net_device *netdev, __be16 p

RE: [PATCH net-next] nfp: add VLAN filtering support

2017-06-15 Thread Mintz, Yuval
> From: Pablo Cascón > > Add general use per-vNIC mailbox area and use it for VLAN filtering support. > Initially proto is hardcoded to 802.1q. > ... > +static int > +nfp_net_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 > +vid) { > + struct nfp_net *nn = netdev_priv(netdev);