]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix sending an invalid PFC error mask to MFW.
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>
Wed, 19 Apr 2017 10:19:53 +0000 (03:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2017 20:29:39 +0000 (16:29 -0400)
commit8db6cca6fc3d0904d8d57c4506292c31b22bf76d
tree3cbf797865c9e4f37e6642a7a8a6389e5002f81e
parent9b528812c8a22e61aad2c7f900c34cca29a1cfeb
qed: Fix sending an invalid PFC error mask to MFW.

PFC error-mask value is not supported by MFW, but this bit could be
set in the pfc bit-map of the operational parameters if remote device
supports it. These operational parameters are used as basis for
populating the dcbx config parameters. User provided configs will be
applied on top of these parameters and then send them to MFW when
requested. Driver need to clear the error-mask bit before sending the
config parameters to MFW.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c