Lines Matching defs:nic
57 int otx2_tc_alloc_ent_bitmap(struct otx2_nic *nic) in otx2_tc_alloc_ent_bitmap()
135 static int otx2_set_matchall_egress_rate(struct otx2_nic *nic, u32 burst, u32 maxrate) in otx2_set_matchall_egress_rate()
171 static int otx2_tc_validate_flow(struct otx2_nic *nic, in otx2_tc_validate_flow()
193 static int otx2_tc_egress_matchall_install(struct otx2_nic *nic, in otx2_tc_egress_matchall_install()
236 static int otx2_tc_egress_matchall_delete(struct otx2_nic *nic, in otx2_tc_egress_matchall_delete()
252 static int otx2_tc_act_set_police(struct otx2_nic *nic, in otx2_tc_act_set_police()
304 static int otx2_tc_parse_actions(struct otx2_nic *nic, in otx2_tc_parse_actions()
394 static int otx2_tc_prepare_flow(struct otx2_nic *nic, struct otx2_tc_flow *node, in otx2_tc_prepare_flow()
594 static int otx2_del_mcam_flow_entry(struct otx2_nic *nic, u16 entry) in otx2_del_mcam_flow_entry()
621 static int otx2_tc_del_flow(struct otx2_nic *nic, in otx2_tc_del_flow()
672 static int otx2_tc_add_flow(struct otx2_nic *nic, in otx2_tc_add_flow()
780 static int otx2_tc_get_flow_stats(struct otx2_nic *nic, in otx2_tc_get_flow_stats()
840 static int otx2_setup_tc_cls_flower(struct otx2_nic *nic, in otx2_setup_tc_cls_flower()
855 static int otx2_tc_ingress_matchall_install(struct otx2_nic *nic, in otx2_tc_ingress_matchall_install()
904 static int otx2_tc_ingress_matchall_delete(struct otx2_nic *nic, in otx2_tc_ingress_matchall_delete()
920 static int otx2_setup_tc_ingress_matchall(struct otx2_nic *nic, in otx2_setup_tc_ingress_matchall()
939 struct otx2_nic *nic = cb_priv; in otx2_setup_tc_block_ingress_cb() local
956 static int otx2_setup_tc_egress_matchall(struct otx2_nic *nic, in otx2_setup_tc_egress_matchall()
975 struct otx2_nic *nic = cb_priv; in otx2_setup_tc_block_egress_cb() local
995 struct otx2_nic *nic = netdev_priv(netdev); in otx2_setup_tc_block() local
1034 int otx2_init_tc(struct otx2_nic *nic) in otx2_init_tc()
1056 void otx2_shutdown_tc(struct otx2_nic *nic) in otx2_shutdown_tc()