cxgb4 : dcb open-lldp interop fixes
authorAnish Bhatt <anish@chelsio.com>
Wed, 12 Nov 2014 07:30:51 +0000 (23:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 20:00:07 +0000 (15:00 -0500)
commitee7bc3cdc2702ba36930d477b76dacd5b18e8956
treef5d5941dee1c9a2b3295727c78a8a1425c58e461
parentfbf8e7211ac7858d3df4a4203c18da7a58560784
cxgb4 : dcb open-lldp interop fixes

* In LLD_MANAGED mode, traffic classes were being returned in reverse order to
  lldp agent.
* Priotype of strict is no longer the default returned.
* Change behaviour of getdcbx() based on discussions on lldp-devel

These were missed as there was no working fetch interface for open-lldp when
running in LLD_MANAGED mode till now.

Fixes: 76bcb31efc06 ("cxgb4 : Add DCBx support codebase and dcbnl_ops")
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c