Re: [E1000-devel] [PATCH net-next 3/7] net: Move check for multiple vlans to drivers

2015-03-26 Thread Eric Dumazet
On Thu, 2015-03-26 at 14:01 +0900, Toshiaki Makita wrote: To allow drivers to handle the features check for multiple tags, move the check to ndo_features_check(). As no drivers currently handle multiple tagged TSO, introduce dflt_features_check() and call it if the driver does not have

Re: [E1000-devel] [PATCH net-next 3/7] net: Move check for multiple vlans to drivers

2015-03-26 Thread Toshiaki Makita
On 2015/03/26 20:55, Eric Dumazet wrote: ... +/** + * vlan_features_check - drop unsafe features for skb with multiple tags. + * @skb: skbuff to query + * @features: features to be checked + * + * Returns features without unsafe ones if the skb has multiple tags. + */ +static inline

[E1000-devel] [PATCH net-next 3/7] net: Move check for multiple vlans to drivers

2015-03-25 Thread Toshiaki Makita
To allow drivers to handle the features check for multiple tags, move the check to ndo_features_check(). As no drivers currently handle multiple tagged TSO, introduce dflt_features_check() and call it if the driver does not have ndo_features_check(). Signed-off-by: Toshiaki Makita