Home
last modified time | relevance | path

Searched refs:tc_mask (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c172 u8 tc_mask = 1 << tc; in mlx4_en_dcbnl_set_all() local
176 tx_ppp &= ~tc_mask; in mlx4_en_dcbnl_set_all()
177 rx_ppp &= ~tc_mask; in mlx4_en_dcbnl_set_all()
180 tx_ppp |= tc_mask; in mlx4_en_dcbnl_set_all()
181 rx_ppp |= tc_mask; in mlx4_en_dcbnl_set_all()
184 tx_ppp |= tc_mask; in mlx4_en_dcbnl_set_all()
185 rx_ppp &= ~tc_mask; in mlx4_en_dcbnl_set_all()
188 tx_ppp &= ~tc_mask; in mlx4_en_dcbnl_set_all()
189 rx_ppp |= tc_mask; in mlx4_en_dcbnl_set_all()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c245 unsigned int tc_mask = 0, pri_mask = 0; in bnxt_hwrm_queue_pfc_cfg() local
258 tc_mask |= 1 << i; in bnxt_hwrm_queue_pfc_cfg()
261 if (tc_mask & (1 << i)) in bnxt_hwrm_queue_pfc_cfg()
268 if (tc_mask & (1 << i)) { in bnxt_hwrm_queue_pfc_cfg()
279 bnxt_queue_remap(bp, tc_mask); in bnxt_hwrm_queue_pfc_cfg()
/linux-5.19.10/net/sched/
Dsch_taprio.c1208 static u32 tc_map_to_queue_mask(struct net_device *dev, u32 tc_mask) in tc_map_to_queue_mask() argument
1215 if (!(tc_mask & BIT(i))) in tc_map_to_queue_mask()