[ofw] address translation

Sean Hefty sean.hefty at intel.com
Mon Nov 3 16:47:24 PST 2008


>You get into trouble if you assign the same IP address to multiple adapters.
>As long as you have a many IP to one adapter instance relationship you will be
>fine - IBAT will return you a path record, which includes the pkey, if you use
>the IBAT_MAC_TO_PATH IOCTL.  The IBAT_MAC_TO_GID IOCTL doesn't return the pkey,
>but could since the information is available when it reports the GID - it just
>needs to be added to the output parameters of the IOCTL.

If you use the address translation to map to a multicast group, which may need
to be created, then the pkey is missing.  Or if you want to do the PR query
outside of IBAT, it's needed.

IBAT provides a tuple <ca guid, port guid, pkey, port number>

Using the port guid, you can get the IP addresses, but the association of the
pkey is unknown.  Is it available in the MAC address?

- Sean




More information about the ofw mailing list