Home
last modified time | relevance | path

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

123456789

/openbmc/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()
/openbmc/linux/net/ethtool/
H A Dfeatures.c28 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()
143 static netdev_features_t ethnl_bitmap_to_features(unsigned long *src) in ethnl_bitmap_to_features()
145 const unsigned int nft_bits = sizeof(netdev_features_t) * BITS_PER_BYTE; in ethnl_bitmap_to_features()
147 netdev_features_t ret = 0; in ethnl_bitmap_to_features()
151 ret |= (netdev_features_t)(src[i]) << (i * BITS_PER_LONG); in ethnl_bitmap_to_features()
152 ret &= ~(netdev_features_t)0 >> (nft_bits - NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
/openbmc/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);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.h90 static inline netdev_features_t
91 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) in mlx5e_ipsec_feature_check()
152 static inline netdev_features_t
153 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) in mlx5e_ipsec_feature_check()
/openbmc/linux/net/ipv4/
H A Desp4_offload.c112 netdev_features_t features) in xfrm4_tunnel_gso_segment()
122 netdev_features_t features) in xfrm4_transport_gso_segment()
138 netdev_features_t features) in xfrm4_beet_gso_segment()
179 netdev_features_t features) in xfrm4_outer_mode_gso_segment()
194 netdev_features_t features) in esp4_gso_segment()
199 netdev_features_t esp_features = features; in esp4_gso_segment()
252 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()
251 netdev_features_t features, in __udp_gso_segment_list()
266 netdev_features_t features, bool is_ipv6) in __udp_gso_segment()
404 netdev_features_t features) in udp4_ufo_fragment()
/openbmc/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()
/openbmc/linux/net/ipv6/
H A Desp6_offload.c146 netdev_features_t features) in xfrm6_tunnel_gso_segment()
156 netdev_features_t features) in xfrm6_transport_gso_segment()
172 netdev_features_t features) in xfrm6_beet_gso_segment()
217 netdev_features_t features) in xfrm6_outer_mode_gso_segment()
232 netdev_features_t features) in esp6_gso_segment()
237 netdev_features_t esp_features = features; in esp6_gso_segment()
288 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
H A Dip6_offload.c110 netdev_features_t features) in ipv6_gso_segment()
436 netdev_features_t features) in sit_gso_segment()
445 netdev_features_t features) in ip4ip6_gso_segment()
454 netdev_features_t features) in ip6ip6_gso_segment()
/openbmc/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);
/openbmc/linux/drivers/net/ethernet/sfc/
H A Defx_common.h99 int efx_set_features(struct net_device *net_dev, netdev_features_t data);
106 netdev_features_t efx_features_check(struct sk_buff *skb, struct net_device *dev,
107 netdev_features_t features);
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h516 netdev_features_t
517 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features);
519 netdev_features_t
521 struct net_device *netdev, netdev_features_t features);
524 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features);
H A Dvmxnet3_ethtool.c264 netdev_features_t vmxnet3_fix_features(struct net_device *netdev, in vmxnet3_fix_features()
265 netdev_features_t features) in vmxnet3_fix_features()
282 netdev_features_t vmxnet3_features_check(struct sk_buff *skb, in vmxnet3_features_check()
284 netdev_features_t features) in vmxnet3_features_check()
324 static void vmxnet3_enable_encap_offloads(struct net_device *netdev, netdev_features_t features) in vmxnet3_enable_encap_offloads()
414 int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) in vmxnet3_set_features()
418 netdev_features_t changed = features ^ netdev->features; in vmxnet3_set_features()
419 netdev_features_t tun_offload_mask = NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_set_features()
/openbmc/linux/include/linux/
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.h1417 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1419 netdev_features_t features);
1546 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1547 netdev_features_t features);
1549 netdev_features_t features);
2118 netdev_features_t features;
2119 netdev_features_t hw_features;
2120 netdev_features_t wanted_features;
2121 netdev_features_t vlan_features;
2122 netdev_features_t hw_enc_features;
[all …]
H A Dnetdev_features.h12 typedef u64 netdev_features_t; typedef
105 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit))
H A Dif_vlan.h326 static inline bool vlan_hw_offload_capable(netdev_features_t features, in vlan_hw_offload_capable()
789 static inline netdev_features_t vlan_features_check(struct sk_buff *skb, in vlan_features_check()
790 netdev_features_t features) in vlan_features_check()
/openbmc/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()
/openbmc/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);
/openbmc/linux/net/hsr/
H A Dhsr_device.c177 static netdev_features_t hsr_features_recompute(struct hsr_priv *hsr, in hsr_features_recompute()
178 netdev_features_t features) in hsr_features_recompute()
180 netdev_features_t mask; in hsr_features_recompute()
201 static netdev_features_t hsr_fix_features(struct net_device *dev, in hsr_fix_features()
202 netdev_features_t features) in hsr_fix_features()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c80 netdev_features_t pre_features,
81 netdev_features_t features, bool force_change);
860 netdev_features_t features) in hinic_set_features()
868 static netdev_features_t hinic_fix_features(struct net_device *netdev, in hinic_fix_features()
869 netdev_features_t features) in hinic_fix_features()
1050 netdev_features_t pre_features, in set_features()
1051 netdev_features_t features, bool force_change) in set_features()
1053 netdev_features_t changed = force_change ? ~0 : pre_features ^ features; in set_features()
1055 netdev_features_t failed_features = 0; in set_features()
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.h31 int wx_set_features(struct net_device *netdev, netdev_features_t features);
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_main.c156 netdev_features_t features) in aq_ndev_set_features()
220 static netdev_features_t aq_ndev_fix_features(struct net_device *ndev, in aq_ndev_fix_features()
221 netdev_features_t features) in aq_ndev_fix_features()

123456789