|
@@ -88,31 +88,6 @@ const char opa_vnic_driver_version[] = DRV_VERSION;
|
|
/* Maximum number of VNIC ports supported */
|
|
/* Maximum number of VNIC ports supported */
|
|
#define OPA_VNIC_MAX_NUM_VPORT 255
|
|
#define OPA_VNIC_MAX_NUM_VPORT 255
|
|
|
|
|
|
-struct opa_class_port_info {
|
|
|
|
- u8 base_version;
|
|
|
|
- u8 class_version;
|
|
|
|
- __be16 cap_mask;
|
|
|
|
- __be32 cap_mask2_resp_time;
|
|
|
|
-
|
|
|
|
- u8 redirect_gid[16];
|
|
|
|
- __be32 redirect_tc_fl;
|
|
|
|
- __be32 redirect_lid;
|
|
|
|
- __be32 redirect_sl_qp;
|
|
|
|
- __be32 redirect_qkey;
|
|
|
|
-
|
|
|
|
- u8 trap_gid[16];
|
|
|
|
- __be32 trap_tc_fl;
|
|
|
|
- __be32 trap_lid;
|
|
|
|
- __be32 trap_hl_qp;
|
|
|
|
- __be32 trap_qkey;
|
|
|
|
-
|
|
|
|
- __be16 trap_pkey;
|
|
|
|
- __be16 redirect_pkey;
|
|
|
|
-
|
|
|
|
- u8 trap_sl_rsvd;
|
|
|
|
- u8 reserved[3];
|
|
|
|
-} __packed;
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* struct opa_vnic_vema_port -- VNIC VEMA port details
|
|
* struct opa_vnic_vema_port -- VNIC VEMA port details
|
|
* @cport: pointer to port
|
|
* @cport: pointer to port
|