Home
last modified time | relevance | path

Searched refs:netdevs (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_main.c119 if (!adapter->netdevs) in idpf_remove()
128 if (!adapter->netdevs[i]) in idpf_remove()
130 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED) in idpf_remove()
131 unregister_netdev(adapter->netdevs[i]); in idpf_remove()
132 free_netdev(adapter->netdevs[i]); in idpf_remove()
133 adapter->netdevs[i] = NULL; in idpf_remove()
152 kfree(adapter->netdevs); in idpf_remove()
153 adapter->netdevs = NULL; in idpf_remove()
H A Didpf_lib.c764 struct net_device *netdev = adapter->netdevs[i]; in idpf_detach_and_close()
806 netdev = adapter->netdevs[i]; in idpf_attach_and_open()
843 netdev = adapter->netdevs[idx]; in idpf_cfg_netdev()
941 adapter->netdevs[idx] = netdev; in idpf_cfg_netdev()
1066 adapter->netdevs[idx] = NULL; in idpf_decfg_netdev()
1143 if (adapter->netdevs[i]) { in idpf_vport_dealloc()
1144 struct idpf_netdev_priv *np = netdev_priv(adapter->netdevs[i]); in idpf_vport_dealloc()
1713 struct net_device *netdev = adapter->netdevs[index]; in idpf_init_task()
H A Didpf.h699 struct net_device **netdevs; member
H A Didpf_virtchnl.c3561 if (!adapter->netdevs) { in idpf_vc_core_init()
3562 adapter->netdevs = kzalloc_objs(struct net_device *, in idpf_vc_core_init()
3564 if (!adapter->netdevs) { in idpf_vc_core_init()
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c312 if (atomic_fetch_inc(&rx->netdevs)) in hfi1_netdev_rx_init()
332 if (atomic_fetch_add_unless(&rx->netdevs, -1, 0) == 1) { in hfi1_netdev_rx_destroy()
371 atomic_set(&rx->netdevs, 0); in hfi1_alloc_rx()
H A Dnetdev.h61 atomic_t netdevs; member
/linux/kernel/bpf/
H A Doffload.c29 struct list_head netdevs; member
91 list_add(&ondev->offdev_netdevs, &offdev->netdevs); in __bpf_offload_dev_netdev_register()
154 altdev = list_first_entry_or_null(&offdev->netdevs, in __bpf_offload_dev_netdev_unregister()
786 INIT_LIST_HEAD(&offdev->netdevs); in bpf_offload_dev_create()
794 WARN_ON(!list_empty(&offdev->netdevs)); in bpf_offload_dev_destroy()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c1786 ed->netdevs[portid] = netdev; in fun_create_netdev()
1793 ed->netdevs[portid] = NULL; in fun_create_netdev()
1836 ed->netdevs = kzalloc_objs(*ed->netdevs, nports); in fun_create_ports()
1837 if (!ed->netdevs) in fun_create_ports()
1851 fun_destroy_netdev(ed->netdevs[--i]); in fun_create_ports()
1852 kfree(ed->netdevs); in fun_create_ports()
1853 ed->netdevs = NULL; in fun_create_ports()
1863 fun_destroy_netdev(ed->netdevs[i]); in fun_destroy_ports()
1865 kfree(ed->netdevs); in fun_destroy_ports()
1866 ed->netdevs = NULL; in fun_destroy_ports()
[all …]
/linux/Documentation/networking/
H A Dswitchdev.rst96 port netdevs. All of the switchdev driver ops are netdev ops or switchdev ops.
127 into 4 10G ports, resulting in 4 port netdevs, the device can give a unique
152 The port netdevs representing the physical switch ports can be organized into
329 certain netdevs from flooding unicast traffic for which there is no FDB entry.
334 In order to support IGMP snooping, the port netdevs should trap to the bridge
336 The bridge multicast module will notify port netdevs on every multicast group
375 of the port netdevs mentioned in the route's next hop list.
H A Dnet_failover.rst12 standby slave netdevs that get registered via the generic failover
18 netdev. Both 'standby' and 'failover' netdevs are associated with the same
H A Daf_xdp.rst18 redirect ingress frames to other XDP enabled netdevs, using the
260 netdevs/devices. In this mode, each socket has their own RX and TX
318 bound to different queue ids and/or netdevs. In this case you have to
839 belonging to different queue ids or netdevs bound with the
H A Drepresentors.rst118 functions or their netdevs. While in simple cases there will be a 1:1
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c789 ndev = iboe->netdevs[port - 1]; in eth_link_query_port()
1313 ndev = mdev->iboe.netdevs[mqp->port - 1]; in mlx4_ib_add_mc()
1960 ndev = ge->added ? mdev->iboe.netdevs[ge->port - 1] : NULL; in mlx4_ib_mcg_detach()
2340 iboe->netdevs[dev->dev_port] = event != NETDEV_UNREGISTER ? dev : NULL; in mlx4_ib_scan_netdev()
2365 iboe->netdevs[ndev->dev_port] = event != NETDEV_UNREGISTER ? ndev : NULL; in mlx4_ib_port_event()
3140 struct net_device *curr_netdev = ibdev->iboe.netdevs[i]; in handle_bonded_port_state_event()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c190 if ((!upper && dev == iboe->netdevs[port]) || in hns_roce_netdev_event()
H A Dhns_roce_hw_v2.c7285 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
7289 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/linux/drivers/net/
H A DKconfig637 standby slave netdevs that get registered via the generic failover
/linux/Documentation/userspace-api/netlink/
H A Dintro.rst620 (objects being netdevs, routes, addresses, qdiscs etc.) Request type