Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/idpf/
H A Didpf_main.c40 if (!adapter->netdevs) in idpf_remove()
49 if (!adapter->netdevs[i]) in idpf_remove()
51 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED) in idpf_remove()
52 unregister_netdev(adapter->netdevs[i]); in idpf_remove()
53 free_netdev(adapter->netdevs[i]); in idpf_remove()
54 adapter->netdevs[i] = NULL; in idpf_remove()
70 kfree(adapter->netdevs); in idpf_remove()
71 adapter->netdevs = NULL; in idpf_remove()
H A Didpf_lib.c721 netdev = adapter->netdevs[idx]; in idpf_cfg_netdev()
812 adapter->netdevs[idx] = netdev; in idpf_cfg_netdev()
926 adapter->netdevs[idx] = NULL; in idpf_decfg_netdev()
998 if (adapter->netdevs[i]) { in idpf_vport_dealloc()
999 struct idpf_netdev_priv *np = netdev_priv(adapter->netdevs[i]); in idpf_vport_dealloc()
1530 struct net_device *netdev = adapter->netdevs[index]; in idpf_init_task()
1710 if (!adapter->netdevs[i]) in idpf_set_vport_state()
1713 np = netdev_priv(adapter->netdevs[i]); in idpf_set_vport_state()
1742 netdev = adapter->netdevs[i]; in idpf_init_hard_reset()
H A Didpf.h559 struct net_device **netdevs; member
H A Didpf_virtchnl.c3000 if (!adapter->netdevs) { in idpf_vc_core_init()
3001 adapter->netdevs = kcalloc(num_max_vports, in idpf_vc_core_init()
3004 if (!adapter->netdevs) { in idpf_vc_core_init()
/linux-6.15/drivers/net/wwan/
H A 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()
865 if (dmux->netdevs[i]) in bam_dmux_remove()
866 unregister_netdevice_queue(dmux->netdevs[i], &list); in bam_dmux_remove()
/linux-6.15/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-6.15/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-6.15/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-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c100 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event()
139 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
157 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
250 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
758 if (!hr_dev->iboe.netdevs[i]) in hns_roce_register_device()
761 ret = ib_device_set_netdev(ib_dev, hr_dev->iboe.netdevs[i], in hns_roce_register_device()
H A Dhns_roce_device.h660 struct net_device *netdevs[HNS_ROCE_MAX_PORTS]; member
H A Dhns_roce_qp.c1357 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
H A Dhns_roce_hw_v2.c6990 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
6994 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/linux-6.15/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
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
H A Drepresentors.rst118 functions or their netdevs. While in simple cases there will be a 1:1
/linux-6.15/drivers/infiniband/hw/mlx4/
H A Dmain.c790 ndev = iboe->netdevs[port - 1]; in eth_link_query_port()
1314 ndev = mdev->iboe.netdevs[mqp->port - 1]; in mlx4_ib_add_mc()
1961 ndev = ge->added ? mdev->iboe.netdevs[ge->port - 1] : NULL; in mlx4_ib_mcg_detach()
2342 iboe->netdevs[dev->dev_port] = event != NETDEV_UNREGISTER ? dev : NULL; in mlx4_ib_scan_netdev()
2367 iboe->netdevs[ndev->dev_port] = event != NETDEV_UNREGISTER ? ndev : NULL; in mlx4_ib_port_event()
3144 struct net_device *curr_netdev = ibdev->iboe.netdevs[i]; in handle_bonded_port_state_event()
H A Dmlx4_ib.h547 struct net_device *netdevs[MLX4_MAX_PORTS]; member
/linux-6.15/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dcounters.rst555 `XDP_REDIRECT`-ed from other netdevs.
560 where the data segments were `XDP_REDIRECT`-ed from other netdevs.
565 `XDP_REDIRECT`-ed from other netdevs.
584 `XDP_REDIRECT`-ed from other netdevs.
/linux-6.15/Documentation/netlink/specs/
H A Dnetdev.yaml139 which got destroyed already (page pools may outlast their netdevs
/linux-6.15/drivers/net/
H A DKconfig635 standby slave netdevs that get registered via the generic failover
/linux-6.15/Documentation/userspace-api/netlink/
H A Dintro.rst620 (objects being netdevs, routes, addresses, qdiscs etc.) Request type