Home
last modified time | relevance | path

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

12345678910>>...23

/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A 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.3-rc2/drivers/staging/rtl8192e/rtl8192e/
A 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.3-rc2/drivers/staging/octeon/
A Dethernet.c438 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()
893 dev->netdev_ops = NULL; in cvm_oct_probe()
[all …]
/linux-6.3-rc2/net/core/
A 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()
A Drtnetlink.c2607 ops = upper_dev->netdev_ops; in do_set_master()
2621 ops = upper_dev->netdev_ops; in do_set_master()
4233 if (dev->netdev_ops->ndo_fdb_add) in rtnl_fdb_add()
4348 ops = br_dev->netdev_ops; in rtnl_fdb_del()
4366 ops = dev->netdev_ops; in rtnl_fdb_del()
4571 ops = br_dev->netdev_ops; in rtnl_fdb_dump()
4588 cops = br_dev->netdev_ops; in rtnl_fdb_dump()
4749 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4763 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4769 ops = dev->netdev_ops; in rtnl_fdb_get()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
A Dmirred_nic.c21 if (priv->netdev->netdev_ops != out_dev->netdev_ops || in tc_act_can_offload_mirred_nic()
/linux-6.3-rc2/drivers/net/hyperv/
A 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.3-rc2/net/8021q/
A 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.3-rc2/net/sched/
A 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()
A 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()
A Dsch_mqprio.c63 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQPRIO, in mqprio_enable_offload()
82 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQPRIO, in mqprio_disable_offload()
102 if (priv->hw_offload && dev->netdev_ops->ndo_setup_tc) in mqprio_destroy()
136 if (qopt->hw && !dev->netdev_ops->ndo_setup_tc) in mqprio_parse_opt()
A 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.3-rc2/drivers/staging/rtl8712/
A 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.3-rc2/net/openvswitch/
A 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.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A 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.3-rc2/drivers/net/caif/
A Dcaif_serial.c391 static const struct net_device_ops netdev_ops = { variable
402 dev->netdev_ops = &netdev_ops; in caifdev_setup()
/linux-6.3-rc2/net/mctp/test/
A Dutils.c31 ndev->netdev_ops = &mctp_test_netdev_ops; in mctp_test_dev_setup()
/linux-6.3-rc2/net/caif/
A Dchnl_net.c362 static const struct net_device_ops netdev_ops = { variable
379 dev->netdev_ops = &netdev_ops; in ipcaif_net_setup()
/linux-6.3-rc2/net/dsa/
A Dmaster.c220 if (dev->netdev_ops->ndo_eth_ioctl) in dsa_master_ioctl()
221 err = dev->netdev_ops->ndo_eth_ioctl(dev, ifr, cmd); in dsa_master_ioctl()
276 dev->dsa_ptr->netdev_ops = ops; in dsa_netdev_ops_set()
/linux-6.3-rc2/drivers/net/ethernet/sunplus/
A Dspl2sw_driver.c196 static const struct net_device_ops netdev_ops = { variable
278 ndev->netdev_ops = &netdev_ops; in spl2sw_init_netdev()
/linux-6.3-rc2/drivers/net/wireguard/
A Ddevice.c235 static const struct net_device_ops netdev_ops = { variable
284 dev->netdev_ops = &netdev_ops; in wg_setup()
/linux-6.3-rc2/drivers/net/ethernet/8390/
A D8390.c78 dev->netdev_ops = &ei_netdev_ops; in __alloc_ei_netdev()
A D8390p.c83 dev->netdev_ops = &eip_netdev_ops; in __alloc_eip_netdev()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_repr.h80 return netdev->netdev_ops == &nfp_repr_netdev_ops; in nfp_netdev_is_nfp_repr()
/linux-6.3-rc2/drivers/net/ethernet/qualcomm/rmnet/
A Drmnet_map_command.c68 dev->netdev_ops->ndo_start_xmit(skb, dev); in rmnet_map_send_ack()

Completed in 74 milliseconds

12345678910>>...23