On Sat, Apr 9, 2016 at 10:17 AM, Manish Chopra <manish.cho...@qlogic.com> wrote: > diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c > b/drivers/net/ethernet/qlogic/qede/qede_main.c > index 518af32..9a82d42 100644 > --- a/drivers/net/ethernet/qlogic/qede/qede_main.c > +++ b/drivers/net/ethernet/qlogic/qede/qede_main.c [...] > +static netdev_features_t qede_features_check(struct sk_buff *skb, > + struct net_device *dev, > + netdev_features_t features) > +{ > + return vxlan_features_check(skb, features); > +}
This is going to restrict the set of protocols that can be offloaded to those that look exactly like VXLAN. In particular, it means that you won't be able offload Geneve with options. I don't think this what you mean to do given that you are supporting these protocols in the other patches and I know this hardware has more capabilities than just VXLAN. I think that you want to do a header length check - similar to what the Intel drivers are doing for example. I noticed that the bnx2x driver has a similar issue as well.