/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_tc.c | 71 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/ |
D | sparx5_tc.c | 18 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 …]
|
D | sparx5_tc.h | 99 void *type_data);
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | tc_bindings.c | 35 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()
|
D | tc_bindings.h | 24 void *type_data); 28 void *type_data, void *data,
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 167 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 …]
|
D | tc.h | 37 void *type_data); 65 void *type_data) { return -EOPNOTSUPP; } in mlx5e_rep_setup_tc() argument
|
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 432 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 …]
|
D | enetc_qos.c | 199 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/ |
D | am65-cpsw-qos.c | 502 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 …]
|
D | am65-cpsw-qos.h | 35 void *type_data);
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | netdev.c | 77 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/ |
D | main.c | 31 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/ |
D | ice_repr.c | 208 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/ |
D | prestera_flow.c | 52 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/ |
D | spectrum_flow.c | 175 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/ |
D | bnxt_vfr.c | 149 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/ |
D | en_tc.h | 304 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/ |
D | hw_channel.c | 108 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/ |
D | otx2_tc.c | 1294 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/ |
D | nfp_port.c | 50 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/ |
D | main.c | 106 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/ |
D | tsnep_tc.c | 428 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/ |
D | mtk_ppe_offload.c | 553 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/ |
D | pkt_cls.h | 583 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,
|