From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 87C1CA04A9; Wed, 26 Jan 2022 16:27:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 770BD42748; Wed, 26 Jan 2022 16:27:00 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2086.outbound.protection.outlook.com [40.107.236.86]) by mails.dpdk.org (Postfix) with ESMTP id C18C042748; Wed, 26 Jan 2022 16:26:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hsg+13d+OF/C7FcynfrC6mbzV52VjNm8dPJTOrY6EEJE2mRgXAqe8Gq8/yKpXUD2P30/K7svuGRsdGbrneUhgKybjI2QNmlEQj5okeEcuiMbwJ4iY4d5XIP/BBSg2IGkwKgzgaY5Bwb5E/H27Rd6nRZ0zrOCD9dJLxfZOQwlHbzH5c4oeWhQeYnKK2MrneIFcIUE1pnHht7oIfLXesE3azn3G2S6zQtsrJofxfDTAj+N7Vec9h6h65vRBmVLyRUr7A+MvvivFWCOBTwIJw1ICIulJ06jCF0qSHyUMEtM4Yj9hyBbbwhRe9S5vWHgWjDwvcrxDSZLOBtra8126NnYFw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8Vj3bfyd5NYQQQ7TOIWz+8VXr02QAzOhtRshuw1PbIw=; b=DeUyCDJ6pEOqsv9SJ6HnyaXrd2m6E0jfyzH/cfG5Sy41cWpTpONud3xVk7XdJ1cpoJKF4b32dpPosdvKULXueLCeng5tnoTL0ulvhSz1UdtSU6ZeLiZr4Xm/4kmvdCuJE0BAEmHSXpHnuOBVy8mZNbm0QwxLcHY9Nb5GAjl7JLa1EiYEshesUFbWpvBUHAYgnbPYpS/1Zud9wnUDc2iIrS0cP68MIq93k5eypMWnQ28812UimfCZdfEXheclJfqaI92DenPazu6gmVtlUuB/29MhgX+/0jsUrvGZFAUv5vdbnlEUdyaOJEAi8Xk3BwxQ6N4tRCGzCl3MTduu3NJ6xQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8Vj3bfyd5NYQQQ7TOIWz+8VXr02QAzOhtRshuw1PbIw=; b=c3F4u6xTCVElWuZPDB48e7i+XQdUgecKtBKfYVCSqU8s9U/RxJTd1zsi6jBSjgGO3xqlDT4DvsSDoZy1WaxCv+Kkf2WfWYVNKomnyNhYvRl6tl7i1TRCPpwqy+pWyCHGDs+xPKi0U9pq1qOdYwifsdxolYDT1X8qypqOQKS3aszaR2nSyu4gUcpz3mzYDsLma9rebPTIEdacoeBjLXbVHj1CGBPJJBAw0iSSmEAS+IAabVykRpmH7P23miyM2DdFqo41QL2X6Z/Bt9klG4F9rH8xnXvmzrPTUqegDiLE4X6IbHo0z0Lrec/9pEJzRiolvw8f1UwcJcvmDXHbTeor2Q== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BN9PR12MB5147.namprd12.prod.outlook.com (2603:10b6:408:118::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Wed, 26 Jan 2022 15:26:57 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84%4]) with mapi id 15.20.4909.019; Wed, 26 Jan 2022 15:26:57 +0000 From: Raslan Darawsheh To: Raja Zidane , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix mark enabling for Rx datapath Thread-Topic: [PATCH] net/mlx5: fix mark enabling for Rx datapath Thread-Index: AQHYCu0jjoY92t4yYUC5hiVYmr3m5qx1fFOg Date: Wed, 26 Jan 2022 15:26:57 +0000 Message-ID: References: <20220116152347.27272-1-rzidane@nvidia.com> In-Reply-To: <20220116152347.27272-1-rzidane@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 860bd8a1-395f-4680-fc1b-08d9e0e04a54 x-ms-traffictypediagnostic: BN9PR12MB5147:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zjxLlEoRz09T8WHk18Kg/upqTmKJnKYieGvTllwutx8xE+WFtbgOcIewzODFGFhOTMFppd7753ux3fBwwIbP1GL+yqgZEFWRFvw1gFhxXaAW6myzor5Il02x8D0Vsc9wccwdorHvYWhGB8aVXHnFpI+BRJjjiYbUIpQ+hoIXkCUm4OvWVX8+jFKIYDP2gZY5y0PpGIpMu4ago9hqEUj6vTuURYCrsWDCQHSI7PtefUejIMfSxcDth7DV7mJTpf0xdO3rEIAfLum053R8Rm+c0FXOtnur+8Ucbepz7yxyKsRLgffj4lSUlEto1Z1EHjY1SqfSG7pamuwQUZft/m/SfJIV2l/pKcQRiGZf7J38+vsGJQJzwjYrNNvsadrAUsemcfC0zKg7xv8cwNcJ6d/0wFMvIKG4YZCZOTyUxfgHbFaMWFfwfr44eWgbGrB/XjM3AW5Auwn791gLMv2dHXX9g2GiGw5Q8bjJ+tkXGW1gs/D8emAoAeqHXvTcKbogZNK/C6Oif410tveXjYscYLunMx9JBkEaZTrCJdE3yjYF1etTtj5KeZdV8g5PUopTIyJJMCdjPLcj1l3INP64qM3wDruCHa2k9IYIAwiK4+AARuy9aXWh/gIns9kJzpRdSUSR0ZNvChk0m0vVLn9G0Q8wW0GHTY69AzAyubXAP0kDnxApikEcSbxRFuRZvzLYNpnjTcpPIUSsy4qswvwGBkjl1A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(71200400001)(5660300002)(38070700005)(38100700002)(8936002)(4326008)(66556008)(66476007)(66446008)(450100002)(66946007)(7696005)(316002)(54906003)(64756008)(76116006)(110136005)(8676002)(52536014)(6506007)(55016003)(53546011)(86362001)(508600001)(9686003)(83380400001)(33656002)(186003)(26005)(2906002)(20210929001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fH7RTKpDYRbm9evYV1PMktrhwq0k+IxmnzhowGjrrT5GGTYDcXlpfxKS8UKY?= =?us-ascii?Q?F7imIFjhYg1gcLe3QxH43wPP2lhtzO1A5GwNkqEmoSZtd/qqS0bQ+q1kyZCT?= =?us-ascii?Q?I0zXUxZSyexDczaKolggZdwS1epA8sVMnvVMkzSjl8Hu1HIueINTXGgdIVBr?= =?us-ascii?Q?7gsCK4rjbvsBkG/a37yVGeSdC7a8uIwtKAuHE8itmvepQqfFkpH8krbcnyFN?= =?us-ascii?Q?Gd9Wh2erVOlLA/cT57RxfQ7e5lzWE0EIKRq/jDXBUeSIMoSIDfHSacoKiBnL?= =?us-ascii?Q?sxwpB1WUTS9qbAUoqyBRBpC+w8UjessJpdl3QGPPC0HCE/hdZPx18rZvluf4?=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FaLu+buIiMpoV2OBtTiJu+n46Bq3D?= =?us-ascii?Q?kOwZ9bh7ay448tpC9jyNC8Bk6R85DWJTwbi7JbUrMVhVHbQRKBkVSKL6k1a+?= =?us-ascii?Q?j+uim9yE7ntJhbffXsb90ntJpdeiyV2Ax9ZVTHfn4OV/FnQXrXERXpWRaPaH?= =?us-ascii?Q?6bb9drzdjlu1j5hQpyHBOvfWamFbk843rMP1ixCXvBoXOxonNKV5Cx91nJsR?= =?us-ascii?Q?dQtXtdF7+f29FIVlZrDvK/ai7rJ05OXqhTFuohJa1x8Nl7QjPPV7Xg8H+HGR?= =?us-ascii?Q?OJ0LWg2OJPnYocnklSnpQGFqtLNCoVWsqWE1IB4urc1FEMDC4FsYebNVZZ52?= =?us-ascii?Q?r3Jlg5eXyFhl2ALCvEwuUoBfE1WOz5ot4/8AAcz4ZZrTDbz7X0Iv5s9Slo2X?= =?us-ascii?Q?yFZgXjzg9NaGnHzQZXtxYD8=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 860bd8a1-395f-4680-fc1b-08d9e0e04a54 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2022 15:26:57.3234 (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: jZVHkYU0IOW7sv6wTge7KUvn4Ntr6uPryaMlu6eaAC+SeofFEs1uZVFa9f8Eq6Wam77Wzlg2H8lAY/fqFDSgrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5147 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, > -----Original Message----- > From: Raja Zidane > Sent: Sunday, January 16, 2022 5:24 PM > To: dev@dpdk.org > Cc: Matan Azrad ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix mark enabling for Rx datapath >=20 > To optimize datapath, the mlx5 pmd checked for mark action on flow > creation, and flagged possible destination rxqs (through queue/RSS > actions), then it enabled the mark action logic only for flagged rxqs. >=20 > Mark action didn't work if no queue/rss action was in the same flow, > even when the user use multi-group logic to manage the flows. > So, if mark action is performed in group X and the packet is moved to gro= up > Y > X when the packet is forwarded to Rx queues, SW did not get the mark = ID > to the mbuf. >=20 > Flag Rx datapath to report mark action for any queue when the driver > detects the first mark action after dev_start operation. >=20 > Fixes: 8e61555657b2 ("net/mlx5: fix shared RSS and mark actions > combination") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > --- > Acked-by: Matan Azrad matan@nvidia.com Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh