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>
This commit is contained in:

committed by
David S. Miller

parent
ccf928249c
commit
39651abd28
@@ -25,6 +25,15 @@
|
||||
#include <linux/qed/common_hsi.h>
|
||||
#include <linux/qed/qed_chain.h>
|
||||
|
||||
enum dcbx_protocol_type {
|
||||
DCBX_PROTOCOL_ISCSI,
|
||||
DCBX_PROTOCOL_FCOE,
|
||||
DCBX_PROTOCOL_ROCE,
|
||||
DCBX_PROTOCOL_ROCE_V2,
|
||||
DCBX_PROTOCOL_ETH,
|
||||
DCBX_MAX_PROTOCOL_TYPE
|
||||
};
|
||||
|
||||
enum qed_led_mode {
|
||||
QED_LED_MODE_OFF,
|
||||
QED_LED_MODE_ON,
|
||||
|
Reference in New Issue
Block a user