Home
last modified time | relevance | path

Searched refs:priv_flags (Results 1 – 25 of 44) sorted by relevance

12

/net/core/
Dfailover.c83 slave_dev->priv_flags |= (IFF_FAILOVER_SLAVE | IFF_NO_ADDRCONF); in failover_slave_register()
90 slave_dev->priv_flags &= ~(IFF_FAILOVER_SLAVE | IFF_NO_ADDRCONF); in failover_slave_register()
124 slave_dev->priv_flags &= ~(IFF_FAILOVER_SLAVE | IFF_NO_ADDRCONF); in failover_slave_unregister()
256 dev->priv_flags |= IFF_FAILOVER; in failover_register()
287 failover_dev->priv_flags &= ~IFF_FAILOVER; in failover_unregister()
Ddev_ioctl.c337 if (phy_ts && (dev->priv_flags & IFF_SEE_ALL_HWTSTAMP_REQUESTS)) { in dev_set_hwtstamp_phylib()
343 if (!phy_ts || (dev->priv_flags & IFF_SEE_ALL_HWTSTAMP_REQUESTS)) { in dev_set_hwtstamp_phylib()
352 if (phy_ts && (dev->priv_flags & IFF_SEE_ALL_HWTSTAMP_REQUESTS)) in dev_set_hwtstamp_phylib()
/net/ethtool/
Dprivflags.c15 u32 priv_flags; member
79 data->priv_flags = ops->get_priv_flags(dev); in privflags_prepare_data()
95 return ethnl_bitset32_size(&data->priv_flags, &all_flags, in privflags_reply_size()
109 &data->priv_flags, &all_flags, in privflags_fill_reply()
/net/bridge/
Dbr_if.c125 if (!br_promisc_port(p) || !(p->dev->priv_flags & IFF_UNICAST_FLT)) in br_port_clear_promisc()
169 if ((p->dev->priv_flags & IFF_UNICAST_FLT) && in br_manage_promisc()
365 dev->priv_flags &= ~IFF_BRIDGE_PORT; in del_nbp()
593 if (dev->priv_flags & IFF_DONT_BRIDGE) { in br_add_if()
630 dev->priv_flags |= IFF_BRIDGE_PORT; in br_add_if()
641 if (!br_promisc_port(p) && (p->dev->priv_flags & IFF_UNICAST_FLT)) { in br_add_if()
710 dev->priv_flags &= ~IFF_BRIDGE_PORT; in br_add_if()
Dbr_vlan_options.c57 !!(v->priv_flags & BR_VLFLAG_NEIGH_SUPPRESS_ENABLED))) in br_vlan_opts_fill()
246 bool enabled = v->priv_flags & BR_VLFLAG_NEIGH_SUPPRESS_ENABLED; in br_vlan_process_one_opts()
255 v->priv_flags ^= BR_VLFLAG_NEIGH_SUPPRESS_ENABLED; in br_vlan_process_one_opts()
343 ((v_curr->priv_flags ^ r_end->priv_flags) & in br_vlan_global_opts_can_enter_range()
369 !!(v_opts->priv_flags & BR_VLFLAG_GLOBAL_MCAST_ENABLED)) || in br_vlan_global_opts_fill()
Dbr_vlan.c115 v->priv_flags |= BR_VLFLAG_ADDED_BY_SWITCHDEV; in __vlan_vid_add()
153 if (!(v->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV)) in __vlan_vid_del()
223 if (v->priv_flags & BR_VLFLAG_PER_PORT_STATS) in nbp_vlan_rcu_free()
316 v->priv_flags |= BR_VLFLAG_PER_PORT_STATS; in __vlan_add()
329 v->priv_flags |= BR_VLFLAG_GLOBAL_MCAST_ENABLED; in __vlan_add()
962 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto()
979 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto()
992 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto()
1000 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto()
1490 else if (v->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in br_vlan_fill_forward_path_mode()
Dbr_private.h216 u16 priv_flags; member
1247 !(brmctx->vlan->priv_flags & BR_VLFLAG_GLOBAL_MCAST_ENABLED)); in br_multicast_ctx_vlan_global_disabled()
1254 !(brmctx->vlan->priv_flags & BR_VLFLAG_MCAST_ENABLED); in br_multicast_ctx_vlan_disabled()
1261 !(pmctx->vlan->priv_flags & BR_VLFLAG_MCAST_ENABLED); in br_multicast_port_ctx_vlan_disabled()
Dbr_arp_nd_proxy.c502 return !!(v->priv_flags & BR_VLFLAG_NEIGH_SUPPRESS_ENABLED); in br_is_neigh_suppress_enabled()
/net/openvswitch/
Dvport-netdev.c108 vport->dev->priv_flags |= IFF_OVS_DATAPATH; in ovs_netdev_link()
147 vport->dev->priv_flags &= ~IFF_OVS_DATAPATH; in ovs_netdev_detach_dev()
Dvport-internal_dev.c103 netdev->priv_flags &= ~IFF_TX_SKB_SHARING; in do_setup()
104 netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_OPENVSWITCH | in do_setup()
/net/8021q/
Dvlan_netlink.c174 dev->priv_flags |= (real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_newlink()
Dvlan.c333 vlandev->priv_flags &= ~IFF_XMIT_DST_RELEASE; in vlan_transfer_features()
334 vlandev->priv_flags |= (vlan->real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_transfer_features()
Dvlanproc.c257 (int)(vlan->flags & 1), vlandev->priv_flags); in vlandev_seq_show()
Dvlan_dev.c1118 dev->priv_flags |= IFF_802_1Q_VLAN | IFF_NO_QUEUE; in vlan_setup()
1119 dev->priv_flags |= IFF_UNICAST_FLT; in vlan_setup()
1120 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in vlan_setup()
/net/ethernet/
Deth.c281 if (!(dev->priv_flags & IFF_LIVE_ADDR_CHANGE) && netif_running(dev)) in eth_prepare_mac_addr_change()
359 dev->priv_flags |= IFF_TX_SKB_SHARING; in ether_setup()
/net/ipv4/
Dip_gre.c1282 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in gre_tap_init()
1315 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in erspan_tunnel_init()
1338 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in ipgre_tap_setup()
1339 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in ipgre_tap_setup()
1580 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in erspan_setup()
1581 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in erspan_setup()
/net/sched/
Dsch_generic.c1155 if (dev->priv_flags & IFF_NO_QUEUE) in attach_one_default_qdisc()
1177 dev->priv_flags & IFF_NO_QUEUE) { in attach_default_qdiscs()
1196 dev->priv_flags |= IFF_NO_QUEUE; in attach_default_qdiscs()
1201 dev->priv_flags ^= IFF_NO_QUEUE; in attach_default_qdiscs()
/net/bluetooth/bnep/
Dnetdev.c226 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in bnep_net_setup()
/net/hsr/
Dhsr_slave.c111 if (dev->priv_flags & IFF_DONT_BRIDGE) { in hsr_check_dev_ok()
Dhsr_device.c444 dev->priv_flags |= IFF_NO_QUEUE | IFF_DISABLE_NETPOLL; in hsr_dev_setup()
/net/ieee802154/6lowpan/
Dcore.c114 ldev->priv_flags |= IFF_NO_QUEUE; in lowpan_setup()
/net/ipv6/
Dip6_gre.c1846 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in ip6gre_tap_init()
1906 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in ip6erspan_tap_init()
1942 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in ip6gre_tap_setup()
1943 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in ip6gre_tap_setup()
2242 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in ip6erspan_tap_setup()
2243 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in ip6erspan_tap_setup()
/net/l2tp/
Dl2tp_eth.c119 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in l2tp_eth_dev_setup()
/net/dsa/
Dmaster.c272 if ((dev->priv_flags & IFF_UNICAST_FLT) && !ops->promisc_on_master) in dsa_master_set_promiscuity()
/net/caif/
Dcaif_dev.c183 if (likely(caifd->netdev->priv_flags & IFF_NO_QUEUE)) in transmit()

12