From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0094.outbound.protection.outlook.com [157.56.110.94]) by dpdk.org (Postfix) with ESMTP id 3246F47CE for ; Fri, 22 Apr 2016 11:58:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k7YzZPQcN0heMWOworio2TNvotL/IY/qOwhL1/AdZgA=; b=siGC/ldKg1KHl0iXEsreT0Eogmph/I4pJKBfBBC215RPHwpfk77S4na/SvMEkny6laN/WE0V7KEvCr08I3GPpRVv/RC6CYvIT3utWDhpnxRNMOgbYleYEeB2x+jWZqCQLXJigvaLilYqHnmOueZz6i/cP4P37K6Q0Z2irr0e67M= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from hp-mjc.semihalf.local (213.17.239.108) by DM2PR0701MB1034.namprd07.prod.outlook.com (10.160.25.142) with Microsoft SMTP Server (TLS) id 15.1.466.19; Fri, 22 Apr 2016 09:58:41 +0000 From: To: CC: , Maciej Czekaj Date: Fri, 22 Apr 2016 11:58:16 +0200 Message-ID: <1461319098-22632-2-git-send-email-maciej.czekaj@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461319098-22632-1-git-send-email-maciej.czekaj@caviumnetworks.com> References: <1461319098-22632-1-git-send-email-maciej.czekaj@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [213.17.239.108] X-ClientProxiedBy: HE1PR06CA0030.eurprd06.prod.outlook.com (10.162.181.168) To DM2PR0701MB1034.namprd07.prod.outlook.com (10.160.25.142) X-MS-Office365-Filtering-Correlation-Id: b8827245-f9d3-4d89-e883-08d36a94afc2 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1034; 2:+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y24q4NloLw== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1034; 20:49TeKjS7p4Ab+HPZzwejAoAg9oU9rHKBCGAB2AhqQNEzr8IIAVNikACs7us+RfFyia7SxcvXsmJwiTC49NQVeedjg9vGHzf9MLXq7/n6gPGqd1Z+SasDd9mHvnBcFUyR7iEXn1qp+6yzLDCq2IjI2CZLadAHu1FVwvjbamgjLnZjmq2ei++quK17GlpmXrOVlWFbLO7l9InU96LgJ2AQ1fKQm2Vj9CvC3CVRjszladh8WMWregWSDSe2ha8SXdP5EAKdqRXzNsHJ9I1EX+WwHxFz6o+duDc1fnyWpCFGlWEeYTmGXcpjtEpr8vmHgQ6xRWdVAHLlZBYVv59K93bLvWOO65YgdVnDQoJgS3hywJvGz+dhXzYwKcrIAi0fI1q1VnIuP26s2ehRvAxxyB0XGcbw55Wo5gWDWqxH8QOgGiZKlpcDgh9ggVe5/rnPRBzP7MVzyv6Y7ig3g0YT5sM+f+UCOm9q2Qbh0oSVnT5fcaDaDlAZ6isj28CkU8iFXl4cgDoGDscG0s88QQ0VtXajWlVUYP+01NllPlBkG/qHTF4s9c0ZeftnYsFYYDpOrlvLWlFRoO/5ekVBRxnCg0e5pPl2gRk4Xk9DdZsPnBAEauU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(9101521026)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:DM2PR0701MB1034; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1034; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1034; 4:1DId0jGc2MOcK1hFdsgswFuuYnpkNEjXQg5LiOrJaaBCa8TCG8RZybbnTvS9IKT3bBHz4KLk2LXzbcd4d9DYquNsJyPCy5eIOUAkIenI55qM9zQaXeeQ1mndLUFhjcOdycUfLNkTReJqZOVWIM91pOPlCO0FpAGqWB63rh4vYt9iX40SLRZIWeXITDvbXivu+opydgqaW6n1b5UZbd+uk0XuUI+VCLyUoGKoTC9QayXxOvHs8eFi97MJ+XhFUDzdOYgZNRnM2aL+oCBHqO5KTN8rPEZndJ3FDSEH33KHXGWMEQ1FSB2aOKem/VZIEScxLOX0tGZNiAA67Of6YoxbaUH4X8t/PDZV+sNSilJxNMBVchaUmj+EgCQp9t0JNDlWrc5Sfy6vbXq3zWxV/MznGQ== X-Forefront-PRVS: 0920602B08 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(1096002)(4001430100002)(2876002)(5003940100001)(6116002)(33646002)(3846002)(19580395003)(19580405001)(76176999)(586003)(50986999)(5008740100001)(107886002)(50466002)(189998001)(2906002)(48376002)(36756003)(110136002)(66066001)(5004730100002)(86362001)(42186005)(2950100001)(86152002)(2351001)(50226001)(229853001)(77096005)(47776003)(4326007)(81166005)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1034; H:hp-mjc.semihalf.local; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0701MB1034; 23:YXJMtrDl2X0FUfQAqXeiXSBUIviZWtzfjbv/sjD?= =?us-ascii?Q?eY//twVVHmZukkCTg1I1+KimlId5LLrNNLh1BB7wemYHYes5bi9R+KX1wIwG?= =?us-ascii?Q?FdPtvFtI5zcfYcBBC7inD/hg9J0p8Ig0b31XIpZf8CJl0w3KNEkpgrKs67dI?= =?us-ascii?Q?/LQNJv7PBGfLAJ+fS1QQFD1ifEhYgQaKK9cZZjAWF4U2HOmZIa8/Kf7WzUe8?= =?us-ascii?Q?QJb/u3o3+Kt0D6v5Oz6OKczUWdN0gXQhBAtNi1XCXOkI2ryqPQ4Tn7bg7f9X?= =?us-ascii?Q?olufChXpkwZDuPA18l7FIZsABXHX+drYgNoIDaDh/nVawYl6vc4UVUFD16qr?= =?us-ascii?Q?sNyIWFEIIq/8tQ2b/N/6poevB4ymgmgcY1ea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KkNMT4PvfvEhxnn146rd+lvTcsABmGqcq6UNWTXriyHJTesuc4=; 7:iTo4Qq609cS+nylFuhEVoTjBN3wD+N0voQaE7h8AnR7orTK2ZCX+CmAeMHnJmU83fDK72+J3dDeHnnarsH+5HOKN6MH0kCEH72aL1IgGfr6EFNgFkwL8WnFNy+FkxaWvQM1z1cUZMUai9s00FxAh5pKLXBUKmjVgEwa9hi/UCF5vkiG59Kya4rIq1v8yO9FgDLUTdjLinYYcGXCxIt1AR+yCP+fAwMQ5BE9mD5S13ng= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2016 09:58:41.5393 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1034 Subject: [dpdk-dev] [PATCH 1/3] app/testpmd: add "enable-scatter" parameter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 09:58:45 -0000 From: Maciej Czekaj This parameter allows for controlling rxmode.enable_scatter which in turn allow for multi-segment packet receive tests. Signed-off-by: Maciej Czekaj --- app/test-pmd/parameters.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 55572eb..8792c2c 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -526,6 +526,7 @@ launch_args_parse(int argc, char** argv) { "pkt-filter-drop-queue", 1, 0, 0 }, { "crc-strip", 0, 0, 0 }, { "enable-rx-cksum", 0, 0, 0 }, + { "enable-scatter", 0, 0, 0 }, { "disable-hw-vlan", 0, 0, 0 }, { "disable-hw-vlan-filter", 0, 0, 0 }, { "disable-hw-vlan-strip", 0, 0, 0 }, @@ -764,6 +765,8 @@ launch_args_parse(int argc, char** argv) } if (!strcmp(lgopts[opt_idx].name, "crc-strip")) rx_mode.hw_strip_crc = 1; + if (!strcmp(lgopts[opt_idx].name, "enable-scatter")) + rx_mode.enable_scatter = 1; if (!strcmp(lgopts[opt_idx].name, "enable-rx-cksum")) rx_mode.hw_ip_checksum = 1; -- 1.9.1