[ofw] post send in kernel mode

Sean Hefty sean.hefty at intel.com
Wed Aug 26 13:18:19 PDT 2009


>What exactly are you loooking for?
>
>If the only thing is given an ip adreses gate the remote mac (GID) and
>the interface to work on, than I guess this can be done.

The full functionality that's required should be:

1. given a remote IP, find the local IP address to use
2. map the local IP address to an rdma device
3. map the remote IP to a GID 
4. obtain a path record between the local rdma device (GID, SL, PKey)
   and remote GID

in user space, this maps to:

WSAIoctl - socket SIO_ROUTING_INTERFACE_QUERY
DeviceIoControl - IOCTL_IBAT_IP_TO_PORT
socket bind()
socket getsockname()
IBAT:Resolve()

The three socket calls are the problem.

- Sean




More information about the ofw mailing list