Home
last modified time | relevance | path

Searched refs:dscp_rewr_map (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_dcb.c49 struct dcb_ieee_app_prio_map dscp_rewr_map = {0}; in lan966x_dcb_app_update() local
87 dcb_getrewr_prio_dscp_mask_map(dev, &dscp_rewr_map); in lan966x_dcb_app_update()
88 for (int i = 0; i < ARRAY_SIZE(dscp_rewr_map.map); i++) { in lan966x_dcb_app_update()
89 if (!dscp_rewr_map.map[i]) in lan966x_dcb_app_update()
93 qos.dscp_rewr.map[i] = fls64(dscp_rewr_map.map[i]) - 1; in lan966x_dcb_app_update()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_dcb.c136 struct dcb_ieee_app_prio_map dscp_rewr_map = {0}; in sparx5_dcb_app_update() local
181 dcb_getrewr_prio_dscp_mask_map(dev, &dscp_rewr_map); in sparx5_dcb_app_update()
182 for (i = 0; i < ARRAY_SIZE(dscp_rewr_map.map); i++) { in sparx5_dcb_app_update()
183 if (!dscp_rewr_map.map[i]) in sparx5_dcb_app_update()
193 dscp = fls64(dscp_rewr_map.map[i]) - 1; in sparx5_dcb_app_update()