Home
last modified time | relevance | path

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

12345678910>>...23

/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dipoib_main.c24 ret = priv->netdev_ops->ndo_init(dev); in hfi1_ipoib_dev_init()
32 priv->netdev_ops->ndo_uninit(dev); in hfi1_ipoib_dev_init()
45 priv->netdev_ops->ndo_uninit(dev); in hfi1_ipoib_dev_uninit()
53 ret = priv->netdev_ops->ndo_open(dev); in hfi1_ipoib_dev_open()
64 priv->netdev_ops->ndo_stop(dev); in hfi1_ipoib_dev_open()
91 return priv->netdev_ops->ndo_stop(dev); in hfi1_ipoib_dev_stop()
201 priv->netdev_ops = netdev->netdev_ops; in hfi1_ipoib_setup_rn()
218 netdev->netdev_ops = &hfi1_ipoib_netdev_ops; in hfi1_ipoib_setup_rn()
/linux-6.15/net/core/
H A Ddev_ioctl.c118 if (!dev->netdev_ops->ndo_set_config) in netif_setifmap()
131 return dev->netdev_ops->ndo_set_config(dev, &ifmap); in netif_setifmap()
278 return dev->netdev_ops->ndo_hwtstamp_get(dev, cfg); in dev_get_hwtstamp_phylib()
283 const struct net_device_ops *ops = dev->netdev_ops; in dev_get_hwtstamp()
331 const struct net_device_ops *ops = dev->netdev_ops; in dev_set_hwtstamp_phylib()
392 const struct net_device_ops *ops = dev->netdev_ops; in dev_set_hwtstamp()
462 const struct net_device_ops *ops = dev->netdev_ops; in generic_hwtstamp_get_lower()
479 const struct net_device_ops *ops = dev->netdev_ops; in generic_hwtstamp_set_lower()
495 const struct net_device_ops *ops = dev->netdev_ops; in dev_siocbond()
514 const struct net_device_ops *ops = dev->netdev_ops; in dev_siocdevprivate()
[all …]
H A Drtnetlink.c2927 ops = upper_dev->netdev_ops; in do_set_master()
2943 ops = upper_dev->netdev_ops; in do_set_master()
4659 if (dev->netdev_ops->ndo_fdb_add) in rtnl_fdb_add()
4770 ops = br_dev->netdev_ops; in rtnl_fdb_del()
4790 ops = dev->netdev_ops; in rtnl_fdb_del()
4994 ops = br_dev->netdev_ops; in rtnl_fdb_dump()
5004 cops = br_dev->netdev_ops; in rtnl_fdb_dump()
5153 ops = br_dev->netdev_ops; in rtnl_fdb_get()
5167 ops = br_dev->netdev_ops; in rtnl_fdb_get()
5173 ops = dev->netdev_ops; in rtnl_fdb_get()
[all …]
/linux-6.15/drivers/staging/octeon/
H 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.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmirred_nic.c21 if (priv->netdev->netdev_ops != out_dev->netdev_ops || in tc_act_can_offload_mirred_nic()
/linux-6.15/net/sched/
H A Dsch_fifo.c64 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in fifo_offload_init()
70 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_FIFO, &qopt); in fifo_offload_init()
78 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in fifo_offload_destroy()
84 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_FIFO, &qopt); in fifo_offload_destroy()
H A Dsch_tbf.c148 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in tbf_offload_change()
158 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TBF, &qopt); in tbf_offload_change()
166 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in tbf_offload_destroy()
172 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TBF, &qopt); in tbf_offload_destroy()
H 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.15/drivers/net/hyperv/
H A Dnetvsc_bpf.c175 if (!vf_netdev->netdev_ops->ndo_bpf) 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.15/net/8021q/
H A Dvlan_dev.c383 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup()
397 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup()
409 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done()
421 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable()
432 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_disable()
444 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target()
458 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_get_wwn()
583 dev->netdev_ops = &vlan_netdev_ops; in vlan_dev_init()
1066 dev->netdev_ops = &vlan_netdev_ops; in vlan_setup()
/linux-6.15/net/openvswitch/
H A Dvport-internal_dev.c100 netdev->netdev_ops = &internal_dev_netdev_ops; in do_setup()
217 return netdev->netdev_ops == &internal_dev_netdev_ops; in ovs_is_internal_dev()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_vfr.c255 return dev->netdev_ops == &bnxt_vf_rep_netdev_ops; in bnxt_dev_is_vf_rep()
325 if (vf_rep->dev->netdev_ops) in __bnxt_vf_reps_destroy()
470 dev->netdev_ops = &bnxt_vf_rep_netdev_ops; in bnxt_vf_rep_netdev_init()
535 dev->netdev_ops = NULL; in bnxt_vf_reps_create()
/linux-6.15/drivers/net/caif/
H A Dcaif_serial.c377 static const struct net_device_ops netdev_ops = { variable
388 dev->netdev_ops = &netdev_ops; in caifdev_setup()
/linux-6.15/net/mctp/test/
H A Dutils.c32 ndev->netdev_ops = &mctp_test_netdev_ops; in mctp_test_dev_setup()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_repr.c291 return netdev && (netdev->netdev_ops == &ice_repr_vf_netdev_ops || in ice_is_port_repr_netdev()
292 netdev->netdev_ops == &ice_repr_sf_netdev_ops); in ice_is_port_repr_netdev()
304 netdev->netdev_ops = ops; in ice_repr_reg_netdev()
/linux-6.15/drivers/net/ethernet/sunplus/
H 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.15/net/caif/
H A Dchnl_net.c361 static const struct net_device_ops netdev_ops = { variable
378 dev->netdev_ops = &netdev_ops; in ipcaif_net_setup()
/linux-6.15/drivers/net/wireguard/
H A Ddevice.c236 static const struct net_device_ops netdev_ops = { variable
283 dev->netdev_ops = &netdev_ops; in wg_setup()
/linux-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.h80 return netdev->netdev_ops == &nfp_repr_netdev_ops; in nfp_netdev_is_nfp_repr()
/linux-6.15/drivers/net/ethernet/8390/
H A D8390.c78 dev->netdev_ops = &ei_netdev_ops; in __alloc_ei_netdev()
H A D8390p.c83 dev->netdev_ops = &eip_netdev_ops; in __alloc_eip_netdev()
/linux-6.15/include/net/
H A Dnetdev_lock.h33 ret |= !!dev->netdev_ops->net_shaper_ops; in netdev_need_ops_lock()
/linux-6.15/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_command.c68 dev->netdev_ops->ndo_start_xmit(skb, dev); in rmnet_map_send_ack()
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c649 ndev->netdev_ops = &brcmf_netdev_ops_pri; in brcmf_net_attach()
678 ndev->netdev_ops = NULL; in brcmf_net_attach()
761 ndev->netdev_ops = &brcmf_netdev_ops_mon; in brcmf_net_mon_attach()
827 ndev->netdev_ops = &brcmf_netdev_ops_p2p; in brcmf_net_p2p_attach()
843 ndev->netdev_ops = NULL; in brcmf_net_p2p_attach()
930 if (ifp->ndev->netdev_ops == &brcmf_netdev_ops_pri) { in brcmf_del_if()
939 if (ifp->ndev->netdev_ops == &brcmf_netdev_ops_pri) { in brcmf_del_if()
/linux-6.15/drivers/net/
H A Dnlmon.c68 dev->netdev_ops = &nlmon_ops; in nlmon_setup()

12345678910>>...23