Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 68) sorted by relevance

123

/net/bluetooth/
Dhci_sysfs.c51 conn->features[0][0], conn->features[0][1], in show_link_features()
52 conn->features[0][2], conn->features[0][3], in show_link_features()
53 conn->features[0][4], conn->features[0][5], in show_link_features()
54 conn->features[0][6], conn->features[0][7]); in show_link_features()
62 static LINK_ATTR(features, S_IRUGO, show_link_features, NULL);
236 hdev->features[0][0], hdev->features[0][1], in show_features()
237 hdev->features[0][2], hdev->features[0][3], in show_features()
238 hdev->features[0][4], hdev->features[0][5], in show_features()
239 hdev->features[0][6], hdev->features[0][7]); in show_features()
349 static DEVICE_ATTR(features, S_IRUGO, show_features, NULL);
Dhci_event.c436 hdev->features[1][0] |= LMP_HOST_SSP; in hci_cc_write_ssp_mode()
438 hdev->features[1][0] &= ~LMP_HOST_SSP; in hci_cc_write_ssp_mode()
491 memcpy(hdev->features, rp->features, 8); in hci_cc_read_local_features()
496 if (hdev->features[0][0] & LMP_3SLOT) in hci_cc_read_local_features()
499 if (hdev->features[0][0] & LMP_5SLOT) in hci_cc_read_local_features()
502 if (hdev->features[0][1] & LMP_HV2) { in hci_cc_read_local_features()
507 if (hdev->features[0][1] & LMP_HV3) { in hci_cc_read_local_features()
515 if (hdev->features[0][4] & LMP_EV4) in hci_cc_read_local_features()
518 if (hdev->features[0][4] & LMP_EV5) in hci_cc_read_local_features()
521 if (hdev->features[0][5] & LMP_EDR_ESCO_2M) in hci_cc_read_local_features()
[all …]
/net/core/
Dethtool.c104 struct ethtool_get_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_get_features() local
113 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features()
114 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
115 features[i].active = (u32)(dev->features >> (32 * i)); in ethtool_get_features()
116 features[i].never_changed = in ethtool_get_features()
130 if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) in ethtool_get_features()
139 struct ethtool_set_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_set_features() local
150 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features()
154 valid |= (netdev_features_t)features[i].valid << (32 * i); in ethtool_set_features()
155 wanted |= (netdev_features_t)features[i].requested << (32 * i); in ethtool_set_features()
[all …]
Ddev.c1430 if (unlikely(dev->features & NETIF_F_LRO)) in dev_disable_lro()
2191 driver, dev ? &dev->features : &null_features, in skb_warn_bad_offload()
2281 netdev_features_t features) in skb_mac_gso_segment() argument
2300 if (err || skb_gso_ok(skb, features)) in skb_mac_gso_segment()
2305 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment()
2340 netdev_features_t features, bool tx_path) in __skb_gso_segment() argument
2356 return skb_mac_gso_segment(skb, features); in __skb_gso_segment()
2381 if (!(dev->features & NETIF_F_HIGHDMA)) { in illegal_highdma()
2436 static int dev_gso_segment(struct sk_buff *skb, netdev_features_t features) in dev_gso_segment() argument
2440 segs = skb_gso_segment(skb, features); in dev_gso_segment()
[all …]
/net/bridge/
Dbr_if.c303 netdev_features_t features) in br_features_recompute() argument
309 return features; in br_features_recompute()
311 mask = features; in br_features_recompute()
312 features &= ~NETIF_F_ONE_FOR_ALL; in br_features_recompute()
315 features = netdev_increment_features(features, in br_features_recompute()
316 p->dev->features, mask); in br_features_recompute()
319 return features; in br_features_recompute()
Dbr_vlan.c59 if (p && (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) { in __vlan_add()
88 if (p && (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) in __vlan_add()
105 if (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER) in __vlan_del()
Dbr_device.c198 netdev_features_t features) in br_fix_features() argument
202 return br_features_recompute(br, features); in br_fix_features()
350 dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | in br_dev_setup()
/net/openvswitch/
Dvport-internal_dev.c136 netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | in do_setup()
139 netdev->vlan_features = netdev->features; in do_setup()
140 netdev->features |= NETIF_F_HW_VLAN_CTAG_TX; in do_setup()
141 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup()
174 netdev_vport->dev->features |= NETIF_F_NETNS_LOCAL; in internal_dev_create()
DKconfig9 environments. In addition to supporting a variety of features
/net/8021q/
Dvlan_dev.c571 dev->features |= real_dev->vlan_features | NETIF_F_LLTX; in vlan_dev_init()
587 if (real_dev->features & NETIF_F_HW_VLAN_CTAG_TX) { in vlan_dev_init()
628 netdev_features_t features) in vlan_dev_fix_features() argument
631 netdev_features_t old_features = features; in vlan_dev_fix_features()
633 features &= real_dev->vlan_features; in vlan_dev_fix_features()
634 features |= NETIF_F_RXCSUM; in vlan_dev_fix_features()
635 features &= real_dev->features; in vlan_dev_fix_features()
637 features |= old_features & NETIF_F_SOFT_FEATURES; in vlan_dev_fix_features()
638 features |= NETIF_F_LLTX; in vlan_dev_fix_features()
640 return features; in vlan_dev_fix_features()
Dvlan.c130 if (real_dev->features & NETIF_F_VLAN_CHALLENGED) { in vlan_check_real_dev()
310 if (dev->features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_transfer_features()
357 (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER)) { in vlan_device_event()
406 if (dev->features & NETIF_F_HW_VLAN_CTAG_FILTER) in vlan_device_event()
Dvlan_core.c202 dev->features & NETIF_F_HW_VLAN_CTAG_FILTER) in vlan_hw_filter_capable()
205 dev->features & NETIF_F_HW_VLAN_STAG_FILTER) in vlan_hw_filter_capable()
/net/ipv6/
Dudp_offload.c43 netdev_features_t features) in udp6_ufo_fragment() argument
60 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in udp6_ufo_fragment()
116 segs = skb_segment(skb, features); in udp6_ufo_fragment()
Dip6_offload.c84 netdev_features_t features) in ipv6_gso_segment() argument
117 segs = ops->callbacks.gso_segment(skb, features); in ipv6_gso_segment()
/net/dcb/
DKconfig6 features on DCB capable Ethernet adapters via rtnetlink. Say 'Y'
15 DCB features include:
/net/ipv4/
Dinet_lro.c308 if (lro_mgr->features & LRO_F_NAPI) in lro_flush()
339 !(lro_mgr->features & LRO_F_EXTRACT_VLAN_ID)) in __lro_proc_skb()
459 !(lro_mgr->features & LRO_F_EXTRACT_VLAN_ID)) in __lro_proc_segment()
501 if (lro_mgr->features & LRO_F_NAPI) in lro_receive_skb()
519 if (lro_mgr->features & LRO_F_NAPI) in lro_receive_frags()
Dipip.c283 dev->features |= NETIF_F_NETNS_LOCAL; in ipip_tunnel_setup()
284 dev->features |= NETIF_F_LLTX; in ipip_tunnel_setup()
287 dev->features |= IPIP_FEATURES; in ipip_tunnel_setup()
Dip_output.c842 rt->dst.dev->features & NETIF_F_V4_CSUM && in __ip_append_data()
849 (rt->dst.dev->features & NETIF_F_UFO) && !rt->dst.header_len) { in __ip_append_data()
897 !(rt->dst.dev->features&NETIF_F_SG)) in __ip_append_data()
983 if (!(rt->dst.dev->features&NETIF_F_SG)) { in __ip_append_data()
1141 if (!(rt->dst.dev->features&NETIF_F_SG)) in ip_append_page()
1161 (rt->dst.dev->features & NETIF_F_UFO)) { in ip_append_page()
Dip_gre.c667 dev->features |= NETIF_F_NETNS_LOCAL | GRE_FEATURES; in __gre_tunnel_init()
672 dev->features |= NETIF_F_GSO_SOFTWARE; in __gre_tunnel_init()
677 dev->features |= NETIF_F_LLTX; in __gre_tunnel_init()
Dgre.c117 netdev_features_t features) in gre_gso_segment() argument
/net/wireless/
Dcore.c175 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
179 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
190 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
194 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
462 rdev->wiphy.features = NL80211_FEATURE_SCAN_FLUSH; in wiphy_new()
986 dev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_netdev_notifier_call()
DKconfig84 compliant with the features available under this option.
94 features. Alternatively you can enable this option if
/net/9p/
Dtrans_virtio.c668 static unsigned int features[] = { variable
674 .feature_table = features,
675 .feature_table_size = ARRAY_SIZE(features),
/net/mac80211/
DKconfig124 bool "Select mac80211 debugging features"
180 This option enables 802.11n High Throughput features
/net/phonet/
Dpep-gprs.c239 dev->features = NETIF_F_FRAGLIST; in gprs_setup()

123