From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v7 3/3] app/testpmd: add a command to add many MAC addrs Date: Fri, 05 May 2017 16:24:15 +0200 Message-ID: <4247821.b6tKX1pDh8@xps> References: <1493729065-17090-1-git-send-email-wei.dai@intel.com> <1493944802-52943-1-git-send-email-wei.dai@intel.com> <1493944802-52943-4-git-send-email-wei.dai@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, wenzhuo.lu@intel.com, harish.patil@cavium.com, rasesh.mody@cavium.com, stephen.hurd@broadcom.com, ajit.khaparde@broadcom.com, helin.zhang@intel.com, konstantin.ananyev@intel.com, jingjing.wu@intel.com, jing.d.chen@intel.com, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com, yuanhan.liu@linux.intel.com, maxime.coquelin@redhat.com, shepard.siegel@atomicrules.com, ed.czeck@atomicrules.com, john.miller@atomicrules.com To: Wei Dai Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 576511C4A for ; Fri, 5 May 2017 16:24:17 +0200 (CEST) In-Reply-To: <1493944802-52943-4-git-send-email-wei.dai@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/05/2017 02:40, Wei Dai: > This patch is added to introduce a testpmd command which > is used to add more than one MAC addresses one time. > This command can simplify the test for the change where > the type of return value of adding MAC address. > Normally a MAC address may fails to be added only after > many MAC addresses have been added. > Without this command, a tester may only trigger failed > MAC address by running many times of testpmd command > 'mac_addr add' . > > Signed-off-by: Wei Dai > --- > app/test-pmd/cmdline.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) This patch has not been reviewed. It is not a fix and I am not sure it is needed.