Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ice/
H A Dice_lib.c998 vsi->tc_cfg.ena_tc = 1; in ice_vsi_setup_q_map()
1023 if (!(vsi->tc_cfg.ena_tc & BIT(i))) { in ice_vsi_setup_q_map()
2038 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_tc_cfg()
2173 (u8)vsi->tc_cfg.ena_tc); in ice_set_agg_vsi()
2186 (u8)vsi->tc_cfg.ena_tc); in ice_set_agg_vsi()
2201 vsi->idx, vsi->tc_cfg.ena_tc, vsi->agg_node->agg_id, in ice_set_agg_vsi()
2213 if (!(vsi->tc_cfg.ena_tc & BIT(i))) in ice_vsi_cfg_tc_lan()
2229 dev_dbg(dev, "vsi->tc_cfg.ena_tc = %d\n", vsi->tc_cfg.ena_tc); in ice_vsi_cfg_tc_lan()
2230 ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_vsi_cfg_tc_lan()
3124 void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc) in ice_vsi_cfg_netdev_tc() argument
[all …]
H A 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()
191 vsi->tc_cfg.ena_tc = BIT(ice_get_first_droptc(vsi)); in ice_vsi_set_dcb_tc_cfg()
197 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
237 if (!(vsi->tc_cfg.ena_tc & BIT(n))) in ice_vsi_cfg_dcb_rings()
H A Dice_lib.h38 int ice_vsi_cfg_tc(struct ice_vsi *vsi, u8 ena_tc);
42 void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc);
H A Dice_dcb_lib.h71 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
H A Dice.h223 u8 ena_tc; member
248 u16 ena_tc; /* Tx map */ member
H A Dice_idc.c90 status = ice_cfg_vsi_rdma(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_add_rdma_qset()
H A Dice_vf_lib.c481 vsi->idx, vsi->tc_cfg.ena_tc); in ice_vf_rebuild_aggregator_node_cfg()
H A Dice_dcb_nl.c1070 if (tc_map & vsi->tc_cfg.ena_tc) { in ice_dcbnl_set_all()
H A Dice_main.c2814 status = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_prepare_xdp_rings()
2926 return ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_destroy_xdp_rings()
4159 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_vsi_recfg_qs()
4687 ice_vsi_cfg_netdev_tc(vsi, vsi->tc_cfg.ena_tc); in ice_cfg_netdev()
7437 ice_vsi_cfg_netdev_tc(vsi, vsi->tc_cfg.ena_tc); in ice_vsi_open()
9142 if (ena_tc_qdisc == vsi->tc_cfg.ena_tc && in ice_setup_tc_mqprio_qdisc()