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 04BE1A04AB; Mon, 11 Nov 2019 18:41:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3DA52142; Mon, 11 Nov 2019 18:41:45 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40054.outbound.protection.outlook.com [40.107.4.54]) by dpdk.org (Postfix) with ESMTP id A4892DE3 for ; Mon, 11 Nov 2019 18:41:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KmqwtlBzHfY5UtXJRLoOJ741fRrGv7q7IZ7vMF7jNFg5Ab7yN7e92kc2vrDxdI1YL2QCucTQDDAP4CRQOmyo8Skh57pKb/XzGCIuK4vKX/LkVWemb+UvDar2FqPjRkriSBX5CEcYXO4f1CAUvf7LrFwsxVp2jWkoMi3L/UnPNv0SOFe6BxvFms4QLez+mHTL11aCrwMcKJ9drdsASZrdal2jO79WfZCOh17z3reDNf2aITXfyMA1WjKH19/zSDDCLDGEx3tP7mJdhB5NnmG02QAsDrTmOj/5ettFeVli3IxAXGHsXgu+w9UYWKy1lc8OsmZClHb2T4oJujmI1se54w== 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=/mlc3EtJiIWCeno1ElnbK6NqDRy/boCIwyPYU2BPzis=; b=BBtQTgna7InavdiK4K/IT/E/fXWhz3/VQktZTViNypHwjhtA2jChgfEO2pOkzJuXbLjf/u9RUqClpcheCS6p1pR5nzkk2eurCeuOzfjsPkl4Z8xxV1iPtY5i2+Rz93/PfPVkOFuwvw4xwyVXfAwczJpwxm8N5DLBHpNvMBCfhuGA2YvfqmhHtdWdnmBpFKd5gBuYQvJrMkxH99t2xYlSxSLdPb+y1nOUzlz1qfTPDiPPFKp7glMK8uvMB7SrXq6DBxBNDir8gxYSwov8BIr6GXRVQXUajemzk7O5daQfTF/UeGrGJr9bvd06V1HoznLt0wJgDwqcdQ9WS8YRqU4C3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/mlc3EtJiIWCeno1ElnbK6NqDRy/boCIwyPYU2BPzis=; b=ZqMXh+GIivxkIbd7Dt3HMMN0czGNcWlf+L7l9D/9/0juaUSevv1hPqEyMrgKmEC2/0md6X3AU2wLnKJMOrKCOxXY0gqqyCuEqpveSD7sBvwwyqDpH1HAy3Yg4tmrZ4X1T9gCICRBvQfp/GduYh0KTe22nNVyWn9D+eV+ocv/amI= Received: from AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) by AM4PR05MB3476.eurprd05.prod.outlook.com (10.171.187.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Mon, 11 Nov 2019 17:41:43 +0000 Received: from AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::d877:95ed:5f94:a4a]) by AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::d877:95ed:5f94:a4a%3]) with mapi id 15.20.2430.027; Mon, 11 Nov 2019 17:41:43 +0000 From: Ori Kam To: Matan Azrad , "dev@dpdk.org" CC: Jack Min Thread-Topic: [dpdk-dev] [PATCH] ethdev: fix last item detection on RSS flow expand Thread-Index: AQHVmHy7PMTkXWyupkyvwV6Ydin2zKeGPKoA Date: Mon, 11 Nov 2019 17:41:42 +0000 Message-ID: References: <1573468925-24415-1-git-send-email-matan@mellanox.com> In-Reply-To: <1573468925-24415-1-git-send-email-matan@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 418a54d3-8da9-4d29-6599-08d766ce6a5f x-ms-traffictypediagnostic: AM4PR05MB3476:|AM4PR05MB3476: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0218A015FA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(13464003)(199004)(189003)(6246003)(476003)(52536014)(76116006)(74316002)(99286004)(486006)(86362001)(8936002)(2501003)(186003)(4326008)(7736002)(53546011)(5660300002)(6506007)(7696005)(66946007)(446003)(110136005)(26005)(11346002)(305945005)(33656002)(76176011)(102836004)(71200400001)(66476007)(71190400001)(66446008)(64756008)(66556008)(2906002)(107886003)(66066001)(25786009)(4744005)(229853002)(478600001)(81156014)(81166006)(55016002)(9686003)(6116002)(3846002)(6436002)(14454004)(256004)(14444005)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3476; H:AM4PR05MB3425.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /HQliduYqc7fl7ZhDolHRbrogqmvyT990eqKpJnTXdD68QGvKJxaNe0HtMafVvT5Cn5S5zkyBnE23UNTufKTOKYVrdpr16yEGUTd46wxTZIhKKqNwqolydPIg89ymd29O8ds3nCfkCrPqARvmjBqDPFNuXYux3Emd0JnIpLkLmAnUAmEf/3OxNxJwZrnxWJdsjirt5x53/BepA+WTSKS2TMSCKFEcZCQwhhUxwCUU2osQ6eV7k7SpFMGU0lVpujmF0eGkl/WsbvfkxNqFnSDx2ni/rTJIGkQ8pDNDu8IY6mPt19+Z647MKGGY6IP9LmJl+IrBYEu3mjVCtyjAyGfkEeMWrzOHoBXbB8DadVykl+NJjLRi5sdklvPEfDyiqQ9FZWsw23piZ8maxpFYJz1vqYDGPxmUsWYHZhTDxmHl0fsweoYHxQr8qWHT9BqM8TN Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 418a54d3-8da9-4d29-6599-08d766ce6a5f X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2019 17:41:42.8438 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Q0BR1W/LKjcgQBXLpY1dKexp+R67JX2r74Vom1JO6cFTjLsZA2XpWfMRLHHySH6SS56FgrbUlIgmhyiC4CM+Ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3476 Subject: Re: [dpdk-dev] [PATCH] ethdev: fix last item detection on RSS flow expand 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: dev On Behalf Of Matan Azrad > Sent: Monday, November 11, 2019 12:42 PM > To: dev@dpdk.org > Cc: Ori Kam ; Jack Min > Subject: [dpdk-dev] [PATCH] ethdev: fix last item detection on RSS flow > expand >=20 > There is a rte_flow API which expands a RSS flow pattern to multipile > patterns according to the RSS hash types in the RSS action > configuration. >=20 > Aa part of the expansion, detection of the last item of the flow uses > the "next proto" field of the last configured item in the pattern list. > Wrongly, the mask of this field was not considered in order to validate > the field. >=20 > Ignore "next proto" fields when their corresponded masks invalidate them. >=20 > Fixes: ec84aa45f17b ("ethdev: fix expand RSS flows") > Cc: jackmin@mellanox.com >=20 > Signed-off-by: Matan Azrad > --- Acked-by: Ori Kam Thanks, Ori