Loading include/net/pkt_cls.h +1 −5 Original line number Original line Diff line number Diff line Loading @@ -611,11 +611,7 @@ struct tc_cls_u32_offload { static inline bool tc_can_offload(const struct net_device *dev) static inline bool tc_can_offload(const struct net_device *dev) { { if (!(dev->features & NETIF_F_HW_TC)) return dev->features & NETIF_F_HW_TC; return false; if (!dev->netdev_ops->ndo_setup_tc) return false; return true; } } static inline bool tc_skip_hw(u32 flags) static inline bool tc_skip_hw(u32 flags) Loading Loading
include/net/pkt_cls.h +1 −5 Original line number Original line Diff line number Diff line Loading @@ -611,11 +611,7 @@ struct tc_cls_u32_offload { static inline bool tc_can_offload(const struct net_device *dev) static inline bool tc_can_offload(const struct net_device *dev) { { if (!(dev->features & NETIF_F_HW_TC)) return dev->features & NETIF_F_HW_TC; return false; if (!dev->netdev_ops->ndo_setup_tc) return false; return true; } } static inline bool tc_skip_hw(u32 flags) static inline bool tc_skip_hw(u32 flags) Loading