[openib-general] Re: port_num

Michael S. Tsirkin mst at mellanox.co.il
Wed Mar 15 14:54:31 PST 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: RE: port_num
> 
> >Sean, how come rdma_cm_id port_num field is only 8 bit?
> >I think it must be at least 16 - I need to get at the port number
> >after binding it with a wildcard 0 port.
> 
> This is the port number of the rdma device, not the TCP port number.  The TCP
> port number is part of the rdma_route::rdma_addr::src_addr.

Wanted to make sure: will CMA let me bind to port 0, and select a port for me?

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list