Searched refs:ena_tc (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.c | 998 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 D | ice_dcb_lib.c | 14 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 D | ice_lib.h | 38 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 D | ice_dcb_lib.h | 71 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
|
H A D | ice.h | 223 u8 ena_tc; member 248 u16 ena_tc; /* Tx map */ member
|
H A D | ice_idc.c | 90 status = ice_cfg_vsi_rdma(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_add_rdma_qset()
|
H A D | ice_vf_lib.c | 481 vsi->idx, vsi->tc_cfg.ena_tc); in ice_vf_rebuild_aggregator_node_cfg()
|
H A D | ice_dcb_nl.c | 1070 if (tc_map & vsi->tc_cfg.ena_tc) { in ice_dcbnl_set_all()
|
H A D | ice_main.c | 2814 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()
|