Home
last modified time | relevance | path

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

1234

/linux-5.19.10/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-5.19.10/drivers/net/ethernet/freescale/enetc/
Denetc.h400 void *type_data);
459 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data);
461 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data);
462 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data);
463 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
465 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data);
524 #define enetc_setup_tc_taprio(ndev, type_data) -EOPNOTSUPP argument
526 #define enetc_setup_tc_cbs(ndev, type_data) -EOPNOTSUPP argument
527 #define enetc_setup_tc_txtime(ndev, type_data) -EOPNOTSUPP argument
528 #define enetc_setup_tc_psfp(ndev, type_data) -EOPNOTSUPP argument
Denetc_qos.c137 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data) in enetc_setup_tc_taprio() argument
139 struct tc_taprio_qopt_offload *taprio = type_data; in enetc_setup_tc_taprio()
175 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data) in enetc_setup_tc_cbs() argument
178 struct tc_cbs_qopt_offload *cbs = type_data; in enetc_setup_tc_cbs()
291 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data) in enetc_setup_tc_txtime() argument
294 struct tc_etf_qopt_offload *qopt = type_data; in enetc_setup_tc_txtime()
1504 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in enetc_setup_tc_block_cb() argument
1514 return enetc_setup_tc_cls_flower(netdev_priv(ndev), type_data); in enetc_setup_tc_block_cb()
1548 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data) in enetc_setup_tc_psfp() argument
1551 struct flow_block_offload *f = type_data; in enetc_setup_tc_psfp()
/linux-5.19.10/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c501 static int am65_cpsw_set_taprio(struct net_device *ndev, void *type_data) in am65_cpsw_set_taprio() argument
504 struct tc_taprio_qopt_offload *taprio = type_data; in am65_cpsw_set_taprio()
563 static int am65_cpsw_setup_taprio(struct net_device *ndev, void *type_data) in am65_cpsw_setup_taprio() argument
585 return am65_cpsw_set_taprio(ndev, type_data); in am65_cpsw_setup_taprio()
738 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
742 if (!tc_cls_can_offload_and_chain0(port->ndev, type_data)) in am65_cpsw_qos_setup_tc_block_cb()
747 return am65_cpsw_qos_setup_tc_clsflower(port, type_data); in am65_cpsw_qos_setup_tc_block_cb()
765 void *type_data) in am65_cpsw_qos_ndo_setup_tc() argument
769 return am65_cpsw_setup_taprio(ndev, type_data); in am65_cpsw_qos_ndo_setup_tc()
771 return am65_cpsw_qos_setup_tc_block(ndev, type_data); in am65_cpsw_qos_ndo_setup_tc()
Dam65-cpsw-qos.h33 void *type_data);
Dcpsw_priv.c991 static int cpsw_set_mqprio(struct net_device *ndev, void *type_data) in cpsw_set_mqprio() argument
993 struct tc_mqprio_qopt_offload *mqprio = type_data; in cpsw_set_mqprio()
1049 void *type_data) in cpsw_ndo_setup_tc() argument
1053 return cpsw_set_cbs(ndev, type_data); in cpsw_ndo_setup_tc()
1056 return cpsw_set_mqprio(ndev, type_data); in cpsw_ndo_setup_tc()
1059 return cpsw_qos_setup_tc_block(ndev, type_data); in cpsw_ndo_setup_tc()
1534 static int cpsw_qos_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in cpsw_qos_setup_tc_block_cb() argument
1539 if (!tc_cls_can_offload_and_chain0(priv->ndev, type_data)) in cpsw_qos_setup_tc_block_cb()
1550 ret = cpsw_qos_setup_tc_clsflower(priv, type_data); in cpsw_qos_setup_tc_block_cb()
/linux-5.19.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()
/linux-5.19.10/drivers/net/ethernet/marvell/prestera/
Dprestera_flow.c51 void *type_data, void *cb_priv) in prestera_flow_block_cb() argument
57 return prestera_flow_block_flower_cb(block, type_data); in prestera_flow_block_cb()
59 return prestera_flow_block_mall_cb(block, type_data); in prestera_flow_block_cb()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_repr.c213 ice_repr_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in ice_repr_setup_tc_block_cb() argument
216 struct flow_cls_offload *flower = (struct flow_cls_offload *)type_data; in ice_repr_setup_tc_block_cb()
231 void *type_data) in ice_repr_setup_tc() argument
238 type_data, in ice_repr_setup_tc()
/linux-5.19.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()
/linux-5.19.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()
215 nsim_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) in nsim_setup_tc() argument
221 return flow_block_cb_setup_simple(type_data, in nsim_setup_tc()
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h285 int mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
321 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
346 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c1020 void *type_data, void *cb_priv) in otx2_setup_tc_block_ingress_cb() argument
1024 if (!tc_cls_can_offload_and_chain0(nic->netdev, type_data)) in otx2_setup_tc_block_ingress_cb()
1029 return otx2_setup_tc_cls_flower(nic, type_data); in otx2_setup_tc_block_ingress_cb()
1031 return otx2_setup_tc_ingress_matchall(nic, type_data); in otx2_setup_tc_block_ingress_cb()
1056 void *type_data, void *cb_priv) in otx2_setup_tc_block_egress_cb() argument
1060 if (!tc_cls_can_offload_and_chain0(nic->netdev, type_data)) in otx2_setup_tc_block_egress_cb()
1065 return otx2_setup_tc_egress_matchall(nic, type_data); in otx2_setup_tc_block_egress_cb()
1100 void *type_data) in otx2_setup_tc() argument
1104 return otx2_setup_tc_block(netdev, type_data); in otx2_setup_tc()
/linux-5.19.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.h133 enum tc_setup_type type, void *type_data);
322 enum tc_setup_type type, void *type_data) in nfp_app_setup_tc() argument
326 return app->type->setup_tc(app, netdev, type, type_data); in nfp_app_setup_tc()
/linux-5.19.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()
/linux-5.19.10/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c501 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
503 struct flow_cls_offload *cls = type_data; in mtk_eth_setup_tc_block_cb()
583 void *type_data) in mtk_eth_setup_tc() argument
588 return mtk_eth_setup_tc_block(dev, type_data); in mtk_eth_setup_tc()
/linux-5.19.10/include/net/
Dpkt_cls.h558 void *type_data, bool err_stop, bool rtnl_held);
560 enum tc_setup_type type, void *type_data, bool err_stop,
563 enum tc_setup_type type, void *type_data, bool err_stop,
568 enum tc_setup_type type, void *type_data, bool err_stop,
572 enum tc_setup_type type, void *type_data,
Dsch_generic.h367 void *type_data);
369 void *type_data);
682 void *type_data);
685 enum tc_setup_type type, void *type_data,
690 void *type_data) in qdisc_offload_dump_helper() argument
699 enum tc_setup_type type, void *type_data, in qdisc_offload_graft_helper() argument
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c1741 void *type_data, void *cb_priv) in nfp_flower_setup_tc_block_cb() argument
1743 struct flow_cls_common_offload *common = type_data; in nfp_flower_setup_tc_block_cb()
1752 type_data); in nfp_flower_setup_tc_block_cb()
1755 type_data); in nfp_flower_setup_tc_block_cb()
1807 enum tc_setup_type type, void *type_data) in nfp_flower_setup_tc() argument
1811 return nfp_flower_setup_tc_block(netdev, type_data); in nfp_flower_setup_tc()
1838 void *type_data, void *cb_priv) in nfp_flower_setup_indr_block_cb() argument
1845 type_data); in nfp_flower_setup_indr_block_cb()
1940 enum tc_setup_type type, void *type_data, in nfp_flower_indr_setup_tc_cb() argument
1953 type_data, data, cleanup); in nfp_flower_indr_setup_tc_cb()
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c571 char type_data[512]; in test_btf_dump_struct_data() local
572 void *fops = type_data; in test_btf_dump_struct_data()
573 void *skb = type_data; in test_btf_dump_struct_data()
579 memset(type_data, 255, sizeof(type_data)); in test_btf_dump_struct_data()
/linux-5.19.10/drivers/net/ethernet/mscc/
Docelot_net.c402 void *type_data, in ocelot_setup_tc_block_cb() argument
407 if (!tc_cls_can_offload_and_chain0(priv->dev, type_data)) in ocelot_setup_tc_block_cb()
412 return ocelot_setup_tc_cls_matchall(priv, type_data, ingress); in ocelot_setup_tc_block_cb()
414 return ocelot_setup_tc_cls_flower(priv, type_data, ingress); in ocelot_setup_tc_block_cb()
421 void *type_data, in ocelot_setup_tc_block_cb_ig() argument
424 return ocelot_setup_tc_block_cb(type, type_data, in ocelot_setup_tc_block_cb_ig()
429 void *type_data, in ocelot_setup_tc_block_cb_eg() argument
432 return ocelot_setup_tc_block_cb(type, type_data, in ocelot_setup_tc_block_cb_eg()
481 void *type_data) in ocelot_setup_tc() argument
487 return ocelot_setup_tc_block(priv, type_data); in ocelot_setup_tc()

1234