Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dtc.c178 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()
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
367 void *type_data, void *indr_priv) in mlx5e_rep_indr_setup_ft_cb() argument
370 struct flow_cls_offload *f = type_data; in mlx5e_rep_indr_setup_ft_cb()
[all …]
A Dtc.h37 void *type_data);
65 void *type_data) { return -EOPNOTSUPP; } in mlx5e_rep_setup_tc() argument
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.h396 void *type_data);
419 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data);
421 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data);
422 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data);
423 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
425 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data);
484 #define enetc_setup_tc_taprio(ndev, type_data) -EOPNOTSUPP argument
486 #define enetc_setup_tc_cbs(ndev, type_data) -EOPNOTSUPP argument
487 #define enetc_setup_tc_txtime(ndev, type_data) -EOPNOTSUPP argument
488 #define enetc_setup_tc_psfp(ndev, type_data) -EOPNOTSUPP argument
A 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()
1516 int enetc_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in enetc_setup_tc_block_cb() argument
1526 return enetc_setup_tc_cls_flower(netdev_priv(ndev), type_data); in enetc_setup_tc_block_cb()
1560 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data) in enetc_setup_tc_psfp() argument
1563 struct flow_block_offload *f = type_data; in enetc_setup_tc_psfp()
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_flow.c49 void *type_data, void *cb_priv) in prestera_flow_block_cb() argument
55 return prestera_flow_block_flower_cb(block, type_data); in prestera_flow_block_cb()
57 return prestera_flow_block_mall_cb(block, type_data); in prestera_flow_block_cb()
/linux/drivers/net/ethernet/intel/ice/
A Dice_repr.c160 ice_repr_setup_tc_block_cb(enum tc_setup_type type, void *type_data, in ice_repr_setup_tc_block_cb() argument
163 struct flow_cls_offload *flower = (struct flow_cls_offload *)type_data; in ice_repr_setup_tc_block_cb()
178 void *type_data) in ice_repr_setup_tc() argument
185 type_data, in ice_repr_setup_tc()
/linux/drivers/net/ethernet/netronome/nfp/abm/
A 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()
A 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/drivers/net/ethernet/ti/
A 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()
A Dam65-cpsw-qos.h25 void *type_data);
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_tc.c937 void *type_data, void *cb_priv) in otx2_setup_tc_block_ingress_cb() argument
941 if (!tc_cls_can_offload_and_chain0(nic->netdev, type_data)) in otx2_setup_tc_block_ingress_cb()
946 return otx2_setup_tc_cls_flower(nic, type_data); in otx2_setup_tc_block_ingress_cb()
948 return otx2_setup_tc_ingress_matchall(nic, type_data); in otx2_setup_tc_block_ingress_cb()
973 void *type_data, void *cb_priv) in otx2_setup_tc_block_egress_cb() argument
977 if (!tc_cls_can_offload_and_chain0(nic->netdev, type_data)) in otx2_setup_tc_block_egress_cb()
982 return otx2_setup_tc_egress_matchall(nic, type_data); in otx2_setup_tc_block_egress_cb()
1017 void *type_data) in otx2_setup_tc() argument
1021 return otx2_setup_tc_block(netdev, type_data); in otx2_setup_tc()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A 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/drivers/net/netdevsim/
A 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/drivers/net/ethernet/broadcom/bnxt/
A 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/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.h265 int mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
299 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
324 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
/linux/drivers/net/ethernet/mediatek/
A Dmtk_ppe_offload.c402 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
404 struct flow_cls_offload *cls = type_data; in mtk_eth_setup_tc_block_cb()
484 void *type_data) in mtk_eth_setup_tc() argument
487 return mtk_eth_setup_tc_block(dev, type_data); in mtk_eth_setup_tc()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A 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/include/net/
A Dpkt_cls.h540 void *type_data, bool err_stop, bool rtnl_held);
542 enum tc_setup_type type, void *type_data, bool err_stop,
545 enum tc_setup_type type, void *type_data, bool err_stop,
550 enum tc_setup_type type, void *type_data, bool err_stop,
554 enum tc_setup_type type, void *type_data,
A Dsch_generic.h381 void *type_data);
383 void *type_data);
701 void *type_data);
704 enum tc_setup_type type, void *type_data,
709 void *type_data) in qdisc_offload_dump_helper() argument
718 enum tc_setup_type type, void *type_data, in qdisc_offload_graft_helper() argument
/linux/drivers/net/ethernet/netronome/nfp/
A 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()
A Dnfp_app.h133 enum tc_setup_type type, void *type_data);
312 enum tc_setup_type type, void *type_data) in nfp_app_setup_tc() argument
316 return app->type->setup_tc(app, netdev, type, type_data); in nfp_app_setup_tc()
/linux/drivers/net/ethernet/mscc/
A Docelot_net.c298 void *type_data, in ocelot_setup_tc_block_cb() argument
303 if (!tc_cls_can_offload_and_chain0(priv->dev, type_data)) in ocelot_setup_tc_block_cb()
308 return ocelot_setup_tc_cls_matchall(priv, type_data, ingress); in ocelot_setup_tc_block_cb()
310 return ocelot_setup_tc_cls_flower(priv, type_data, ingress); in ocelot_setup_tc_block_cb()
317 void *type_data, in ocelot_setup_tc_block_cb_ig() argument
320 return ocelot_setup_tc_block_cb(type, type_data, in ocelot_setup_tc_block_cb_ig()
325 void *type_data, in ocelot_setup_tc_block_cb_eg() argument
328 return ocelot_setup_tc_block_cb(type, type_data, in ocelot_setup_tc_block_cb_eg()
377 void *type_data) in ocelot_setup_tc() argument
383 return ocelot_setup_tc_block(priv, type_data); in ocelot_setup_tc()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Doffload.c1681 void *type_data, void *cb_priv) in nfp_flower_setup_tc_block_cb() argument
1683 struct flow_cls_common_offload *common = type_data; in nfp_flower_setup_tc_block_cb()
1692 type_data); in nfp_flower_setup_tc_block_cb()
1695 type_data); in nfp_flower_setup_tc_block_cb()
1747 enum tc_setup_type type, void *type_data) in nfp_flower_setup_tc() argument
1751 return nfp_flower_setup_tc_block(netdev, type_data); in nfp_flower_setup_tc()
1778 void *type_data, void *cb_priv) in nfp_flower_setup_indr_block_cb() argument
1785 type_data); in nfp_flower_setup_indr_block_cb()
1866 enum tc_setup_type type, void *type_data, in nfp_flower_indr_setup_tc_cb() argument
1876 type_data, data, cleanup); in nfp_flower_indr_setup_tc_cb()
/linux/net/dsa/
A Dslave.c1254 return dsa_slave_setup_tc_cls_matchall(dev, type_data, ingress); in dsa_slave_setup_tc_block_cb()
1256 return dsa_slave_setup_tc_cls_flower(dev, type_data, ingress); in dsa_slave_setup_tc_block_cb()
1263 void *type_data, void *cb_priv) in dsa_slave_setup_tc_block_cb_ig() argument
1265 return dsa_slave_setup_tc_block_cb(type, type_data, cb_priv, true); in dsa_slave_setup_tc_block_cb_ig()
1269 void *type_data, void *cb_priv) in dsa_slave_setup_tc_block_cb_eg() argument
1271 return dsa_slave_setup_tc_block_cb(type, type_data, cb_priv, false); in dsa_slave_setup_tc_block_cb_eg()
1317 void *type_data) in dsa_slave_setup_ft_block() argument
1329 void *type_data) in dsa_slave_setup_tc() argument
1336 return dsa_slave_setup_tc_block(dev, type_data); in dsa_slave_setup_tc()
1338 return dsa_slave_setup_ft_block(ds, dp->index, type_data); in dsa_slave_setup_tc()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dbtf_dump.c548 char type_data[512]; in test_btf_dump_struct_data() local
549 void *fops = type_data; in test_btf_dump_struct_data()
550 void *skb = type_data; in test_btf_dump_struct_data()
556 memset(type_data, 255, sizeof(type_data)); in test_btf_dump_struct_data()

Completed in 89 milliseconds

1234