/linux/drivers/net/ethernet/atheros/atlx/ |
A D | atlx.c | 208 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) in __atlx_vlan_mode() 220 netdev_features_t features) in atlx_vlan_mode() 240 static netdev_features_t atlx_fix_features(struct net_device *netdev, in atlx_fix_features() 241 netdev_features_t features) in atlx_fix_features() 256 netdev_features_t features) in atlx_set_features() 258 netdev_features_t changed = netdev->features ^ features; in atlx_set_features()
|
/linux/net/ethtool/ |
A D | features.c | 28 static void ethnl_features_to_bitmap32(u32 *dest, netdev_features_t src) in ethnl_features_to_bitmap32() 42 netdev_features_t all_features; in features_prepare_data() 134 static void ethnl_features_to_bitmap(unsigned long *dest, netdev_features_t val) in ethnl_features_to_bitmap() 144 static netdev_features_t ethnl_bitmap_to_features(unsigned long *src) in ethnl_bitmap_to_features() 146 const unsigned int nft_bits = sizeof(netdev_features_t) * BITS_PER_BYTE; in ethnl_bitmap_to_features() 148 netdev_features_t ret = 0; in ethnl_bitmap_to_features() 152 ret |= (netdev_features_t)(src[i]) << (i * BITS_PER_LONG); in ethnl_bitmap_to_features() 153 ret &= ~(netdev_features_t)0 >> (nft_bits - NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_rxtx.h | 96 static inline netdev_features_t 97 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) in mlx5e_ipsec_feature_check() 162 static inline netdev_features_t 163 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) in mlx5e_ipsec_feature_check()
|
/linux/net/ipv6/ |
A D | esp6_offload.c | 145 netdev_features_t features) in xfrm6_tunnel_gso_segment() 153 netdev_features_t features) in xfrm6_transport_gso_segment() 169 netdev_features_t features) in xfrm6_beet_gso_segment() 211 netdev_features_t features) in xfrm6_outer_mode_gso_segment() 226 netdev_features_t features) in esp6_gso_segment() 231 netdev_features_t esp_features = features; in esp6_gso_segment() 282 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
|
A D | ip6_offload.c | 75 netdev_features_t features) in ipv6_gso_segment() 380 netdev_features_t features) in sit_gso_segment() 389 netdev_features_t features) in ip4ip6_gso_segment() 398 netdev_features_t features) in ip6ip6_gso_segment()
|
A D | tcpv6_offload.c | 42 netdev_features_t features) in tcp6_gso_segment()
|
/linux/net/ipv4/ |
A D | esp4_offload.c | 110 netdev_features_t features) in xfrm4_tunnel_gso_segment() 118 netdev_features_t features) in xfrm4_transport_gso_segment() 134 netdev_features_t features) in xfrm4_beet_gso_segment() 172 netdev_features_t features) in xfrm4_outer_mode_gso_segment() 187 netdev_features_t features) in esp4_gso_segment() 192 netdev_features_t esp_features = features; in esp4_gso_segment() 245 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
|
A D | udp_offload.c | 15 netdev_features_t features, in __skb_udp_tunnel_segment() 17 netdev_features_t features), in __skb_udp_tunnel_segment() 152 netdev_features_t features, in skb_udp_tunnel_segment() 160 netdev_features_t features); in skb_udp_tunnel_segment() 249 netdev_features_t features, in __udp_gso_segment_list() 264 netdev_features_t features, bool is_ipv6) in __udp_gso_segment() 368 netdev_features_t features) in udp4_ufo_fragment()
|
/linux/drivers/net/ethernet/sfc/ |
A D | efx_common.h | 101 int efx_set_features(struct net_device *net_dev, netdev_features_t data); 108 netdev_features_t efx_features_check(struct sk_buff *skb, struct net_device *dev, 109 netdev_features_t features);
|
/linux/drivers/net/vmxnet3/ |
A D | vmxnet3_int.h | 478 netdev_features_t 479 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features); 481 netdev_features_t 483 struct net_device *netdev, netdev_features_t features); 486 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features);
|
A D | vmxnet3_ethtool.c | 249 netdev_features_t vmxnet3_fix_features(struct net_device *netdev, in vmxnet3_fix_features() 250 netdev_features_t features) in vmxnet3_fix_features() 259 netdev_features_t vmxnet3_features_check(struct sk_buff *skb, in vmxnet3_features_check() 261 netdev_features_t features) in vmxnet3_features_check() 327 int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) in vmxnet3_set_features() 331 netdev_features_t changed = features ^ netdev->features; in vmxnet3_set_features() 332 netdev_features_t tun_offload_mask = NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_set_features()
|
/linux/include/linux/ |
A D | netdevice.h | 1998 netdev_features_t features; 1999 netdev_features_t hw_features; 2001 netdev_features_t vlan_features; 2003 netdev_features_t mpls_features; 5026 static inline netdev_features_t netdev_intersect_features(netdev_features_t f1, in netdev_intersect_features() 5027 netdev_features_t f2) in netdev_intersect_features() 5044 netdev_features_t netdev_increment_features(netdev_features_t all, 5045 netdev_features_t one, netdev_features_t mask); 5051 static inline netdev_features_t netdev_add_tso_features(netdev_features_t features, in netdev_add_tso_features() 5052 netdev_features_t mask) in netdev_add_tso_features() [all …]
|
A D | if_tap.h | 43 netdev_features_t tap_features; 46 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
|
A D | netdev_features.h | 12 typedef u64 netdev_features_t; typedef 105 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit))
|
A D | if_vlan.h | 313 static inline bool vlan_hw_offload_capable(netdev_features_t features, in vlan_hw_offload_capable() 730 static inline netdev_features_t vlan_features_check(struct sk_buff *skb, in vlan_features_check() 731 netdev_features_t features) in vlan_features_check()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede.h | 518 netdev_features_t features; 530 netdev_features_t qede_features_check(struct sk_buff *skb, 532 netdev_features_t features); 549 netdev_features_t qede_fix_features(struct net_device *dev, 550 netdev_features_t features); 551 int qede_set_features(struct net_device *dev, netdev_features_t features);
|
/linux/net/mpls/ |
A D | mpls_gso.c | 20 netdev_features_t features) in mpls_gso_segment() 24 netdev_features_t mpls_features; in mpls_gso_segment()
|
/linux/net/hsr/ |
A D | hsr_device.c | 180 static netdev_features_t hsr_features_recompute(struct hsr_priv *hsr, in hsr_features_recompute() 181 netdev_features_t features) in hsr_features_recompute() 183 netdev_features_t mask; in hsr_features_recompute() 204 static netdev_features_t hsr_fix_features(struct net_device *dev, in hsr_fix_features() 205 netdev_features_t features) in hsr_fix_features()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_repr.c | 235 static netdev_features_t 236 nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) in nfp_repr_fix_features() 239 netdev_features_t old_features = features; in nfp_repr_fix_features() 240 netdev_features_t lower_features; in nfp_repr_fix_features()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_main.c | 82 netdev_features_t pre_features, 83 netdev_features_t features, bool force_change); 883 netdev_features_t features) in hinic_set_features() 891 static netdev_features_t hinic_fix_features(struct net_device *netdev, in hinic_fix_features() 892 netdev_features_t features) in hinic_fix_features() 1075 netdev_features_t pre_features, in set_features() 1076 netdev_features_t features, bool force_change) in set_features() 1078 netdev_features_t changed = force_change ? ~0 : pre_features ^ features; in set_features() 1080 netdev_features_t failed_features = 0; in set_features()
|
/linux/net/8021q/ |
A D | vlan.h | 106 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features() 108 netdev_features_t ret; in vlan_tnl_features()
|
/linux/drivers/s390/net/ |
A D | qeth_core.h | 1092 int qeth_set_features(struct net_device *, netdev_features_t); 1094 netdev_features_t qeth_fix_features(struct net_device *, netdev_features_t); 1095 netdev_features_t qeth_features_check(struct sk_buff *skb, 1097 netdev_features_t features);
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_hw.c | 1023 static netdev_features_t qlcnic_process_flags(struct qlcnic_adapter *adapter, in qlcnic_process_flags() 1024 netdev_features_t features) in qlcnic_process_flags() 1056 netdev_features_t qlcnic_fix_features(struct net_device *netdev, in qlcnic_fix_features() 1057 netdev_features_t features) in qlcnic_fix_features() 1060 netdev_features_t changed; in qlcnic_fix_features() 1083 int qlcnic_set_features(struct net_device *netdev, netdev_features_t features) in qlcnic_set_features() 1086 netdev_features_t changed = netdev->features ^ features; in qlcnic_set_features()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | sge.h | 82 void t1_vlan_mode(struct adapter *adapter, netdev_features_t features);
|
/linux/include/net/ |
A D | udp.h | 184 netdev_features_t features, bool is_ipv6); 307 netdev_features_t features, 484 netdev_features_t features = NETIF_F_SG; in udp_rcv_segment()
|