X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnx2x%2Fecore_mfw_req.h;h=4ffd9daf76009abdea7a7a752b74a48ec072c2c4;hb=585cacc67faadb1effe1cc47e817cbd380b8d354;hp=fe94504812c26341e5008bb14a166ad99a161d14;hpb=688654bf32ea5841f8d157c5c64d0918ad019474;p=dpdk.git diff --git a/drivers/net/bnx2x/ecore_mfw_req.h b/drivers/net/bnx2x/ecore_mfw_req.h index fe94504812..4ffd9daf76 100644 --- a/drivers/net/bnx2x/ecore_mfw_req.h +++ b/drivers/net/bnx2x/ecore_mfw_req.h @@ -14,7 +14,6 @@ #define ECORE_MFW_REQ_H - #define PORT_0 0 #define PORT_1 1 #define PORT_MAX 2 @@ -143,6 +142,15 @@ struct iscsi_stats_info { uint8_t mac_add1[8]; /* Additional Programmed MAC Addr 1. */ /* QoS Priority (per 802.1p). 0-7255 */ uint32_t qos_priority; +#define ISCSI_QOS_PRIORITY_OFFSET 0 +#define ISCSI_QOS_PRIORITY_MASK (0xffff) + +#define ISCSI_IP_ADDRESS_TYPE_OFFSET 30 +#define ISCSI_IP_ADDRESS_TYPE_MASK (3 << 30) +/* Driver does not have the IP address and type populated */ +#define ISCSI_IP_ADDRESS_TYPE_NOT_SET (0 << 30) +#define ISCSI_IP_ADDRESS_TYPE_IPV4 (1 << 30) /* IPV4 IP address set */ +#define ISCSI_IP_ADDRESS_TYPE_IPV6 (2 << 30) /* IPV6 IP address set */ uint8_t initiator_name[64]; /* iSCSI Boot Initiator Node name. */ @@ -181,5 +189,4 @@ union drv_info_to_mcp { struct iscsi_stats_info iscsi_stat; }; - #endif /* ECORE_MFW_REQ_H */