bnx2x: update fairness parameters following DCB negotiation
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 12 Aug 2013 23:25:00 +0000 (02:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Aug 2013 23:04:28 +0000 (16:04 -0700)
commit568e24260fdc33d8a172a4d8da799cace4111b6e
tree03ae6aa8bd2a9b9d71673966d357bd00a0c2e5a7
parent507393eb2909ddf39edf3f8f4cd0fd914b720006
bnx2x: update fairness parameters following DCB negotiation

ETS can be enabled as a result of DCB negotiation, then
fairness must be recalculated after each negotiation.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c