Home
last modified time | relevance | path

Searched refs:ndo_setup_tc (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v5.15/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_etf.c307 if (!ops->ndo_setup_tc) in etf_disable_offload()
313 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETF, &etf); in etf_disable_offload()
329 if (!ops->ndo_setup_tc) { in etf_enable_offload()
337 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETF, &etf); in etf_enable_offload()
Dsch_cbs.c264 if (!ops->ndo_setup_tc) in cbs_disable_offload()
270 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_CBS, &cbs); in cbs_disable_offload()
284 if (!ops->ndo_setup_tc) { in cbs_enable_offload()
297 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_CBS, &cbs); in cbs_enable_offload()
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()
Dsch_ets.c118 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in ets_offload_change()
143 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETS, &qopt); in ets_offload_change()
151 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in ets_offload_destroy()
157 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETS, &qopt); in ets_offload_destroy()
Dsch_red.c193 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in red_offload()
210 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_RED, &opt); in red_offload()
461 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_RED, in red_dump_stats()
Dsch_prio.c150 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in prio_offload()
163 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_PRIO, &opt); in prio_offload()
Dsch_taprio.c1254 if (!ops->ndo_setup_tc) { in taprio_enable_offload()
1269 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TAPRIO, offload); in taprio_enable_offload()
1293 if (!ops->ndo_setup_tc) in taprio_disable_offload()
1304 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_TAPRIO, offload); in taprio_disable_offload()
Dsch_gred.c320 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in gred_offload()
349 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_GRED, &opt); in gred_offload()
Dsch_api.c826 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in qdisc_offload_dump_helper()
829 err = dev->netdev_ops->ndo_setup_tc(dev, type, type_data); in qdisc_offload_dump_helper()
848 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in qdisc_offload_graft_helper()
851 err = dev->netdev_ops->ndo_setup_tc(dev, type, type_data); in qdisc_offload_graft_helper()
Dsch_htb.c1047 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_HTB, opt); in htb_offload()
1090 if (!tc_can_offload(dev) || !dev->netdev_ops->ndo_setup_tc) in htb_init()
/Linux-v5.15/drivers/net/netdevsim/
Dnetdev.c263 .ndo_setup_tc = nsim_setup_tc,
276 .ndo_setup_tc = nsim_setup_tc,
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc_vf.c103 .ndo_setup_tc = enetc_setup_tc,
/Linux-v5.15/net/netfilter/
Dnf_tables_offload.c370 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_BLOCK, &bo); in nft_block_offload_cmd()
423 if (dev->netdev_ops->ndo_setup_tc) in nft_chain_offload_cmd()
Dnf_flow_table_offload.c1139 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_FT, bo); in nf_flow_table_offload_cmd()
1157 if (dev->netdev_ops->ndo_setup_tc) in nf_flow_table_offload_setup()
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c427 .ndo_setup_tc = aq_ndo_setup_tc,
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c267 .ndo_setup_tc = nfp_port_setup_tc,
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c248 .ndo_setup_tc = bnxt_vf_rep_setup_tc,
/Linux-v5.15/net/dsa/
Dslave.c1291 if (!master->netdev_ops->ndo_setup_tc) in dsa_slave_setup_ft_block()
1294 return master->netdev_ops->ndo_setup_tc(master, TC_SETUP_FT, type_data); in dsa_slave_setup_ft_block()
1762 .ndo_setup_tc = dsa_slave_setup_tc,
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c224 .ndo_setup_tc = prestera_port_setup_tc,
/Linux-v5.15/drivers/net/ethernet/sfc/
Defx.c611 .ndo_setup_tc = efx_setup_tc,
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c567 .ndo_setup_tc = mlx5e_rep_setup_tc,
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1528 .ndo_setup_tc = __fm10k_setup_tc,

123