Daniel Machon 1df99338e6 net: dcb: add helper functions to retrieve PCP and DSCP rewrite maps
Add two new helper functions to retrieve a mapping of priority to PCP
and DSCP bitmasks, where each bitmap contains ones in positions that
match a rewrite entry.

dcb_ieee_getrewr_prio_dscp_mask_map() reuses the dcb_ieee_app_prio_map,
as this struct is already used for a similar mapping in the app table.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-20 09:33:22 +00:00
..
2023-01-12 17:02:20 -06:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-17 14:06:53 -06:00
2023-01-13 20:44:20 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-26 09:09:23 +00:00
2022-12-13 15:47:48 -08:00
2023-01-07 09:30:26 +00:00
2022-12-13 15:47:48 -08:00
2023-01-10 15:03:06 -06:00
2022-12-13 15:47:48 -08:00
2022-12-16 03:54:54 -08:00