Message ID | 1559583160-13944-13-git-send-email-anoobj@marvell.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Delegated to: | Jerin Jacob |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC9C31B9B7; Mon, 3 Jun 2019 19:34:37 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 7E3321B9ED for <dev@dpdk.org>; Mon, 3 Jun 2019 19:34:36 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x53HKkYd000885; Mon, 3 Jun 2019 10:34:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=ZdChVGpfg31E8QD5sCwB0z4DmyDtNiGuopSxyTyCVxQ=; b=zSBzudnhLccDd/1WrimafCDxralg1s+g6DiwqZNa0baCSbHSCRuCyhVZRIhYFVBacpYV rD+KunwRcf0JqqsoTs3MeKtVjTHGEmBryxrG7CSulgq++C3DTGK+nhPF3PotrVkrEX4S Xl0YMV9/ZmW6lnhD2wOzXedPE6Pb8fLaBgj2D/y1hSjqT/cezrZqIh3dAFWXF6CbtpFX 8AepOjQDw5kVqWXV+dRNJfmP2NpZtDKcC2IBs9WAahdA4rBH+GKPgXSSbZv4+DJulSp1 JbYMCUF+b2KzhMQes05SRRpc3YhlkJ2Qn8nQrEGdr9LquXaeSSeo/+15WsCF4yIZBOIi hA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2sw2wmhddr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2019 10:34:34 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 3 Jun 2019 10:34:33 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Mon, 3 Jun 2019 10:34:31 -0700 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.56]) by maili.marvell.com (Postfix) with ESMTP id 132303F7040; Mon, 3 Jun 2019 10:34:26 -0700 (PDT) From: Anoob Joseph <anoobj@marvell.com> To: Jerin Jacob <jerinj@marvell.com>, Nikhil Rao <nikhil.rao@intel.com>, "Erik Gabriel Carrillo" <erik.g.carrillo@intel.com>, Abhinandan Gujjar <abhinandan.gujjar@intel.com>, Bruce Richardson <bruce.richardson@intel.com>, Pablo de Lara <pablo.de.lara.guarch@intel.com> CC: Anoob Joseph <anoobj@marvell.com>, Narayana Prasad <pathreya@marvell.com>, <dev@dpdk.org>, Lukasz Bartosik <lbartosik@marvell.com>, Pavan Nikhilesh <pbhagavatula@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>, "Nipun Gupta" <nipun.gupta@nxp.com>, Harry van Haaren <harry.van.haaren@intel.com>, =?utf-8?q?Mattias_R=C3=B6nnblom?= <mattias.ronnblom@ericsson.com>, Liang Ma <liang.j.ma@intel.com> Date: Mon, 3 Jun 2019 23:02:12 +0530 Message-ID: <1559583160-13944-13-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559583160-13944-1-git-send-email-anoobj@marvell.com> References: <1559583160-13944-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-03_13:, , signatures=0 Subject: [dpdk-dev] [PATCH 12/39] examples/l2fwd-event: use fprintf in usage print X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
adding eventmode helper library
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | fail | Compilation issues |
Commit Message
Anoob Joseph
June 3, 2019, 5:32 p.m. UTC
Following the convention of l3fwd, using fprintf instead of printf for printing usage. Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> --- examples/l2fwd-event/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/examples/l2fwd-event/main.c b/examples/l2fwd-event/main.c index 241a8f2..3e6ba0f 100644 --- a/examples/l2fwd-event/main.c +++ b/examples/l2fwd-event/main.c @@ -63,7 +63,9 @@ struct rte_mempool *l2fwd_pktmbuf_pool; static void l2fwd_usage(const char *prgname) { - printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n" + fprintf(stderr, "%s [EAL options] --" + " -p PORTMASK" + " [-q NQ]\n" " -p PORTMASK: hexadecimal bitmask of ports to configure\n" " -q NQ: number of queue (=ports) per lcore (default is 1)\n" " -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n"