qed: add support for dcbx.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Tue, 17 May 2016 10:44:26 +0000 (06:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 16:29:34 +0000 (12:29 -0400)
commit39651abd28146fff2bfac63d68a7a56250a4aead
tree15716824ac5f57cb1d047efe4df82a9e474e7150
parentccf928249c92b04ec9527e97a7c6b2cd8cd9dc10
qed: add support for dcbx.

This patch adds the necessary driver support for Management Firmware to
configure the device/firmware with the dcbx results. Management Firmware
is responsible for communicating the DCBX and driving the negotiation,
but the driver has responsibility of receiving async notification and
configuring the results in hw/fw. This patch also adds the dcbx support for
future protocols (e.g., FCoE) as preparation to their imminent submission.

Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/Makefile
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_cxt.h
drivers/net/ethernet/qlogic/qed/qed_dcbx.c [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_dcbx.h [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_mcp.c
drivers/net/ethernet/qlogic/qed/qed_sp.h
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
include/linux/qed/qed_if.h