From 48dc5eb21ccb7e9634202512a0f4be7692893976 Mon Sep 17 00:00:00 2001 From: Dmitry Akhmedzhanov Date: Sun, 10 May 2020 01:15:31 +0300 Subject: [PATCH] Removed warning message for ibv_post_send() fallback Signed-off-by: Dmitry Akhmedzhanov --- configure.ac | 2 +- src/perftest_parameters.c | 1 + src/perftest_resources.c | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index ebf44f29..3b1cf259 100755 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ # SOFTWARE. dnl Process this file with autoconf to produce a configure script. -AC_INIT([perftest],[5.91],[linux-rdma@vger.kernel.org]) +AC_INIT([perftest],[5.92],[linux-rdma@vger.kernel.org]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/perftest_parameters.c b/src/perftest_parameters.c index 57239031..1f49aef2 100755 --- a/src/perftest_parameters.c +++ b/src/perftest_parameters.c @@ -2831,6 +2831,7 @@ void ctx_print_test_info(struct perftest_parameters *user_param) #else printf(" PCIe relax order: %s\n", "Unsupported"); #endif + printf(" ibv_wr* API : %s\n", user_param->use_old_post_send ? "OFF" : "ON"); if (user_param->machine == CLIENT || user_param->duplex) { printf(" TX depth : %d\n",user_param->tx_depth); } diff --git a/src/perftest_resources.c b/src/perftest_resources.c index 88e6d8e7..ee0460df 100755 --- a/src/perftest_resources.c +++ b/src/perftest_resources.c @@ -1411,8 +1411,6 @@ int verify_params_with_device_context(struct ibv_context *context, { if (!user_param->use_old_post_send) { - fprintf(stderr, " Warning: The device chosen doesn't support WR post send API!\n"); - fprintf(stderr, " Warning: Falling back to using ibv_post_send()\n"); user_param->use_old_post_send = 1; } }