Home
last modified time | relevance | path

Searched refs:ena_tc (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c14 u8 i, num_tc, ena_tc = 1; in ice_dcb_get_ena_tc() local
19 ena_tc |= BIT(i); in ice_dcb_get_ena_tc()
21 return ena_tc; in ice_dcb_get_ena_tc()
43 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_is_pfc_causing_hung_q()
186 vsi->tc_cfg.ena_tc = ice_dcb_get_ena_tc(cfg); in ice_vsi_set_dcb_tc_cfg()
190 vsi->tc_cfg.ena_tc = BIT(ice_get_first_droptc(vsi)); in ice_vsi_set_dcb_tc_cfg()
196 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
236 if (!(vsi->tc_cfg.ena_tc & BIT(n))) in ice_vsi_cfg_dcb_rings()
Dice_lib.c1028 vsi->tc_cfg.ena_tc = 1; in ice_vsi_setup_q_map()
1053 if (!(vsi->tc_cfg.ena_tc & BIT(i))) { in ice_vsi_setup_q_map()
2201 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_tc_cfg()
2336 (u8)vsi->tc_cfg.ena_tc); in ice_set_agg_vsi()
2349 (u8)vsi->tc_cfg.ena_tc); in ice_set_agg_vsi()
2364 vsi->idx, vsi->tc_cfg.ena_tc, vsi->agg_node->agg_id, in ice_set_agg_vsi()
2376 if (!(vsi->tc_cfg.ena_tc & BIT(i))) in ice_vsi_cfg_tc_lan()
2389 dev_dbg(dev, "vsi->tc_cfg.ena_tc = %d\n", vsi->tc_cfg.ena_tc); in ice_vsi_cfg_tc_lan()
2390 ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_vsi_cfg_tc_lan()
3252 void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc) in ice_vsi_cfg_netdev_tc() argument
[all …]
Dice_lib.h85 int ice_vsi_cfg_tc(struct ice_vsi *vsi, u8 ena_tc);
89 void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc);
Dice_dcb_lib.h71 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
Dice.h218 u8 ena_tc; member
243 u16 ena_tc; /* Tx map */ member
Dice_idc.c90 status = ice_cfg_vsi_rdma(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_add_rdma_qset()
Dice_vf_lib.c466 vsi->idx, vsi->tc_cfg.ena_tc); in ice_vf_rebuild_aggregator_node_cfg()
Dice_dcb_nl.c1070 if (tc_map & vsi->tc_cfg.ena_tc) { in ice_dcbnl_set_all()
Dice_main.c2748 status = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_prepare_xdp_rings()
2861 return ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_destroy_xdp_rings()
4427 ice_vsi_cfg_netdev_tc(vsi, vsi->tc_cfg.ena_tc); in ice_cfg_netdev()
7126 ice_vsi_cfg_netdev_tc(vsi, vsi->tc_cfg.ena_tc); in ice_vsi_open()
8781 if (ena_tc_qdisc == vsi->tc_cfg.ena_tc && in ice_setup_tc_mqprio_qdisc()