commit | 2a1cb1bf439f6703f82f61d0424b41f42544e3ff | [log] [tgz] |
---|---|---|
author | Denis Bolotin <denis.bolotin@cavium.com> | Tue Aug 07 15:48:08 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 07 13:22:10 2018 -0700 |
tree | 08ee6959e32b3c2967daaf99b19e7823bc8e29f2 | |
parent | 5941923da29e84bc9e2a1abb2c14fffaf8d71e2f [diff] |
qed: Add DCBX API - qed_dcbx_get_priority_tc() The API receives a priority and looks for the TC it is mapped to in the operational DCBX configuration. The API returns QED_DCBX_DEFAULT_TC (0) when DCBX is disabled. Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com> Signed-off-by: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>