Home
last modified time | relevance | path

Searched refs:netdev_ops (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dipoib_main.c28 ret = priv->netdev_ops->ndo_init(dev); in hfi1_ipoib_dev_init()
36 priv->netdev_ops->ndo_uninit(dev); in hfi1_ipoib_dev_init()
56 priv->netdev_ops->ndo_uninit(dev); in hfi1_ipoib_dev_uninit()
64 ret = priv->netdev_ops->ndo_open(dev); in hfi1_ipoib_dev_open()
75 priv->netdev_ops->ndo_stop(dev); in hfi1_ipoib_dev_open()
102 return priv->netdev_ops->ndo_stop(dev); in hfi1_ipoib_dev_stop()
216 priv->netdev_ops = netdev->netdev_ops; in hfi1_ipoib_setup_rn()
233 netdev->netdev_ops = &hfi1_ipoib_netdev_ops; in hfi1_ipoib_setup_rn()
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_pm.c30 if (dev->netdev_ops->ndo_stop) in rtl92e_suspend()
31 dev->netdev_ops->ndo_stop(dev); in rtl92e_suspend()
82 if (dev->netdev_ops->ndo_open) in rtl92e_resume()
83 dev->netdev_ops->ndo_open(dev); in rtl92e_resume()
/linux-6.1.9/drivers/staging/octeon/
Dethernet.c134 cvm_oct_device[priv->port]->netdev_ops->ndo_get_stats in cvm_oct_periodic_worker()
438 memset(dev->netdev_ops->ndo_get_stats(dev), 0, in cvm_oct_common_init()
441 if (dev->netdev_ops->ndo_stop) in cvm_oct_common_init()
442 dev->netdev_ops->ndo_stop(dev); in cvm_oct_common_init()
775 dev->netdev_ops = &cvm_oct_pow_netdev_ops; in cvm_oct_probe()
850 dev->netdev_ops = &cvm_oct_npi_netdev_ops; in cvm_oct_probe()
855 dev->netdev_ops = &cvm_oct_xaui_netdev_ops; in cvm_oct_probe()
860 dev->netdev_ops = &cvm_oct_npi_netdev_ops; in cvm_oct_probe()
866 dev->netdev_ops = &cvm_oct_sgmii_netdev_ops; in cvm_oct_probe()
871 dev->netdev_ops = &cvm_oct_spi_netdev_ops; in cvm_oct_probe()
[all …]
/linux-6.1.9/net/core/
Ddev_ioctl.c115 if (!dev->netdev_ops->ndo_set_config) in dev_setifmap()
128 return dev->netdev_ops->ndo_set_config(dev, &ifmap); in dev_setifmap()
131 return dev->netdev_ops->ndo_set_config(dev, &ifr->ifr_map); in dev_setifmap()
248 const struct net_device_ops *ops = dev->netdev_ops; in dev_eth_ioctl()
268 const struct net_device_ops *ops = dev->netdev_ops; in dev_siocbond()
283 const struct net_device_ops *ops = dev->netdev_ops; in dev_siocdevprivate()
297 const struct net_device_ops *ops = dev->netdev_ops; in dev_siocwandev()
323 ops = dev->netdev_ops; in dev_ifsioc()
Drtnetlink.c998 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_size()
1114 err = dev->netdev_ops->ndo_get_vf_port(dev, vf, skb); in rtnl_vf_ports_fill()
1142 err = dev->netdev_ops->ndo_get_vf_port(dev, PORT_SELF_VF, skb); in rtnl_port_self_fill()
1158 if (!dev->netdev_ops->ndo_get_vf_port || !dev->dev.parent || in rtnl_port_fill()
1290 if (dev->netdev_ops->ndo_get_vf_config(dev, vfs_num, &ivi)) in rtnl_fill_vfinfo()
1344 if (dev->netdev_ops->ndo_get_vf_guid && in rtnl_fill_vfinfo()
1345 !dev->netdev_ops->ndo_get_vf_guid(dev, vfs_num, &node_guid, in rtnl_fill_vfinfo()
1363 if (dev->netdev_ops->ndo_get_vf_stats) in rtnl_fill_vfinfo()
1364 dev->netdev_ops->ndo_get_vf_stats(dev, vfs_num, in rtnl_fill_vfinfo()
1413 if (!dev->netdev_ops->ndo_get_vf_config) in rtnl_fill_vf()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred_nic.c21 if (priv->netdev->netdev_ops != out_dev->netdev_ops || in tc_act_can_offload_mirred_nic()
/linux-6.1.9/drivers/net/hyperv/
Dnetvsc_bpf.c175 if (!vf_netdev->netdev_ops->ndo_bpf) in netvsc_vf_setxdp()
186 ret = vf_netdev->netdev_ops->ndo_bpf(vf_netdev, &xdp); in netvsc_vf_setxdp()
270 vf_netdev->netdev_ops->ndo_xdp_xmit && in netvsc_ndoxdp_xmit()
272 vf_ops = vf_netdev->netdev_ops; in netvsc_ndoxdp_xmit()
/linux-6.1.9/net/8021q/
Dvlan_dev.c359 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_ioctl()
389 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup()
403 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup()
415 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done()
427 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable()
438 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_disable()
450 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target()
464 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_get_wwn()
607 dev->netdev_ops = &vlan_netdev_ops; in vlan_dev_init()
867 dev->netdev_ops = &vlan_netdev_ops; in vlan_setup()
/linux-6.1.9/net/sched/
Dsch_fifo.c60 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in fifo_offload_init()
66 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_FIFO, &qopt); in fifo_offload_init()
74 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in fifo_offload_destroy()
80 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_FIFO, &qopt); in fifo_offload_destroy()
Dsch_tbf.c147 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in tbf_offload_change()
157 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TBF, &qopt); in tbf_offload_change()
165 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in tbf_offload_destroy()
171 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TBF, &qopt); in tbf_offload_destroy()
Dsch_mqprio.c44 if (priv->hw_offload && dev->netdev_ops->ndo_setup_tc) { in mqprio_destroy()
50 dev->netdev_ops->ndo_setup_tc(dev, in mqprio_destroy()
89 return dev->netdev_ops->ndo_setup_tc ? 0 : -EINVAL; in mqprio_parse_opt()
267 err = dev->netdev_ops->ndo_setup_tc(dev, in mqprio_init()
Dsch_mq.c32 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in mq_offload()
35 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQ, &opt); in mq_offload()
/linux-6.1.9/drivers/staging/rtl8712/
Dusb_intf.c200 if (pnetdev->netdev_ops->ndo_stop) in r871x_suspend()
201 pnetdev->netdev_ops->ndo_stop(pnetdev); in r871x_suspend()
220 if (pnetdev->netdev_ops->ndo_open) in r871x_resume()
221 pnetdev->netdev_ops->ndo_open(pnetdev); in r871x_resume()
/linux-6.1.9/net/openvswitch/
Dvport-internal_dev.c101 netdev->netdev_ops = &internal_dev_netdev_ops; in do_setup()
225 return netdev->netdev_ops == &internal_dev_netdev_ops; in ovs_is_internal_dev()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c255 return dev->netdev_ops == &bnxt_vf_rep_netdev_ops; in bnxt_dev_is_vf_rep()
327 if (vf_rep->dev->netdev_ops) in __bnxt_vf_reps_destroy()
466 dev->netdev_ops = &bnxt_vf_rep_netdev_ops; in bnxt_vf_rep_netdev_init()
531 dev->netdev_ops = NULL; in bnxt_vf_reps_create()
/linux-6.1.9/drivers/net/caif/
Dcaif_serial.c391 static const struct net_device_ops netdev_ops = { variable
402 dev->netdev_ops = &netdev_ops; in caifdev_setup()
/linux-6.1.9/net/mctp/test/
Dutils.c31 ndev->netdev_ops = &mctp_test_netdev_ops; in mctp_test_dev_setup()
/linux-6.1.9/drivers/net/wireguard/
Ddevice.c235 static const struct net_device_ops netdev_ops = { variable
284 dev->netdev_ops = &netdev_ops; in wg_setup()
/linux-6.1.9/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c196 static const struct net_device_ops netdev_ops = { variable
278 ndev->netdev_ops = &netdev_ops; in spl2sw_init_netdev()
/linux-6.1.9/net/dsa/
Dmaster.c212 if (dev->netdev_ops->ndo_eth_ioctl) in dsa_master_ioctl()
213 err = dev->netdev_ops->ndo_eth_ioctl(dev, ifr, cmd); in dsa_master_ioctl()
268 dev->dsa_ptr->netdev_ops = ops; in dsa_netdev_ops_set()
/linux-6.1.9/net/caif/
Dchnl_net.c362 static const struct net_device_ops netdev_ops = { variable
379 dev->netdev_ops = &netdev_ops; in ipcaif_net_setup()
/linux-6.1.9/drivers/net/ethernet/8390/
D8390.c78 dev->netdev_ops = &ei_netdev_ops; in __alloc_ei_netdev()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.h80 return netdev->netdev_ops == &nfp_repr_netdev_ops; in nfp_netdev_is_nfp_repr()
/linux-6.1.9/net/xdp/
Dxsk_buff_pool.c136 err = pool->netdev->netdev_ops->ndo_bpf(pool->netdev, &bpf); in xp_disable_drv_zc()
181 if (!netdev->netdev_ops->ndo_bpf || in xp_assign_dev()
182 !netdev->netdev_ops->ndo_xsk_wakeup) { in xp_assign_dev()
191 err = netdev->netdev_ops->ndo_bpf(netdev, &bpf); in xp_assign_dev()
/linux-6.1.9/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_command.c68 dev->netdev_ops->ndo_start_xmit(skb, dev); in rmnet_map_send_ack()

12345678910>>...23