/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Definitions private to this file
*/
0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
0xff, 0xff, 0xff, 0xff, 0xff, 0xff
};
int eib_setbit_mod67[] = {
-1, 0, 1, 39, 2, 15, 40, 23,
3, 12, 16, 59, 41, 19, 24, 54,
4, -1, 13, 10, 17, 62, 60, 28,
42, 30, 20, 51, 25, 44, 55, 47,
5, 32, -1, 38, 14, 22, 11, 58,
18, 53, 63, 9, 61, 27, 29, 50,
43, 46, 31, 37, 21, 57, 52, 8,
26, 49, 45, 36, 56, 7, 48, 35,
6, 34, 33
};
char *eib_pvt_props[] = {
};
{ \
if ((propval) == -1) { \
"ddi_prop_get_int() could not find " \
"property '%s'", (propname)); \
goto get_props_fail; \
} \
}
{ \
if ((propval) == -1) { \
"ddi_prop_get_int64() could not find " \
"property '%s'", (propname)); \
goto get_props_fail; \
} \
}
{ \
int rv; \
\
\
(propval_p)); \
if (rv != DDI_PROP_SUCCESS) { \
"ddi_prop_lookup_string() could not find " \
"property '%s'", (propname)); \
goto get_props_fail; \
} \
}
/*
*/
/*
* 1. Verification of descriptor list length in the received packets is
* disabled, since experimentation shows that BX does not set the desc
* list length correctly. True for EoIB nexus as well.
*/
/*
* 2. LSO/Checksum_Offload for EoIB packets does not seem to be supported
* currently, so we'll disable both temporarily.
*/
/*
* 3. The "multicast entry" types are not clearly defined in the spec
* the type of the context table entries, so we will treat these
* addresses just like regular vnic addresses.
*/
/*
* 4. VHUB updates from the gateways provide us with destination LIDs,
* and we will hand-create these address vectors.
*/
/*
* 5. The older BX software does not seem to set the VP flag correctly
* in the login acknowledgements even when it successfully allocates
* a vlan, so we will ignore it for now.
*/
/*
* 6. Each vhub table is expected to carry a checksum at the end to
* verify the contents of the received vhub table. The current BX
* will ignore the vhub table checksum verification for now.
*/
int
{
int val;
char *str;
/*
* The interface speed is currently set to 10Gb/s, since we don't
* have a way yet to figure this virtual-wire specific data from
* the gateway. The rest of the properties are handed over to us
* by the EoIB nexus.
*/
return (EIB_E_SUCCESS);
return (EIB_E_FAILURE);
}
void
{
char *str;
gwp->pp_gw_guid);
gwp->pp_gw_portid);
if (gwp->pp_gw_system_name) {
}
if (gwp->pp_gw_port_name) {
}
if (gwp->pp_gw_vendor_id) {
}
}
void
{
/*
* Free any allocations
*/
}
}
}
/*
* Free space allocated for holding the props
*/
}