Home
last modified time | relevance | path

Searched refs:type_data (Results 1 – 25 of 67) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c164 static int mlx5e_rep_setup_tc_cb(enum tc_setup_type type, void *type_data, in mlx5e_rep_setup_tc_cb() argument
172 return mlx5e_rep_setup_tc_cls_flower(priv, type_data, flags); in mlx5e_rep_setup_tc_cb()
174 return mlx5e_rep_setup_tc_cls_matchall(priv, type_data); in mlx5e_rep_setup_tc_cb()
180 static int mlx5e_rep_setup_ft_cb(enum tc_setup_type type, void *type_data, in mlx5e_rep_setup_ft_cb() argument
183 struct flow_cls_offload tmp, *f = type_data; in mlx5e_rep_setup_ft_cb()
228 void *type_data) in mlx5e_rep_setup_tc() argument
231 struct flow_block_offload *f = type_data; in mlx5e_rep_setup_tc()
237 return flow_block_cb_setup_simple(type_data, in mlx5e_rep_setup_tc()
242 return flow_block_cb_setup_simple(type_data, in mlx5e_rep_setup_tc()
337 void *type_data, void *indr_priv) in mlx5e_rep_indr_setup_tc_cb() argument
[all …]
Dtc.h35 void *type_data);
65 void *type_data) { return -EOPNOTSUPP; } in mlx5e_rep_setup_tc() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc.h308 void *type_data);
329 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data);
331 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data);
332 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data);
333 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
335 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data);
394 #define enetc_setup_tc_taprio(ndev, type_data) -EOPNOTSUPP argument
396 #define enetc_setup_tc_cbs(ndev, type_data) -EOPNOTSUPP argument
397 #define enetc_setup_tc_txtime(ndev, type_data) -EOPNOTSUPP argument
398 #define enetc_setup_tc_psfp(ndev, type_data) -EOPNOTSUPP argument
Denetc_qos.c141 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data) in enetc_setup_tc_taprio() argument
143 struct tc_taprio_qopt_offload *taprio = type_data; in enetc_setup_tc_taprio()
179 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data) in enetc_setup_tc_cbs() argument
182 struct tc_cbs_qopt_offload *cbs = type_data; in enetc_setup_tc_cbs()
295 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data) in enetc_setup_tc_txtime() argument
298 struct tc_etf_qopt_offload *qopt = type_data; in enetc_setup_tc_txtime()
1512 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in enetc_setup_tc_block_cb() argument
1522 return enetc_setup_tc_cls_flower(netdev_priv(ndev), type_data); in enetc_setup_tc_block_cb()
1556 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data) in enetc_setup_tc_psfp() argument
1559 struct flow_block_offload *f = type_data; in enetc_setup_tc_psfp()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c31 enum tc_setup_type type, void *type_data) in nfp_abm_setup_tc() argument
42 return nfp_abm_setup_root(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
44 return nfp_abm_setup_tc_mq(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
46 return nfp_abm_setup_tc_red(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
48 return nfp_abm_setup_tc_gred(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
50 return nfp_abm_setup_cls_block(netdev, repr, type_data); in nfp_abm_setup_tc()
Dcls.c228 void *type_data, void *cb_priv) in nfp_abm_setup_tc_block_cb() argument
230 struct tc_cls_u32_offload *cls_u32 = type_data; in nfp_abm_setup_tc_block_cb()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c503 static int am65_cpsw_set_taprio(struct net_device *ndev, void *type_data) in am65_cpsw_set_taprio() argument
506 struct tc_taprio_qopt_offload *taprio = type_data; in am65_cpsw_set_taprio()
566 static int am65_cpsw_setup_taprio(struct net_device *ndev, void *type_data) in am65_cpsw_setup_taprio() argument
588 return am65_cpsw_set_taprio(ndev, type_data); in am65_cpsw_setup_taprio()
592 void *type_data) in am65_cpsw_qos_ndo_setup_tc() argument
596 return am65_cpsw_setup_taprio(ndev, type_data); in am65_cpsw_qos_ndo_setup_tc()
Dam65-cpsw-qos.h25 void *type_data);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h225 int mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
249 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
274 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c145 void *type_data, in bnxt_vf_rep_setup_tc_block_cb() argument
153 !tc_cls_can_offload_and_chain0(bp->dev, type_data)) in bnxt_vf_rep_setup_tc_block_cb()
158 return bnxt_tc_setup_flower(bp, vf_fid, type_data); in bnxt_vf_rep_setup_tc_block_cb()
167 void *type_data) in bnxt_vf_rep_setup_tc() argument
173 return flow_block_cb_setup_simple(type_data, in bnxt_vf_rep_setup_tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_net.c108 void *type_data, in ocelot_setup_tc_block_cb() argument
113 if (!tc_cls_can_offload_and_chain0(priv->dev, type_data)) in ocelot_setup_tc_block_cb()
118 return ocelot_setup_tc_cls_matchall(priv, type_data, ingress); in ocelot_setup_tc_block_cb()
120 return ocelot_setup_tc_cls_flower(priv, type_data, ingress); in ocelot_setup_tc_block_cb()
127 void *type_data, in ocelot_setup_tc_block_cb_ig() argument
130 return ocelot_setup_tc_block_cb(type, type_data, in ocelot_setup_tc_block_cb_ig()
135 void *type_data, in ocelot_setup_tc_block_cb_eg() argument
138 return ocelot_setup_tc_block_cb(type, type_data, in ocelot_setup_tc_block_cb_eg()
187 void *type_data) in ocelot_setup_tc() argument
193 return ocelot_setup_tc_block(priv, type_data); in ocelot_setup_tc()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dnetdev.c77 nsim_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in nsim_setup_tc_block_cb() argument
79 return nsim_bpf_setup_tc_block_cb(type, type_data, cb_priv); in nsim_setup_tc_block_cb()
210 nsim_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) in nsim_setup_tc() argument
216 return flow_block_cb_setup_simple(type_data, in nsim_setup_tc()
Dnetdevsim.h115 void *type_data, void *cb_priv);
146 nsim_bpf_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in nsim_bpf_setup_tc_block_cb() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flow.c175 void *type_data, void *cb_priv) in mlxsw_sp_flow_block_cb() argument
184 return mlxsw_sp_flow_block_mall_cb(flow_block, type_data); in mlxsw_sp_flow_block_cb()
186 return mlxsw_sp_flow_block_flower_cb(flow_block, type_data); in mlxsw_sp_flow_block_cb()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_port.c50 void *type_data) in nfp_port_setup_tc() argument
58 return nfp_app_setup_tc(port->app, netdev, type, type_data); in nfp_port_setup_tc()
Dnfp_app.h134 enum tc_setup_type type, void *type_data);
313 enum tc_setup_type type, void *type_data) in nfp_app_setup_tc() argument
317 return app->type->setup_tc(app, netdev, type, type_data); in nfp_app_setup_tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c106 void *type_data, void *cb_priv) in nfp_bpf_setup_tc_block_cb() argument
108 struct tc_cls_bpf_offload *cls_bpf = type_data; in nfp_bpf_setup_tc_block_cb()
166 enum tc_setup_type type, void *type_data) in nfp_bpf_setup_tc() argument
172 return flow_block_cb_setup_simple(type_data, in nfp_bpf_setup_tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c1647 void *type_data, void *cb_priv) in nfp_flower_setup_tc_block_cb() argument
1651 if (!tc_cls_can_offload_and_chain0(repr->netdev, type_data)) in nfp_flower_setup_tc_block_cb()
1657 type_data); in nfp_flower_setup_tc_block_cb()
1660 type_data); in nfp_flower_setup_tc_block_cb()
1712 enum tc_setup_type type, void *type_data) in nfp_flower_setup_tc() argument
1716 return nfp_flower_setup_tc_block(netdev, type_data); in nfp_flower_setup_tc()
1743 void *type_data, void *cb_priv) in nfp_flower_setup_indr_block_cb() argument
1746 struct flow_cls_offload *flower = type_data; in nfp_flower_setup_indr_block_cb()
1754 type_data); in nfp_flower_setup_indr_block_cb()
1835 enum tc_setup_type type, void *type_data, in nfp_flower_indr_setup_tc_cb() argument
[all …]
Dmain.h404 enum tc_setup_type type, void *type_data);
474 enum tc_setup_type type, void *type_data,
/kernel/linux/linux-5.10/include/net/
Dpkt_cls.h544 void *type_data, bool err_stop, bool rtnl_held);
546 enum tc_setup_type type, void *type_data, bool err_stop,
549 enum tc_setup_type type, void *type_data, bool err_stop,
554 enum tc_setup_type type, void *type_data, bool err_stop,
558 enum tc_setup_type type, void *type_data,
Dsch_generic.h368 void *type_data);
370 void *type_data);
703 void *type_data);
706 enum tc_setup_type type, void *type_data,
711 void *type_data) in qdisc_offload_dump_helper() argument
720 enum tc_setup_type type, void *type_data, in qdisc_offload_graft_helper() argument
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/
Dfelix.h36 enum tc_setup_type type, void *type_data);
/kernel/linux/linux-5.10/net/dsa/
Dslave.c1170 static int dsa_slave_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in dsa_slave_setup_tc_block_cb() argument
1180 return dsa_slave_setup_tc_cls_matchall(dev, type_data, ingress); in dsa_slave_setup_tc_block_cb()
1182 return dsa_slave_setup_tc_cls_flower(dev, type_data, ingress); in dsa_slave_setup_tc_block_cb()
1189 void *type_data, void *cb_priv) in dsa_slave_setup_tc_block_cb_ig() argument
1191 return dsa_slave_setup_tc_block_cb(type, type_data, cb_priv, true); in dsa_slave_setup_tc_block_cb_ig()
1195 void *type_data, void *cb_priv) in dsa_slave_setup_tc_block_cb_eg() argument
1197 return dsa_slave_setup_tc_block_cb(type, type_data, cb_priv, false); in dsa_slave_setup_tc_block_cb_eg()
1243 void *type_data) in dsa_slave_setup_tc() argument
1249 return dsa_slave_setup_tc_block(dev, type_data); in dsa_slave_setup_tc()
1254 return ds->ops->port_setup_tc(ds, dp->index, type, type_data); in dsa_slave_setup_tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c377 void *type_data) in aq_ndo_setup_tc() argument
379 struct tc_mqprio_qopt_offload *mqprio = type_data; in aq_ndo_setup_tc()
/kernel/linux/linux-5.10/net/sched/
Dcls_api.c3252 void *type_data, bool err_stop) in __tc_setup_cb_call() argument
3259 err = block_cb->cb(type, type_data, block_cb->cb_priv); in __tc_setup_cb_call()
3271 void *type_data, bool err_stop, bool rtnl_held) in tc_setup_cb_call() argument
3290 ok_count = __tc_setup_cb_call(block, type, type_data, err_stop); in tc_setup_cb_call()
3306 enum tc_setup_type type, void *type_data, bool err_stop, in tc_setup_cb_add() argument
3332 ok_count = __tc_setup_cb_call(block, type, type_data, err_stop); in tc_setup_cb_add()
3337 tp->ops->hw_add(tp, type_data); in tc_setup_cb_add()
3356 enum tc_setup_type type, void *type_data, bool err_stop, in tc_setup_cb_replace() argument
3386 tp->ops->hw_del(tp, type_data); in tc_setup_cb_replace()
3388 ok_count = __tc_setup_cb_call(block, type, type_data, err_stop); in tc_setup_cb_replace()
[all …]

123