[ofa-general] Re: [PATCH] libibmad/gs.c: Factor out common code
Sasha Khapyorsky
sashak at voltaire.com
Sat Feb 7 03:57:56 PST 2009
On 16:48 Thu 05 Feb , Hal Rosenstock wrote:
>
> This patch factors out some common code in gs.c. common_query_setup is
> used by both pma_query_via and performance_reset_via.
Should rcvbuf be initialized a common code? I'm not sure, but if it is
valid then mad_rpc call could look like:
mad_rpc(srcport, &rpc, dest, NULL, rcvbuf);
to prevent empty payload copying in mad_build_pkt().
Sasha
More information about the general
mailing list