/net/hsr/ |
D | hsr_device.c | 202 netdev_features_t features) in hsr_features_recompute() argument 207 mask = features; in hsr_features_recompute() 216 features &= ~NETIF_F_ONE_FOR_ALL; in hsr_features_recompute() 218 features = netdev_increment_features(features, in hsr_features_recompute() 219 port->dev->features, in hsr_features_recompute() 222 return features; in hsr_features_recompute() 226 netdev_features_t features) in hsr_fix_features() argument 230 return hsr_features_recompute(hsr, features); in hsr_fix_features() 403 dev->features = dev->hw_features; in hsr_dev_setup() 406 dev->features |= NETIF_F_LLTX; in hsr_dev_setup() [all …]
|
/net/core/ |
D | dev.c | 1496 if (unlikely(dev->features & NETIF_F_LRO)) in dev_disable_lro() 2471 name, dev ? &dev->features : &null_features, in skb_warn_bad_offload() 2549 netdev_features_t features) in skb_mac_gso_segment() argument 2564 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment() 2602 netdev_features_t features, bool tx_path) in __skb_gso_segment() argument 2624 segs = skb_mac_gso_segment(skb, features); in __skb_gso_segment() 2654 if (!(dev->features & NETIF_F_HIGHDMA)) { in illegal_highdma() 2683 netdev_features_t features, in net_mpls_features() argument 2687 features &= skb->dev->mpls_features; in net_mpls_features() 2689 return features; in net_mpls_features() [all …]
|
D | ethtool.c | 122 struct ethtool_get_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_get_features() local 131 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features() 132 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features() 133 features[i].active = (u32)(dev->features >> (32 * i)); in ethtool_get_features() 134 features[i].never_changed = in ethtool_get_features() 148 if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) in ethtool_get_features() 157 struct ethtool_set_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_set_features() local 168 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features() 172 valid |= (netdev_features_t)features[i].valid << (32 * i); in ethtool_set_features() 173 wanted |= (netdev_features_t)features[i].requested << (32 * i); in ethtool_set_features() [all …]
|
/net/ipv4/ |
D | udp_offload.c | 29 netdev_features_t features, in __skb_udp_tunnel_segment() argument 31 netdev_features_t features), in __skb_udp_tunnel_segment() argument 63 (skb->dev->features & in __skb_udp_tunnel_segment() 67 enc_features = skb->dev->hw_enc_features & features; in __skb_udp_tunnel_segment() 141 netdev_features_t features, in skb_udp_tunnel_segment() argument 149 netdev_features_t features); in skb_udp_tunnel_segment() 169 segs = __skb_udp_tunnel_segment(skb, features, gso_inner_segment, in skb_udp_tunnel_segment() 179 netdev_features_t features) in udp4_ufo_fragment() argument 190 segs = skb_udp_tunnel_segment(skb, features, false); in udp4_ufo_fragment() 201 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in udp4_ufo_fragment() [all …]
|
D | tcp_offload.c | 33 netdev_features_t features) in tcp4_gso_segment() argument 51 return tcp_gso_segment(skb, features); in tcp4_gso_segment() 55 netdev_features_t features) in tcp_gso_segment() argument 84 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in tcp_gso_segment() 115 segs = skb_segment(skb, features); in tcp_gso_segment()
|
D | inet_lro.c | 285 if (lro_mgr->features & LRO_F_NAPI) in lro_flush() 316 !(lro_mgr->features & LRO_F_EXTRACT_VLAN_ID)) in __lro_proc_skb() 356 if (lro_mgr->features & LRO_F_NAPI) in lro_receive_skb()
|
D | ip_output.c | 237 netdev_features_t features; in ip_finish_output_gso() local 253 features = netif_skb_features(skb); in ip_finish_output_gso() 255 segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); in ip_finish_output_gso() 931 rt->dst.dev->features & NETIF_F_V4_CSUM && in __ip_append_data() 941 (rt->dst.dev->features & NETIF_F_UFO) && !rt->dst.header_len && in __ip_append_data() 990 !(rt->dst.dev->features&NETIF_F_SG)) in __ip_append_data() 1077 if (!(rt->dst.dev->features&NETIF_F_SG) && in __ip_append_data() 1242 if (!(rt->dst.dev->features&NETIF_F_SG)) in ip_append_page() 1265 (rt->dst.dev->features & NETIF_F_UFO)) { in ip_append_page()
|
D | gre_offload.c | 19 netdev_features_t features) in gre_gso_segment() argument 72 enc_features = skb->dev->hw_enc_features & features; in gre_gso_segment()
|
/net/bridge/ |
D | br_if.c | 416 netdev_features_t features) in br_features_recompute() argument 422 return features; in br_features_recompute() 424 mask = features; in br_features_recompute() 425 features &= ~NETIF_F_ONE_FOR_ALL; in br_features_recompute() 428 features = netdev_increment_features(features, in br_features_recompute() 429 p->dev->features, mask); in br_features_recompute() 431 features = netdev_add_tso_features(features, mask); in br_features_recompute() 433 return features; in br_features_recompute()
|
D | br_device.c | 229 netdev_features_t features) in br_fix_features() argument 233 return br_features_recompute(br, features); in br_fix_features() 386 dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL | in br_dev_setup()
|
/net/8021q/ |
D | vlan_dev.c | 565 dev->features |= dev->hw_features | NETIF_F_LLTX; in vlan_dev_init() 567 if (dev->features & NETIF_F_VLAN_FEATURES) in vlan_dev_init() 587 if (vlan_hw_offload_capable(real_dev->features, in vlan_dev_init() 625 netdev_features_t features) in vlan_dev_fix_features() argument 628 netdev_features_t old_features = features; in vlan_dev_fix_features() 630 features = netdev_intersect_features(features, real_dev->vlan_features); in vlan_dev_fix_features() 631 features |= NETIF_F_RXCSUM; in vlan_dev_fix_features() 632 features = netdev_intersect_features(features, real_dev->features); in vlan_dev_fix_features() 634 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_GSO_SOFTWARE); in vlan_dev_fix_features() 635 features |= NETIF_F_LLTX; in vlan_dev_fix_features() [all …]
|
D | vlan.c | 125 if (real_dev->features & NETIF_F_VLAN_CHALLENGED) { in vlan_check_real_dev() 317 if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) in vlan_transfer_features() 369 (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) { in vlan_device_event() 375 (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) in vlan_device_event()
|
/net/openvswitch/ |
D | vport-internal_dev.c | 168 netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | in do_setup() 172 netdev->vlan_features = netdev->features; in do_setup() 173 netdev->hw_enc_features = netdev->features; in do_setup() 174 netdev->features |= NETIF_F_HW_VLAN_CTAG_TX; in do_setup() 175 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup() 210 vport->dev->features |= NETIF_F_NETNS_LOCAL; in internal_dev_create()
|
/net/ipv6/ |
D | udp_offload.c | 21 netdev_features_t features) in udp6_ufo_fragment() argument 38 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in udp6_ufo_fragment() 66 segs = skb_udp_tunnel_segment(skb, features, true); in udp6_ufo_fragment() 126 segs = skb_segment(skb, features); in udp6_ufo_fragment()
|
D | tcpv6_offload.c | 45 netdev_features_t features) in tcp6_gso_segment() argument 65 return tcp_gso_segment(skb, features); in tcp6_gso_segment()
|
D | ip6_offload.c | 58 netdev_features_t features) in ipv6_gso_segment() argument 93 features &= skb->dev->hw_enc_features; in ipv6_gso_segment() 111 segs = ops->callbacks.gso_segment(skb, features); in ipv6_gso_segment()
|
/net/bluetooth/ |
D | Kconfig | 44 bool "Bluetooth Classic (BR/EDR) features" 57 bool "Bluetooth High Speed (HS) features" 62 bool "Bluetooth Low Energy (LE) features" 97 legacy SMP as well as the Secure Connections features.
|
D | hci_event.c | 515 hdev->features[1][0] |= LMP_HOST_SSP; in hci_cc_write_ssp_mode() 517 hdev->features[1][0] &= ~LMP_HOST_SSP; in hci_cc_write_ssp_mode() 547 hdev->features[1][0] |= LMP_HOST_SC; in hci_cc_write_sc_support() 549 hdev->features[1][0] &= ~LMP_HOST_SC; in hci_cc_write_sc_support() 606 memcpy(hdev->features, rp->features, 8); in hci_cc_read_local_features() 611 if (hdev->features[0][0] & LMP_3SLOT) in hci_cc_read_local_features() 614 if (hdev->features[0][0] & LMP_5SLOT) in hci_cc_read_local_features() 617 if (hdev->features[0][1] & LMP_HV2) { in hci_cc_read_local_features() 622 if (hdev->features[0][1] & LMP_HV3) { in hci_cc_read_local_features() 630 if (hdev->features[0][4] & LMP_EV4) in hci_cc_read_local_features() [all …]
|
D | hci_debugfs.c | 88 hdev->features[p][0], hdev->features[p][1], in features_show() 89 hdev->features[p][2], hdev->features[p][3], in features_show() 90 hdev->features[p][4], hdev->features[p][5], in features_show() 91 hdev->features[p][6], hdev->features[p][7]); in features_show()
|
/net/mpls/ |
D | mpls_gso.c | 23 netdev_features_t features) in mpls_gso_segment() argument 47 mpls_features = skb->dev->mpls_features & features; in mpls_gso_segment()
|
/net/dcb/ |
D | Kconfig | 6 features on DCB capable Ethernet adapters via rtnetlink. Say 'Y' 15 DCB features include:
|
/net/wireless/ |
D | core.c | 166 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 170 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 181 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 185 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 575 if (WARN_ON((wiphy->features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH) && in wiphy_register() 706 rdev->wiphy.features |= NL80211_FEATURE_SCAN_FLUSH; in wiphy_register() 1019 dev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_netdev_notifier_call()
|
/net/sunrpc/ |
D | sunrpc.h | 53 (dst->dev->features & NETIF_F_LOOPBACK)) in sock_is_loopback()
|
/net/netfilter/ |
D | nft_rbtree.c | 233 static bool nft_rbtree_estimate(const struct nft_set_desc *desc, u32 features, in nft_rbtree_estimate() argument 261 .features = NFT_SET_INTERVAL | NFT_SET_MAP,
|
/net/vmw_vsock/ |
D | virtio_transport.c | 583 static unsigned int features[] = { variable 587 .feature_table = features, 588 .feature_table_size = ARRAY_SIZE(features),
|