Searched refs:priv_flags (Results 1 – 25 of 44) sorted by relevance
12
83 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()
337 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()
15 u32 priv_flags; member79 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()
125 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()
57 !!(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()
115 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()
216 u16 priv_flags; member1247 !(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()
502 return !!(v->priv_flags & BR_VLFLAG_NEIGH_SUPPRESS_ENABLED); in br_is_neigh_suppress_enabled()
108 vport->dev->priv_flags |= IFF_OVS_DATAPATH; in ovs_netdev_link()147 vport->dev->priv_flags &= ~IFF_OVS_DATAPATH; in ovs_netdev_detach_dev()
103 netdev->priv_flags &= ~IFF_TX_SKB_SHARING; in do_setup()104 netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_OPENVSWITCH | in do_setup()
174 dev->priv_flags |= (real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_newlink()
333 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()
257 (int)(vlan->flags & 1), vlandev->priv_flags); in vlandev_seq_show()
1118 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()
281 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()
1282 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()
1155 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()
226 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in bnep_net_setup()
111 if (dev->priv_flags & IFF_DONT_BRIDGE) { in hsr_check_dev_ok()
444 dev->priv_flags |= IFF_NO_QUEUE | IFF_DISABLE_NETPOLL; in hsr_dev_setup()
114 ldev->priv_flags |= IFF_NO_QUEUE; in lowpan_setup()
1846 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()
119 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in l2tp_eth_dev_setup()
272 if ((dev->priv_flags & IFF_UNICAST_FLT) && !ops->promisc_on_master) in dsa_master_set_promiscuity()
183 if (likely(caifd->netdev->priv_flags & IFF_NO_QUEUE)) in transmit()