Home
last modified time | relevance | path

Searched refs:netdev_features_t (Results 1 – 25 of 230) sorted by relevance

12345678910

/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_netdev_ops.c503 netdev_features_t wanted_features, in hinic3_set_feature_rx_csum()
504 netdev_features_t features, in hinic3_set_feature_rx_csum()
505 netdev_features_t *failed_features) in hinic3_set_feature_rx_csum()
507 netdev_features_t changed = wanted_features ^ features; in hinic3_set_feature_rx_csum()
519 netdev_features_t wanted_features, in hinic3_set_feature_tso()
520 netdev_features_t features, in hinic3_set_feature_tso()
521 netdev_features_t *failed_features) in hinic3_set_feature_tso()
523 netdev_features_t changed = wanted_features ^ features; in hinic3_set_feature_tso()
535 netdev_features_t wanted_features, in hinic3_set_feature_lro()
536 netdev_features_t features, in hinic3_set_feature_lro()
[all …]
H A Dhinic3_main.c249 netdev_features_t hw_features = 0; in netdev_feature_init()
250 netdev_features_t vlan_fts = 0; in netdev_feature_init()
251 netdev_features_t cso_fts = 0; in netdev_feature_init()
252 netdev_features_t tso_fts = 0; in netdev_feature_init()
253 netdev_features_t dft_fts; in netdev_feature_init()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.h33 int wx_set_features(struct net_device *netdev, netdev_features_t features);
34 netdev_features_t wx_fix_features(struct net_device *netdev,
35 netdev_features_t features);
36 netdev_features_t wx_features_check(struct sk_buff *skb,
38 netdev_features_t features);
/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.c208 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/
H A Dfeatures.c30 static void ethnl_features_to_bitmap32(u32 *dest, netdev_features_t src) in ethnl_features_to_bitmap32()
44 netdev_features_t all_features; in features_prepare_data()
136 static void ethnl_features_to_bitmap(unsigned long *dest, netdev_features_t val) in ethnl_features_to_bitmap()
145 static netdev_features_t ethnl_bitmap_to_features(unsigned long *src) in ethnl_bitmap_to_features()
147 const unsigned int nft_bits = sizeof(netdev_features_t) * BITS_PER_BYTE; in ethnl_bitmap_to_features()
149 netdev_features_t ret = 0; in ethnl_bitmap_to_features()
153 ret |= (netdev_features_t)(src[i]) << (i * BITS_PER_LONG); in ethnl_bitmap_to_features()
154 ret &= ~(netdev_features_t)0 >> (nft_bits - NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
/linux/include/net/
H A Dgso.h78 netdev_features_t features, bool tx_path);
81 netdev_features_t features) in skb_gso_segment()
87 netdev_features_t features, __be16 type);
90 netdev_features_t features);
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst38 netdev_features_t features read_mostly read_mostly …
39 netdev_features_t hw_features
40 netdev_features_t wanted_features
41 netdev_features_t vlan_features
42 netdev_features_t hw_enc_features …
43 netdev_features_t mpls_features
44 netdev_features_t gso_partial_features read_mostly …
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.h88 static inline netdev_features_t
89 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) in mlx5e_ipsec_feature_check()
154 static inline netdev_features_t
155 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) in mlx5e_ipsec_feature_check()
/linux/drivers/net/
H A Dtun_vnet.h112 static inline unsigned int tun_vnet_parse_size(netdev_features_t features) in tun_vnet_parse_size()
121 netdev_features_t features, in __tun_vnet_hdr_get()
156 static inline int __tun_vnet_hdr_put(int sz, netdev_features_t features, in __tun_vnet_hdr_put()
190 static inline netdev_features_t tun_vnet_hdr_guest_features(int vnet_hdr_sz) in tun_vnet_hdr_guest_features()
198 tun_vnet_hdr_tnl_to_skb(unsigned int flags, netdev_features_t features, in tun_vnet_hdr_tnl_to_skb()
/linux/net/core/
H A Dgso.c14 netdev_features_t features, __be16 type) in skb_eth_gso_segment()
38 netdev_features_t features) in skb_mac_gso_segment()
89 netdev_features_t features, bool tx_path) in __skb_gso_segment()
107 netdev_features_t partial_features = NETIF_F_GSO_ROBUST; in __skb_gso_segment()
/linux/net/ipv6/
H A Desp6_offload.c159 netdev_features_t features) in xfrm6_tunnel_gso_segment()
171 netdev_features_t features) in xfrm6_transport_gso_segment()
187 netdev_features_t features) in xfrm6_beet_gso_segment()
232 netdev_features_t features) in xfrm6_outer_mode_gso_segment()
247 netdev_features_t features) in esp6_gso_segment()
252 netdev_features_t esp_features = features; in esp6_gso_segment()
303 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
H A Dip6_offload.c92 netdev_features_t features) in ipv6_gso_segment()
386 netdev_features_t features) in sit_gso_segment()
395 netdev_features_t features) in ip4ip6_gso_segment()
404 netdev_features_t features) in ip6ip6_gso_segment()
/linux/net/ipv4/
H A Desp4_offload.c123 netdev_features_t features) in xfrm4_tunnel_gso_segment()
135 netdev_features_t features) in xfrm4_transport_gso_segment()
151 netdev_features_t features) in xfrm4_beet_gso_segment()
192 netdev_features_t features) in xfrm4_outer_mode_gso_segment()
207 netdev_features_t features) in esp4_gso_segment()
212 netdev_features_t esp_features = features; in esp4_gso_segment()
265 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
H A Dudp_offload.c173 netdev_features_t features, in __skb_udp_tunnel_segment()
175 netdev_features_t features), in __skb_udp_tunnel_segment()
310 netdev_features_t features, in skb_udp_tunnel_segment()
318 netdev_features_t features); in skb_udp_tunnel_segment()
463 netdev_features_t features, in __udp_gso_segment_list()
481 netdev_features_t features, bool is_ipv6) in __udp_gso_segment()
641 netdev_features_t features) in udp4_ufo_fragment()
/linux/drivers/net/ethernet/sfc/
H A Defx_common.h98 int efx_set_features(struct net_device *net_dev, netdev_features_t data);
105 netdev_features_t efx_features_check(struct sk_buff *skb, struct net_device *dev,
106 netdev_features_t features);
/linux/drivers/net/ethernet/sfc/siena/
H A Defx_common.h102 int efx_siena_set_features(struct net_device *net_dev, netdev_features_t data);
109 netdev_features_t efx_siena_features_check(struct sk_buff *skb,
111 netdev_features_t features);
/linux/include/linux/
H A Dnetdev_features.h12 typedef u64 netdev_features_t; typedef
104 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit))
276 static inline netdev_features_t netdev_base_features(netdev_features_t features) in netdev_base_features()
H A Dnetdevice.h1433 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1435 netdev_features_t features);
1561 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1562 netdev_features_t features);
1564 netdev_features_t features);
2125 netdev_features_t gso_partial_features;
2161 netdev_features_t features;
2222 netdev_features_t hw_features;
2223 netdev_features_t wanted_features;
2224 netdev_features_t vlan_features;
[all …]
H A Dif_tap.h44 netdev_features_t tap_features;
47 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-utils.h24 netdev_features_t netdev_flags,
29 netdev_features_t netdev_flags, in iwl_tx_tso_segment()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h543 netdev_features_t
544 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features);
546 netdev_features_t
548 struct net_device *netdev, netdev_features_t features);
551 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features);
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h520 netdev_features_t features;
532 netdev_features_t qede_features_check(struct sk_buff *skb,
534 netdev_features_t features);
551 netdev_features_t qede_fix_features(struct net_device *dev,
552 netdev_features_t features);
553 int qede_set_features(struct net_device *dev, netdev_features_t features);
/linux/net/mpls/
H A Dmpls_gso.c21 netdev_features_t features) in mpls_gso_segment()
25 netdev_features_t mpls_features; in mpls_gso_segment()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_dqo.h36 netdev_features_t gve_features_check_dqo(struct sk_buff *skb,
38 netdev_features_t features);
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_txrx.h123 netdev_features_t bnge_features_check(struct sk_buff *skb,
125 netdev_features_t features);

12345678910