Home
last modified time | relevance | path

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

12345678910

/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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);
/linux-6.15/Documentation/networking/net_cachelines/
H A Dnet_device.rst37 netdev_features_t features read_mostly read_mostly …
38 netdev_features_t hw_features
39 netdev_features_t wanted_features
40 netdev_features_t vlan_features
41 netdev_features_t hw_enc_features …
42 netdev_features_t mpls_features
43 netdev_features_t gso_partial_features read_mostly …
/linux-6.15/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-6.15/net/ipv4/
H A Desp4_offload.c123 netdev_features_t features) in xfrm4_tunnel_gso_segment()
133 netdev_features_t features) in xfrm4_transport_gso_segment()
149 netdev_features_t features) in xfrm4_beet_gso_segment()
190 netdev_features_t features) in xfrm4_outer_mode_gso_segment()
205 netdev_features_t features) in esp4_gso_segment()
210 netdev_features_t esp_features = features; in esp4_gso_segment()
263 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
H A Dudp_offload.c17 netdev_features_t features, in __skb_udp_tunnel_segment()
19 netdev_features_t features), in __skb_udp_tunnel_segment()
154 netdev_features_t features, in skb_udp_tunnel_segment()
162 netdev_features_t features); in skb_udp_tunnel_segment()
307 netdev_features_t features, in __udp_gso_segment_list()
325 netdev_features_t features, bool is_ipv6) in __udp_gso_segment()
477 netdev_features_t features) in udp4_ufo_fragment()
/linux-6.15/net/ipv6/
H A Desp6_offload.c159 netdev_features_t features) in xfrm6_tunnel_gso_segment()
169 netdev_features_t features) in xfrm6_transport_gso_segment()
185 netdev_features_t features) in xfrm6_beet_gso_segment()
230 netdev_features_t features) in xfrm6_outer_mode_gso_segment()
245 netdev_features_t features) in esp6_gso_segment()
250 netdev_features_t esp_features = features; in esp6_gso_segment()
301 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
H A Dip6_offload.c108 netdev_features_t features) in ipv6_gso_segment()
413 netdev_features_t features) in sit_gso_segment()
422 netdev_features_t features) in ip4ip6_gso_segment()
431 netdev_features_t features) in ip6ip6_gso_segment()
/linux-6.15/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-6.15/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-6.15/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-6.15/include/linux/
H A Dnetdev_features.h12 typedef u64 netdev_features_t; typedef
104 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit))
258 static inline netdev_features_t netdev_base_features(netdev_features_t features) in netdev_base_features()
H A Dif_tap.h44 netdev_features_t tap_features;
47 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
H A Dnetdevice.h2130 netdev_features_t features;
2191 netdev_features_t hw_features;
2193 netdev_features_t vlan_features;
2195 netdev_features_t mpls_features;
5229 static inline netdev_features_t netdev_intersect_features(netdev_features_t f1, in netdev_intersect_features()
5230 netdev_features_t f2) in netdev_intersect_features()
5247 netdev_features_t netdev_increment_features(netdev_features_t all,
5248 netdev_features_t one, netdev_features_t mask);
5254 static inline netdev_features_t netdev_add_tso_features(netdev_features_t features, in netdev_add_tso_features()
5255 netdev_features_t mask) in netdev_add_tso_features()
[all …]
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.h148 netdev_features_t
150 netdev_features_t features);
/linux-6.15/net/hsr/
H A Dhsr_device.c192 static netdev_features_t hsr_features_recompute(struct hsr_priv *hsr, in hsr_features_recompute()
193 netdev_features_t features) in hsr_features_recompute()
195 netdev_features_t mask; in hsr_features_recompute()
216 static netdev_features_t hsr_fix_features(struct net_device *dev, in hsr_fix_features()
217 netdev_features_t features) in hsr_fix_features()
/linux-6.15/net/8021q/
H A Dvlan.h106 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-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c235 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()

12345678910