Home
last modified time | relevance | path

Searched full:netdevs (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_main.c41 if (!adapter->netdevs) in idpf_remove()
44 /* There are some cases where it's possible to still have netdevs in idpf_remove()
47 * any stale netdevs here. in idpf_remove()
50 if (!adapter->netdevs[i]) in idpf_remove()
52 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED) in idpf_remove()
53 unregister_netdev(adapter->netdevs[i]); in idpf_remove()
54 free_netdev(adapter->netdevs[i]); in idpf_remove()
55 adapter->netdevs[i] = NULL; in idpf_remove()
74 kfree(adapter->netdevs); in idpf_remove()
75 adapter->netdevs = NULL; in idpf_remove()
H A Didpf_lib.c757 netdev = adapter->netdevs[idx]; in idpf_cfg_netdev()
853 * netdevs in the adapter struct in idpf_cfg_netdev()
855 adapter->netdevs[idx] = netdev; in idpf_cfg_netdev()
977 adapter->netdevs[idx] = NULL; in idpf_decfg_netdev()
1051 if (adapter->netdevs[i]) { in idpf_vport_dealloc()
1052 struct idpf_netdev_priv *np = netdev_priv(adapter->netdevs[i]); in idpf_vport_dealloc()
1620 struct net_device *netdev = adapter->netdevs[index]; in idpf_init_task()
1800 if (!adapter->netdevs[i]) in idpf_set_vport_state()
1803 np = netdev_priv(adapter->netdevs[i]); in idpf_set_vport_state()
1832 netdev = adapter->netdevs[i]; in idpf_init_hard_reset()
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev.h46 * @enabled: atomic counter of netdevs enabling receive queues.
48 * @netdevs: atomic counter of netdevs using dummy netdev.
60 /* count of netdevs on top */
61 atomic_t netdevs; member
H A Dnetdev_rx.c167 dd_dev_info(dd, "No receive contexts available for netdevs.\n"); in hfi1_num_netdev_contexts()
172 dd_dev_err(dd, "Unable to allocate cpu_mask for netdevs.\n"); in hfi1_num_netdev_contexts()
301 * hfi1_netdev_rx_init - Incrememnts netdevs counter. When called first time,
312 if (atomic_fetch_inc(&rx->netdevs)) in hfi1_netdev_rx_init()
322 * hfi1_netdev_rx_destroy - Decrements netdevs counter, when it reaches 0
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()
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dport_scale.sh32 # Loop over the splittable netdevs and create tuples of netdev along
35 # $netdev1-2 are splittable netdevs in the device, and
36 # $count1-2 are the netdevs width respectively.
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.h15 * struct nfp_reprs - container for representor netdevs
17 * @reprs: Array of representor netdevs
43 * struct nfp_repr - priv data for representor netdevs
H A Dnfp_main.h84 * @port_refresh_work: Work entry for taking netdevs out
/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/net/ethernet/fungible/funeth/
H A Dfuneth_main.c1798 ed->netdevs[portid] = netdev; in fun_create_netdev()
1805 ed->netdevs[portid] = NULL; in fun_create_netdev()
1848 ed->netdevs = kcalloc(nports, sizeof(*ed->netdevs), GFP_KERNEL); in fun_create_ports()
1849 if (!ed->netdevs) in fun_create_ports()
1863 fun_destroy_netdev(ed->netdevs[--i]); in fun_create_ports()
1864 kfree(ed->netdevs); in fun_create_ports()
1865 ed->netdevs = NULL; in fun_create_ports()
1875 fun_destroy_netdev(ed->netdevs[i]); in fun_destroy_ports()
1877 kfree(ed->netdevs); in fun_destroy_ports()
1878 ed->netdevs = NULL; in fun_destroy_ports()
[all …]
H A Dfuneth.h48 struct net_device **netdevs; member
/linux/kernel/bpf/
H A Doffload.c39 struct list_head netdevs; member
101 list_add(&ondev->offdev_netdevs, &offdev->netdevs); in __bpf_offload_dev_netdev_register()
164 altdev = list_first_entry_or_null(&offdev->netdevs, in __bpf_offload_dev_netdev_unregister()
796 INIT_LIST_HEAD(&offdev->netdevs); in bpf_offload_dev_create()
804 WARN_ON(!list_empty(&offdev->netdevs)); in bpf_offload_dev_destroy()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c99 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event()
138 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
156 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
249 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
751 if (!hr_dev->iboe.netdevs[i]) in hns_roce_register_device()
754 ret = ib_device_set_netdev(ib_dev, hr_dev->iboe.netdevs[i], in hns_roce_register_device()
/linux/net/ipv4/
H A Dudp_tunnel_core.c130 /* Notify netdevs that UDP port started listening */ in udp_tunnel_notify_add_rx_port()
152 /* Notify netdevs that UDP port is no more listening */ in udp_tunnel_notify_del_rx_port()
/linux/drivers/net/ethernet/sfc/
H A Def100_rep.h12 /* Handling for ef100 representor netdevs */
/linux/drivers/net/mctp/
H A Dmctp-i2c.c87 * mux tree, shared by multiple netdevs
918 /* List size is limited by number of MCTP netdevs on a single hardware bus */ in mctp_i2c_remove_netdev()
1062 /* Remove all child adapter netdevs */ in mctp_i2c_remove()
1071 * added/deleted, creating/removing netdevs as required.
/linux/tools/testing/selftests/net/lib/py/
H A Dnsim.py73 # so wait here until all netdevs appear.
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_vfr.c375 * Note that the VF-Rep netdevs are still active (not unregistered) during
412 * Note that the VF-Rep netdevs are still active (not unregistered) during
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_wwan.c39 * @sub_netlist: List of active netdevs
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c272 * All non-representor netdevs or representors of other vendors as lower dev
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c1167 * us, but is enslaved to a master which has one or more of our netdevs in mlx5_handle_changeupper_event()
1169 * of our netdevs, we should unbond). in mlx5_handle_changeupper_event()
1190 /* None of this lagdev's netdevs are slaves of this master. */ in mlx5_handle_changeupper_event()
/linux/include/net/
H A Dudp_tunnel.h252 * netdevs should allocate an instance of struct udp_tunnel_nic_shared and
/linux/drivers/net/wwan/
H A Dwwan_core.c1133 * created netdevs
1189 * created netdevs

123