[ofa-general] Re: initial set of "direct" SDP tests in netperf

Scott Weitzenkamp (sweitzen) sweitzen at cisco.com
Fri Apr 27 09:26:18 PDT 2007


> > Please note that you should *only* ever stick the SDP family value
> > in the socket(3) call. All addresses for connect, bind etc
> > are AF_INET, since SDP uses IP addresses for everything.
> 
> Sounds like something trying to be just a little bit pregnant.
> 
> Thankfully, I'm only munging the getaddrinfo() data for the 
> local endpoint.

See bug https://bugs.openfabrics.org//show_bug.cgi?id=294, I agree
connect() and bind() should allow AF_INET_SDP.

About the "direct" SDP tests, instead of copy/pasting the TCP code, how
about if you just had a command-line argument that specified SDP, like
you do with neterver -6 to specify IPv6 instead of IPv4?

Speaking of IPv6, does netperf work with IPv6 on Linux?

Scott



More information about the general mailing list