[openib-general] the tests user/libibverbs/examples/*_pingpong.c doesn't support t he long format of the parameter rx-depth

Dotan Barak dotanb at mellanox.co.il
Thu Aug 11 05:08:06 PDT 2005


here is the code that handles the long parameters format in the test:

                static struct option long_options[] = {
                        { .name = "port",    .has_arg = 1, .val = 'p' },
                        { .name = "ib-dev",  .has_arg = 1, .val = 'd' },
                        { .name = "ib-port", .has_arg = 1, .val = 'i' },
                        { .name = "size",    .has_arg = 1, .val = 's' },
                        { .name = "iters",   .has_arg = 1, .val = 'n' },
                        { .name = "events",  .has_arg = 0, .val = 'e' },
                        { 0 }
                };


the following line should be added to all of the tests (ud_pingpong.c,
uc_pingpong.c, rc_pingpong.c)
		{ .name = "rx-depth",   .has_arg = 1, .val = 'r' },

Dotan Barak
Software Verification Engineer
Mellanox Technologies LTD
mailto:dotanb at mellanox.co.il
Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
P.O. Box 86 Yokneam 20692 ISRAEL.
Home: +972-4-8289408  Cell: 052-4222383

[ May the fork be with you ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050811/a2a8813d/attachment.html>


More information about the general mailing list