Home
last modified time | relevance | path

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

123

/linux-6.8/drivers/net/ethernet/intel/idpf/
Didpf_main.c37 if (!adapter->netdevs) in idpf_remove()
40 /* There are some cases where it's possible to still have netdevs in idpf_remove()
43 * any stale netdevs here. in idpf_remove()
46 if (!adapter->netdevs[i]) in idpf_remove()
48 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED) in idpf_remove()
49 unregister_netdev(adapter->netdevs[i]); in idpf_remove()
50 free_netdev(adapter->netdevs[i]); in idpf_remove()
51 adapter->netdevs[i] = NULL; in idpf_remove()
67 kfree(adapter->netdevs); in idpf_remove()
68 adapter->netdevs = NULL; in idpf_remove()
Didpf_lib.c744 netdev = adapter->netdevs[idx]; in idpf_cfg_netdev()
854 * netdevs in the adapter struct in idpf_cfg_netdev()
856 adapter->netdevs[idx] = netdev; in idpf_cfg_netdev()
963 adapter->netdevs[vport->idx] = NULL; in idpf_decfg_netdev()
1050 if (adapter->netdevs[i]) { in idpf_vport_dealloc()
1051 struct idpf_netdev_priv *np = netdev_priv(adapter->netdevs[i]); in idpf_vport_dealloc()
1583 if (adapter->netdevs[index] && in idpf_init_task()
1586 register_netdev(adapter->netdevs[index]); in idpf_init_task()
1754 if (!adapter->netdevs[i]) in idpf_set_vport_state()
1757 np = netdev_priv(adapter->netdevs[i]); in idpf_set_vport_state()
[all …]
Didpf.h585 * @netdevs: Associated Vport netdevs
641 struct net_device **netdevs; member
/linux-6.8/drivers/infiniband/hw/hfi1/
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
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()
367 atomic_set(&rx->netdevs, 0); in hfi1_alloc_rx()
/linux-6.8/tools/testing/selftests/drivers/net/mlxsw/
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-6.8/drivers/net/ethernet/netronome/nfp/
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
Dnfp_main.h84 * @port_refresh_work: Work entry for taking netdevs out
/linux-6.8/drivers/net/wwan/
Dqcom_bam_dmux.c88 struct net_device *netdevs[BAM_DMUX_NUM_CH]; member
139 struct net_device *netdev = dmux->netdevs[i]; in bam_dmux_tx_wake_queues()
153 struct net_device *netdev = dmux->netdevs[i]; in bam_dmux_tx_stop_queues()
441 if (dmux->netdevs[ch]) in bam_dmux_register_netdev_work()
464 dmux->netdevs[ch] = netdev; in bam_dmux_register_netdev_work()
507 struct net_device *netdev = dmux->netdevs[hdr->ch]; in bam_dmux_cmd_data()
544 struct net_device *netdev = dmux->netdevs[hdr->ch]; in bam_dmux_cmd_open()
563 struct net_device *netdev = dmux->netdevs[hdr->ch]; in bam_dmux_cmd_close()
860 if (dmux->netdevs[i]) in bam_dmux_remove()
861 unregister_netdevice_queue(dmux->netdevs[i], &list); in bam_dmux_remove()
/linux-6.8/Documentation/networking/
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.
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
Daf_xdp.rst18 redirect ingress frames to other XDP enabled netdevs, using the
263 netdevs/devices. In this mode, each socket has their own RX and TX
321 bound to different queue ids and/or netdevs. In this case you have to
833 belonging to different queue ids or netdevs bound with the
/linux-6.8/kernel/bpf/
Doffload.c38 struct list_head netdevs; member
100 list_add(&ondev->offdev_netdevs, &offdev->netdevs); in __bpf_offload_dev_netdev_register()
163 altdev = list_first_entry_or_null(&offdev->netdevs, in __bpf_offload_dev_netdev_unregister()
791 INIT_LIST_HEAD(&offdev->netdevs); in bpf_offload_dev_create()
799 WARN_ON(!list_empty(&offdev->netdevs)); in bpf_offload_dev_destroy()
/linux-6.8/drivers/net/ethernet/fungible/funeth/
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 …]
Dfuneth.h48 struct net_device **netdevs; member
/linux-6.8/drivers/infiniband/hw/hns/
Dhns_roce_main.c98 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event()
137 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
155 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
242 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
735 if (!hr_dev->iboe.netdevs[i]) in hns_roce_register_device()
738 ret = ib_device_set_netdev(ib_dev, hr_dev->iboe.netdevs[i], in hns_roce_register_device()
/linux-6.8/net/ipv4/
Dudp_tunnel_core.c113 /* Notify netdevs that UDP port started listening */
133 /* Notify netdevs that UDP port is no more listening */
/linux-6.8/drivers/net/ethernet/sfc/
Def100_rep.h12 /* Handling for ef100 representor netdevs */
/linux-6.8/drivers/net/mctp/
Dmctp-i2c.c87 * mux tree, shared by multiple netdevs
869 /* List size is limited by number of MCTP netdevs on a single hardware bus */ in mctp_i2c_remove_netdev()
1013 /* Remove all child adapter netdevs */ in mctp_i2c_remove()
1022 * added/deleted, creating/removing netdevs as required.
/linux-6.8/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c377 * Note that the VF-Rep netdevs are still active (not unregistered) during
414 * Note that the VF-Rep netdevs are still active (not unregistered) during
/linux-6.8/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dcounters.rst528 `XDP_REDIRECT`-ed from other netdevs.
533 where the data segments were `XDP_REDIRECT`-ed from other netdevs.
538 `XDP_REDIRECT`-ed from other netdevs.
557 `XDP_REDIRECT`-ed from other netdevs.
/linux-6.8/drivers/net/ethernet/ti/icssg/
Dicssg_prueth.h203 * @registered_netdevs: list of registered netdevs
/linux-6.8/drivers/net/wwan/iosm/
Diosm_ipc_wwan.c39 * @sub_netlist: List of active netdevs
/linux-6.8/Documentation/netlink/specs/
Dnetdev.yaml128 which got destroyed already (page pools may outlast their netdevs
/linux-6.8/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c272 * All non-representor netdevs or representors of other vendors as lower dev

123