diff options
author | Daniel Machon <daniel.machon@microchip.com> | 2023-01-18 22:08:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-20 09:33:22 +0000 |
commit | 1df99338e6d4e96178b68b3e17bab33e9f1eb628 (patch) | |
tree | 74313469f6b023a1a73f149587928e8ba493fff4 /security/lockdown | |
parent | 622f1b2fae2eea28a80b04f130e3bb54227699f8 (diff) |
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>
Diffstat (limited to 'security/lockdown')
0 files changed, 0 insertions, 0 deletions