From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35C80A04B7; Sun, 4 Oct 2020 15:47:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0EE401BB6F; Sun, 4 Oct 2020 15:47:53 +0200 (CEST) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id 8023F1BB6F for ; Sun, 4 Oct 2020 15:47:49 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 04 Oct 2020 06:46:02 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 4 Oct 2020 13:47:44 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.173) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 4 Oct 2020 13:47:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DjaOAgKdeCKOb/r2qCSYDY3BiluvhNLg5N63IDrl4wD1cv05/5bIoUA6uKVDwrmtYOJ8Aua6gFUrv2Ixt1dL8KsM40yHwvr52vtvdojPZcf6sn7wmbJU2QxemD/p1spceDcWWm10FL9P8KHneSF3QR7R0oSQOuBn7+0Gmps/i8nURBdSrILfs1A35tJ8OPnhKuqQPwcr88Ss1OsvV36Y+DLY6OnWYpbCzdBYObIo+57P9dXfiAS7N9EcBO74I3n4kzYgnw/Q5ovyJ7odjbZsjOb1k6xkSD2SNiXGHZf/yAcsJrwRnxv0CpEDaxB6Fz3epT0tK5VWa3r+hmoPgjRYCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WJpJJWUpyWrqQCaQ6rXg8vdNxEg1Qp7aGaUjI+9LdmQ=; b=gskUlglTxp330UyQYibuYB0s8GxJdkJwl1MT4BX8y1aFJOerso7kUXLKl1Cvs8t307IuOyxZ6yDDEtliOfDQm1Im7c7J90/Vszx+aUKr1alc9MXYup+QOsiU8cwmkJDPWXyXFXeTEpVvBmLgnJdNi6vfL9BsuOtNKmPIuWxLKyVsRsdq8l1LXLdOf/C/yaTCaRw3WOxFFuHgFnCaddePmACP4h+55orgGHbhiLUgDP/oUK8S4JGU+rthshoajbe7bFMGtDbR0MABA+wkg6mFwhoIQSWs8y76b/CmG8wd04tEtWSpN0ZCDHK6KEvUaguFAmOgRoIgc+b8Ex5zQ6Uqfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MN2PR12MB4286.namprd12.prod.outlook.com (2603:10b6:208:199::22) by BL0PR12MB4964.namprd12.prod.outlook.com (2603:10b6:208:1c7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Sun, 4 Oct 2020 13:47:44 +0000 Received: from MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f]) by MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f%8]) with mapi id 15.20.3433.042; Sun, 4 Oct 2020 13:47:43 +0000 From: Ori Kam To: Dekel Peled , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , "olivier.matz@6wind.com" , "wenzhuo.lu@intel.com" , "beilei.xing@intel.com" , "bernard.iremonger@intel.com" , Matan Azrad , Shahaf Shuler , Slava Ovsiienko CC: "dev@dpdk.org" Thread-Topic: [PATCH v2 03/11] app/testpmd: support IPv4 fragments Thread-Index: AQHWmDgMfyzsAoOMHkKbLZGorB8w6KmHeVGg Date: Sun, 4 Oct 2020 13:47:43 +0000 Message-ID: References: <53a309585984c6b1605598d6ccb36ef8a65a0c76.1601586563.git.dekelp@nvidia.com> In-Reply-To: <53a309585984c6b1605598d6ccb36ef8a65a0c76.1601586563.git.dekelp@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c45f627-55d9-49f0-797c-08d8686c11f0 x-ms-traffictypediagnostic: BL0PR12MB4964: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZfyjLu3iz7I/CRpldfHYTRXGtyMCO+N1VHlle+eBSh6fOUdue3OaN8PdLCprpwj08CGrDssT8XjbsezebXCSLKCpwfsP1SZtA51HRJ9CIAPWknKsgP19vGuB5IRW+N1jWQCQsHqyiHIXrSRMpDvkcjBsF2O+BXuaArAaYsKJuPUjfs3ez+mfKsj0iO3rW0WrDKlsrqWySQA6XSIuEXZ4QEimfy6b1s8uMDrT7pdU6E86EmdWMUoqSsaCk1BIQH+xy0P39aUDRHAC8jEFgXdHb8mxY5s9xZQn8lxpHK44ktXriycTGSwXUg5GQPES8bIbeTmjtGRngwwRxfUg7PPFNXxA+CLZOy7Fave7oNXkZpD8B7yd71aYGepC71NotkGq x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4286.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(396003)(136003)(366004)(8936002)(83380400001)(4326008)(478600001)(7696005)(33656002)(76116006)(66556008)(52536014)(86362001)(66946007)(66446008)(64756008)(66476007)(71200400001)(110136005)(2906002)(26005)(5660300002)(4744005)(316002)(9686003)(186003)(55016002)(6636002)(6506007)(53546011)(8676002)(921003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: S6dSx954dsK70mYYyOIHazAJG2q1stBH0w31LD99MMV0ZVAdSi7I5p+AeTxMZfA+3vTv0q8smKrIaB92yRIUbw1Q+jyCekM4xWE814PGmrNg99gAabOqZgPnc7KNU1gdsxPvcvd9lcTD5PU4xAAOqJqOS5bMADpYFH+32+v16J9Zc9pf+q9jfnqHqFrrwEBbXG1yBkz4a6ZDXd52Ack3ZiipGBwlLYF2R3/4/7vFsSR6gPU+Lf2V74qRiQjMG8PkkI7q5I+VevHLvnX4cUiqP3b4XGsFXI/PqlIgXFeN8BZ7h/UfIGvZiWEyvGtVm5RWfKHDAa+vKLNiRlpBoZ+iOirswK0xIJKImj9uRV7rHrilvMk98mdSAW3IErAzbCHgEjHP2xdHA6kpw95Xc0hsKRVa32j7lby/tYKT/7bSFxZpCxdXdyQFmWfpZ09Ome5o46zjguj3zBCUB+2U6PYVAGjvcOqPoAtTgsFMD10DDbwykb7Q7JQGYUnzgAaCgsrnKql2DzOHhppEyCkVuLA0Z0+l8BioSGKsD0SWmch9aBODrYeaCp7ixdi8KwBvrH88UcGIVsi1LZ2ZNtnUPNJENt9DWnBMqOudLXiHz6JqptToSBCJxb0qu6EKP3DjcWnjbH+KTErzWyGh0TlfDlGQxw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4286.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c45f627-55d9-49f0-797c-08d8686c11f0 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2020 13:47:43.7603 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hUMg5zZ1jnaINvW/NoeMm1FovjQ1ygcshbjViXurq2I2kVrn199ZDo1l81Bq3hssuL5EroOIZ5ZqPzgRQvU3kg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4964 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1601819162; bh=WJpJJWUpyWrqQCaQ6rXg8vdNxEg1Qp7aGaUjI+9LdmQ=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=RUPoay5W83sW1xGQjFAJfd9rRFYNsQNRgmNAtZQVo1JgpfMOuTUuB1LGhL98MNo9S ItjmOPlchUlDIBspmGrDugooU4h5YJ6i2DePxseFL/mLudk8jXYZTnkOt+0XsJEbW4 Jwf6pBpejJKKe5rrQqNRiynhq4v6dXBa8ck5xJcCT9f99/FB9mR6I6gJ/zlAoxJxPO 6088XWUCgCSHWbaggtYHwt3fx1TJphOFCE8kGuaoBEibBhseqFurQjcXTiOTQM0Rlc UOPZ8fi1amjduOyOq5SyF8vYLYKlQXBnB9hGKt93S1QPo+4TuyKqIc6zfxBgdTE+Rc snXifyjuJor4w== Subject: Re: [dpdk-dev] [PATCH v2 03/11] app/testpmd: support IPv4 fragments 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Dekel Peled > Sent: Friday, October 2, 2020 12:15 AM > Subject: [PATCH v2 03/11] app/testpmd: support IPv4 fragments >=20 > This patch updates testpmd CLI to support fragment_offset field of > IPv4 header item. >=20 > To match on non-fragmented IPv4 packets, need to use pattern: > ... ipv4 fragment_offset spec 0 fragment_offset mask 0x3fff ... > To match on fragmented IPv4 packets, need to use pattern: > ... ipv4 fragment_offset spec 1 fragment_offset last 0x3fff > fragment_offset mask 0x3fff ... > (Use the full available range 1 to 0x3fff to include all possible > values.) > To match on any IPv4 packets, fragmented and non-fragmented, > the fragment_offset field should not be specified for match. >=20 > Signed-off-by: Dekel Peled > --- Acked-by: Ori Kam Thanks, Ori