Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/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()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Desp4_offload.c111 netdev_features_t features) in xfrm4_tunnel_gso_segment()
119 netdev_features_t features) in xfrm4_transport_gso_segment()
135 netdev_features_t features) in xfrm4_beet_gso_segment()
176 netdev_features_t features) in xfrm4_outer_mode_gso_segment()
191 netdev_features_t features) in esp4_gso_segment()
196 netdev_features_t esp_features = features; in esp4_gso_segment()
249 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
H A Dudp_offload.c15 netdev_features_t features, in __skb_udp_tunnel_segment()
17 netdev_features_t features), in __skb_udp_tunnel_segment()
149 netdev_features_t features, in skb_udp_tunnel_segment()
157 netdev_features_t features); in skb_udp_tunnel_segment()
246 netdev_features_t features, in __udp_gso_segment_list()
261 netdev_features_t features, bool is_ipv6) in __udp_gso_segment()
365 netdev_features_t features) in udp4_ufo_fragment()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Desp6_offload.c145 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()
214 netdev_features_t features) in xfrm6_outer_mode_gso_segment()
229 netdev_features_t features) in esp6_gso_segment()
234 netdev_features_t esp_features = features; in esp6_gso_segment()
285 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
H A Dip6_offload.c74 netdev_features_t features) in ipv6_gso_segment()
381 netdev_features_t features) in sit_gso_segment()
390 netdev_features_t features) in ip4ip6_gso_segment()
399 netdev_features_t features) in ip6ip6_gso_segment()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Defx_common.h101 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);
/OK3568_Linux_fs/kernel/drivers/net/vmxnet3/
H A Dvmxnet3_int.h470 netdev_features_t
471 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features);
473 netdev_features_t
475 struct net_device *netdev, netdev_features_t features);
478 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()
274 netdev_features_t vmxnet3_features_check(struct sk_buff *skb, in vmxnet3_features_check()
276 netdev_features_t features) in vmxnet3_features_check()
342 int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) in vmxnet3_set_features()
346 netdev_features_t changed = features ^ netdev->features; in vmxnet3_set_features()
347 netdev_features_t tun_offload_mask = NETIF_F_GSO_UDP_TUNNEL | in vmxnet3_set_features()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetdevice.h1328 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1330 netdev_features_t features);
1446 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1447 netdev_features_t features);
1449 netdev_features_t features);
1945 netdev_features_t features;
1946 netdev_features_t hw_features;
1947 netdev_features_t wanted_features;
1948 netdev_features_t vlan_features;
1949 netdev_features_t hw_enc_features;
[all …]
H A Dif_tap.h43 netdev_features_t tap_features;
46 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
H A Dnetdev_features.h12 typedef u64 netdev_features_t; typedef
99 #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit))
H A Dif_vlan.h313 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()
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/net/mpls/
H A Dmpls_gso.c20 netdev_features_t features) in mpls_gso_segment()
24 netdev_features_t mpls_features; in mpls_gso_segment()
/OK3568_Linux_fs/kernel/net/hsr/
H A Dhsr_device.c180 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c234 static netdev_features_t
235 nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) in nfp_repr_fix_features()
238 netdev_features_t old_features = features; in nfp_repr_fix_features()
239 netdev_features_t lower_features; in nfp_repr_fix_features()
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan.h102 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
104 netdev_features_t ret; in vlan_tnl_features()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c80 netdev_features_t pre_features,
81 netdev_features_t features, bool force_change);
865 netdev_features_t features) in hinic_set_features()
873 static netdev_features_t hinic_fix_features(struct net_device *netdev, in hinic_fix_features()
874 netdev_features_t features) in hinic_fix_features()
1057 netdev_features_t pre_features, in set_features()
1058 netdev_features_t features, bool force_change) in set_features()
1060 netdev_features_t changed = force_change ? ~0 : pre_features ^ features; in set_features()
1062 netdev_features_t failed_features = 0; in set_features()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c1027 static netdev_features_t qlcnic_process_flags(struct qlcnic_adapter *adapter, in qlcnic_process_flags()
1028 netdev_features_t features) in qlcnic_process_flags()
1060 netdev_features_t qlcnic_fix_features(struct net_device *netdev, in qlcnic_fix_features()
1061 netdev_features_t features) in qlcnic_fix_features()
1064 netdev_features_t changed; in qlcnic_fix_features()
1087 int qlcnic_set_features(struct net_device *netdev, netdev_features_t features) in qlcnic_set_features()
1090 netdev_features_t changed = netdev->features ^ features; in qlcnic_set_features()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.h81 void t1_vlan_mode(struct adapter *adapter, netdev_features_t features);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/
H A Dgve_rx.c282 netdev_features_t feat, u32 idx) in gve_rx()
403 netdev_features_t feat) in gve_clean_rx_done()
449 netdev_features_t feat; in gve_rx_poll()
/OK3568_Linux_fs/kernel/include/net/
H A Dudp.h182 netdev_features_t features, bool is_ipv6);
305 netdev_features_t features,
480 netdev_features_t features = NETIF_F_SG; in udp_rcv_segment()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev.c3203 static const netdev_features_t null_features; in skb_warn_bad_offload()
3335 netdev_features_t features) in skb_mac_gso_segment()
3388 netdev_features_t features, bool tx_path) in __skb_gso_segment()
3406 netdev_features_t partial_features = NETIF_F_GSO_ROBUST; in __skb_gso_segment()
3467 static netdev_features_t net_mpls_features(struct sk_buff *skb, in net_mpls_features()
3468 netdev_features_t features, in net_mpls_features()
3477 static netdev_features_t net_mpls_features(struct sk_buff *skb, in net_mpls_features()
3478 netdev_features_t features, in net_mpls_features()
3485 static netdev_features_t harmonize_features(struct sk_buff *skb, in harmonize_features()
3486 netdev_features_t features) in harmonize_features()
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_core.h1128 int qeth_set_features(struct net_device *, netdev_features_t);
1130 netdev_features_t qeth_fix_features(struct net_device *, netdev_features_t);
1131 netdev_features_t qeth_features_check(struct sk_buff *skb,
1133 netdev_features_t features);

123456789