cxgb4: update supported DCB version
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 14 Sep 2018 12:05:55 +0000 (17:35 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Sep 2018 15:50:23 +0000 (08:50 -0700)
commitc3ec8bcceb07ab81e4ff017b4ebbacc137a5a15e
treedfe4bcbb9b2866dd7cd75b064bd95ca51ace3f9c
parent992bea8e40b7f5d2ad5e59ce167556a84da388e2
cxgb4: update supported DCB version

- In CXGB4_DCB_STATE_FW_INCOMPLETE state check if the dcb
  version is changed and update the dcb supported version.

- Also, fill the priority code point value for priority
  based flow control.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
drivers/net/ethernet/chelsio/cxgb4/l2t.c