From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 74BC81B1A0 for ; Wed, 15 Nov 2017 16:46:22 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from xuemingl@mellanox.com) with ESMTPS (AES256-SHA encrypted); 15 Nov 2017 17:46:18 +0200 Received: from dev-r630-06.mtbc.labs.mlnx (dev-r630-06.mtbc.labs.mlnx [10.12.205.180]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id vAFFkHxX004818; Wed, 15 Nov 2017 17:46:18 +0200 Received: from dev-r630-06.mtbc.labs.mlnx (localhost [127.0.0.1]) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7) with ESMTP id vAFFkGMW008995; Wed, 15 Nov 2017 23:46:16 +0800 Received: (from xuemingl@localhost) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id vAFFk9Gb008992; Wed, 15 Nov 2017 23:46:09 +0800 From: Xueming Li To: Olivier Matz , Jingjing Wu Cc: Xueming Li , dev@dpdk.org Date: Wed, 15 Nov 2017 23:45:42 +0800 Message-Id: <20171115154545.8936-1-xuemingl@mellanox.com> X-Mailer: git-send-email 2.13.3 Subject: [dpdk-dev] [PATCH 0/3] enable echo when CLI loading from file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 15:46:22 -0000 Current "load" command load CLI batch from file and run in silent. This patch set use highest bit of verbose level to enable CLI echo. This will be very helpful to run a set of CLI from file and know which one prints out error message. Xueming Li (3): lib/cmdline: add echo support in batch loading from file app/testpmd: support command echo in CLI batch loading test: update batch loading test app/test-pmd/cmdline.c | 3 ++- lib/librte_cmdline/cmdline_socket.c | 5 +++-- lib/librte_cmdline/cmdline_socket.h | 3 ++- test/test/test_cmdline_lib.c | 10 +++++----- 4 files changed, 12 insertions(+), 9 deletions(-) -- 2.13.3