Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tc.c71 static int lan966x_tc_block_cb(enum tc_setup_type type, void *type_data, in lan966x_tc_block_cb() argument
78 return lan966x_tc_matchall(port, type_data, ingress); in lan966x_tc_block_cb()
80 return lan966x_tc_flower(port, type_data, ingress); in lan966x_tc_block_cb()
87 void *type_data, void *cb_priv) in lan966x_tc_block_cb_ingress() argument
89 return lan966x_tc_block_cb(type, type_data, cb_priv, true); in lan966x_tc_block_cb_ingress()
93 void *type_data, void *cb_priv) in lan966x_tc_block_cb_egress() argument
95 return lan966x_tc_block_cb(type, type_data, cb_priv, false); in lan966x_tc_block_cb_egress()
120 void *type_data) in lan966x_tc_setup() argument
126 return lan966x_tc_setup_qdisc_mqprio(port, type_data); in lan966x_tc_setup()
128 return lan966x_tc_setup_qdisc_taprio(port, type_data); in lan966x_tc_setup()
[all …]
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc.c18 void *type_data, in sparx5_tc_block_cb() argument
25 return sparx5_tc_matchall(ndev, type_data, ingress); in sparx5_tc_block_cb()
27 return sparx5_tc_flower(ndev, type_data, ingress); in sparx5_tc_block_cb()
34 void *type_data, in sparx5_tc_block_cb_ingress() argument
37 return sparx5_tc_block_cb(type, type_data, cb_priv, true); in sparx5_tc_block_cb_ingress()
41 void *type_data, in sparx5_tc_block_cb_egress() argument
44 return sparx5_tc_block_cb(type, type_data, cb_priv, false); in sparx5_tc_block_cb_egress()
158 void *type_data) in sparx5_port_setup_tc() argument
162 return sparx5_tc_setup_block(ndev, type_data); in sparx5_port_setup_tc()
164 return sparx5_tc_setup_qdisc_mqprio(ndev, type_data); in sparx5_port_setup_tc()
[all …]
Dsparx5_tc.h99 void *type_data);
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc_bindings.c35 static int efx_tc_block_cb(enum tc_setup_type type, void *type_data, in efx_tc_block_cb() argument
39 struct flow_cls_offload *tcf = type_data; in efx_tc_block_cb()
141 void *type_data, void *data, in efx_tc_indr_setup_cb() argument
144 struct flow_block_offload *tcb = type_data; in efx_tc_indr_setup_cb()
214 void *type_data) in efx_tc_setup() argument
224 return efx_tc_flower(efx, net_dev, type_data, NULL); in efx_tc_setup()
226 return efx_tc_setup_block(net_dev, efx, type_data, NULL); in efx_tc_setup()
Dtc_bindings.h24 void *type_data);
28 void *type_data, void *data,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c167 static int mlx5e_rep_setup_tc_cb(enum tc_setup_type type, void *type_data, in mlx5e_rep_setup_tc_cb() argument
178 return mlx5e_rep_setup_tc_cls_flower(priv, type_data, flags); in mlx5e_rep_setup_tc_cb()
180 return mlx5e_rep_setup_tc_cls_matchall(priv, type_data); in mlx5e_rep_setup_tc_cb()
186 static int mlx5e_rep_setup_ft_cb(enum tc_setup_type type, void *type_data, in mlx5e_rep_setup_ft_cb() argument
189 struct flow_cls_offload tmp, *f = type_data; in mlx5e_rep_setup_ft_cb()
234 void *type_data) in mlx5e_rep_setup_tc() argument
237 struct flow_block_offload *f = type_data; in mlx5e_rep_setup_tc()
243 return flow_block_cb_setup_simple(type_data, in mlx5e_rep_setup_tc()
248 return flow_block_cb_setup_simple(type_data, in mlx5e_rep_setup_tc()
348 void *type_data, void *indr_priv) in mlx5e_rep_indr_setup_tc_cb() argument
[all …]
Dtc.h37 void *type_data);
65 void *type_data) { return -EOPNOTSUPP; } in mlx5e_rep_setup_tc() argument
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc.h432 int enetc_setup_tc_mqprio(struct net_device *ndev, void *type_data);
497 int enetc_qos_query_caps(struct net_device *ndev, void *type_data);
498 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data);
500 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data);
501 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data);
502 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
504 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data);
565 #define enetc_qos_query_caps(ndev, type_data) -EOPNOTSUPP argument
566 #define enetc_setup_tc_taprio(ndev, type_data) -EOPNOTSUPP argument
568 #define enetc_setup_tc_cbs(ndev, type_data) -EOPNOTSUPP argument
[all …]
Denetc_qos.c199 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data) in enetc_setup_tc_taprio() argument
201 struct tc_taprio_qopt_offload *offload = type_data; in enetc_setup_tc_taprio()
234 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data) in enetc_setup_tc_cbs() argument
237 struct tc_cbs_qopt_offload *cbs = type_data; in enetc_setup_tc_cbs()
350 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data) in enetc_setup_tc_txtime() argument
353 struct tc_etf_qopt_offload *qopt = type_data; in enetc_setup_tc_txtime()
1563 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in enetc_setup_tc_block_cb() argument
1573 return enetc_setup_tc_cls_flower(netdev_priv(ndev), type_data); in enetc_setup_tc_block_cb()
1630 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data) in enetc_setup_tc_psfp() argument
1633 struct flow_block_offload *f = type_data; in enetc_setup_tc_psfp()
[all …]
/linux-6.6.21/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c502 static int am65_cpsw_set_taprio(struct net_device *ndev, void *type_data) in am65_cpsw_set_taprio() argument
505 struct tc_taprio_qopt_offload *taprio = type_data; in am65_cpsw_set_taprio()
564 static int am65_cpsw_setup_taprio(struct net_device *ndev, void *type_data) in am65_cpsw_setup_taprio() argument
567 struct tc_taprio_qopt_offload *taprio = type_data; in am65_cpsw_setup_taprio()
591 return am65_cpsw_set_taprio(ndev, type_data); in am65_cpsw_setup_taprio()
594 static int am65_cpsw_tc_query_caps(struct net_device *ndev, void *type_data) in am65_cpsw_tc_query_caps() argument
596 struct tc_query_caps_base *base = type_data; in am65_cpsw_tc_query_caps()
764 static int am65_cpsw_qos_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in am65_cpsw_qos_setup_tc_block_cb() argument
768 if (!tc_cls_can_offload_and_chain0(port->ndev, type_data)) in am65_cpsw_qos_setup_tc_block_cb()
773 return am65_cpsw_qos_setup_tc_clsflower(port, type_data); in am65_cpsw_qos_setup_tc_block_cb()
[all …]
Dam65-cpsw-qos.h35 void *type_data);
/linux-6.6.21/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()
240 nsim_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) in nsim_setup_tc() argument
246 return nsim_setup_tc_taprio(dev, type_data); in nsim_setup_tc()
248 return flow_block_cb_setup_simple(type_data, in nsim_setup_tc()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_repr.c208 ice_repr_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in ice_repr_setup_tc_block_cb() argument
211 struct flow_cls_offload *flower = (struct flow_cls_offload *)type_data; in ice_repr_setup_tc_block_cb()
226 void *type_data) in ice_repr_setup_tc() argument
233 type_data, in ice_repr_setup_tc()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_flow.c52 void *type_data, void *cb_priv) in prestera_flow_block_cb() argument
58 return prestera_flow_block_flower_cb(block, type_data); in prestera_flow_block_cb()
60 return prestera_flow_block_mall_cb(block, type_data); in prestera_flow_block_cb()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c149 void *type_data, in bnxt_vf_rep_setup_tc_block_cb() argument
157 !tc_cls_can_offload_and_chain0(bp->dev, type_data)) in bnxt_vf_rep_setup_tc_block_cb()
162 return bnxt_tc_setup_flower(bp, vf_fid, type_data); in bnxt_vf_rep_setup_tc_block_cb()
171 void *type_data) in bnxt_vf_rep_setup_tc() argument
177 return flow_block_cb_setup_simple(type_data, in bnxt_vf_rep_setup_tc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h304 int mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
340 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
365 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c108 union hwc_init_type_data type_data; in mana_hwc_init_event_handler() local
120 type_data.as_uint32 = event->details[0]; in mana_hwc_init_event_handler()
121 type = type_data.type; in mana_hwc_init_event_handler()
122 val = type_data.value; in mana_hwc_init_event_handler()
178 type_data.as_uint32 = event->details[0]; in mana_hwc_init_event_handler()
179 type = type_data.type; in mana_hwc_init_event_handler()
180 val = type_data.value; in mana_hwc_init_event_handler()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c1294 void *type_data, void *cb_priv) in otx2_setup_tc_block_ingress_cb() argument
1299 if (!tc_cls_can_offload_and_chain0(nic->netdev, type_data)) in otx2_setup_tc_block_ingress_cb()
1311 return otx2_setup_tc_cls_flower(nic, type_data); in otx2_setup_tc_block_ingress_cb()
1313 return otx2_setup_tc_ingress_matchall(nic, type_data); in otx2_setup_tc_block_ingress_cb()
1338 void *type_data, void *cb_priv) in otx2_setup_tc_block_egress_cb() argument
1342 if (!tc_cls_can_offload_and_chain0(nic->netdev, type_data)) in otx2_setup_tc_block_egress_cb()
1347 return otx2_setup_tc_egress_matchall(nic, type_data); in otx2_setup_tc_block_egress_cb()
1382 void *type_data) in otx2_setup_tc() argument
1386 return otx2_setup_tc_block(netdev, type_data); in otx2_setup_tc()
1388 return otx2_setup_tc_htb(netdev, type_data); in otx2_setup_tc()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/engleder/
Dtsnep_tc.c428 void *type_data) in tsnep_tc_setup() argument
434 return tsnep_tc_query_caps(adapter, type_data); in tsnep_tc_setup()
436 return tsnep_taprio(adapter, type_data); in tsnep_tc_setup()
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c553 mtk_eth_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mtk_eth_setup_tc_block_cb() argument
555 struct flow_cls_offload *cls = type_data; in mtk_eth_setup_tc_block_cb()
621 void *type_data) in mtk_eth_setup_tc() argument
626 return mtk_eth_setup_tc_block(dev, type_data); in mtk_eth_setup_tc()
/linux-6.6.21/include/net/
Dpkt_cls.h583 void *type_data, bool err_stop, bool rtnl_held);
585 enum tc_setup_type type, void *type_data, bool err_stop,
588 enum tc_setup_type type, void *type_data, bool err_stop,
593 enum tc_setup_type type, void *type_data, bool err_stop,
597 enum tc_setup_type type, void *type_data,

1234