net/qede/base: dcbx dscp related extensions
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:51:36 +0000 (18:51 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit13c0ec8ae8b1c3fc662174425b294f2493de4c39
tree29adce8f2401a17ee4952887d6e547803469f80b
parent442fb29b39f83575686dec34b358133a459d3de5
net/qede/base: dcbx dscp related extensions

- Add an internal API ecore_dcbx_get_dscp_value() for getting the
dscp value for a given priority.

- Initialize dscp parameters in the dcbx-config cache to be used by
the clients for configuring dcbx parameters.

- Reset NIG_REG_DSCP_TO_TC_MAP_ENABLE register when user disables the dscp.

- Fix to always send "dscp + dcbx" update to FW.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dcbx.c
drivers/net/qede/base/ecore_dcbx.h