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 8ED90A04F1; Mon, 6 Jan 2020 15:55:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CC461D69C; Mon, 6 Jan 2020 15:55:10 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2062.outbound.protection.outlook.com [40.107.22.62]) by dpdk.org (Postfix) with ESMTP id 9048C1D69B for ; Mon, 6 Jan 2020 15:55:08 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eHdmvf7Ft0A4r1mrA3Vsj41pGMHerPnLzkk3XtIoaEAozZHITJm6yk13J85CIDBRnJ3j9SgsEx5y0+WiT8ZKnBLS9rCFkbFxiCqF+6Be/wswMWrMPsMC5ohWq0XiEYHmV1d2BeYHGYnimz1vNGweZXLkoARcMv8C9rvUHsSXWnwU8qp4UuSNuERMJHOcZcaoEFWGZP1bhmRoTHueKdEnkwmZ9Zd3H78IUsyIC3dKCFt+s2VkibUDMz56QOjdrwR/MG1sCWMGbFsxFrl6Wvxuv36RkktEAQLTg36R8dVMJetq6bbne+IYErtkh3/4qRAQ33zvIkB0XBMNl6mWlsh/Ow== 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=q0TjWmKPz3/78gef7ABEtlK3sQUVGrbz2Vm76hmdOv4=; b=TqLOHAnYs7n7a6uY/RL6/0z/zSBGu7QyEVW2JNiI+UosRm2/BHUvSMHA5No6FfQvNYkYx4zJWH+rHFGHSO8SU3mXegF9do1ahryeSzI2INdwA89DrrMYLinX6gFv8kB9f4NmF5DI2rXI7YG0AKPTnXaboO+5GNPeMhGfluv3D9XvlRom4AcKfoYBFBbjn+h+HfZ8+RoOiXCExeVa84ztsbvW/+wHBExZizeDOVpsr5pncgvRlvP7d3bh8r6xbarPzIWRVYyTV8psy3/X0RZnKXPh05Lw/n3p2adb9yfQPeRF6hdD3oHJXAmDEXsPM3HEMJnakK30beC+DFrY7AnVng== 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=q0TjWmKPz3/78gef7ABEtlK3sQUVGrbz2Vm76hmdOv4=; b=BZsk5DdSnyubuGkMdqnikoOQBBTIbbR8lstlCqoHCAy401sjDGcIuEz9st0QMMy6iEaxx9+SQRPo99u+87Xkc5LmlObb+UhIIx9j8yfe9VIXy9EyFWAqV+wqNzrmMwOxjCWjijpvBIz8zIAC/D6MZxoi4z9oU7FpdzSdHddBslk= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3732.eurprd05.prod.outlook.com (52.133.50.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Mon, 6 Jan 2020 14:55:07 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2602.015; Mon, 6 Jan 2020 14:55:07 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Raslan Darawsheh , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix default mark copy flow Thread-Index: AQHVpQlp1riMGDLiyUO/ROw5P+rkNafd+GTQ Date: Mon, 6 Jan 2020 14:55:07 +0000 Message-ID: References: <1574848785-31552-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1574848785-31552-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: addd7038-3a01-4ca4-4128-08d792b86bca x-ms-traffictypediagnostic: AM0PR0502MB3732:|AM0PR0502MB3732: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0274272F87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(366004)(376002)(346002)(39860400002)(199004)(189003)(186003)(6506007)(7696005)(9686003)(26005)(55016002)(107886003)(4326008)(71200400001)(81156014)(8676002)(8936002)(81166006)(66446008)(66556008)(66946007)(64756008)(66476007)(76116006)(52536014)(33656002)(4744005)(478600001)(5660300002)(2906002)(54906003)(316002)(110136005)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3732; H:AM0PR0502MB4019.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: wt90T0tm0npsfTZZtv0qfuHeBfD18ulPSjJJlksOVYDGXnH5i4bRx2FjDcLaloA6QSn1ShbOijHpdEvIkjiLuZ8noIHJMmtgO9aZ59pqtTjbQcSKN7i2Rfq9kbN8+ROTx1DdPka1pcq+Q5FWtS4XphJwEWP/YQ3BglucsvtB9T0Av8f9Vz55W2tt15B8UqFlKOf4Nf38hIY/cERdp7oRwfZSpYlepNBU1xrqQuMp/4eE2fShYtdJJLkAsPe7kc5TOEcjqTAU/xye36qZqKqXKsmk6f15rgVxasfKer+q4lQUj+JLO7XN12rbQI6bhbYzCyf7k5teonFmnOyjE0Qryw5j451Ecwkgu41VI5Tw99d/BU/Y0VtNeaGm1vqn6d04PTGTgfuc6a7G1BPhyLgxrghC/21c8/pd2ZsMuNbgHJdiWhO8UyX+LL45jscEVcY4 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: addd7038-3a01-4ca4-4128-08d792b86bca X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2020 14:55:07.5209 (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: u7P+atCDEDS06/H2kECYmzFKiq52PBkEVu/UK377kjtiifQd9CZ+l6Jvg3Kq/ViNK3DPJJOP2OyhSGCKNIC4Bg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3732 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix default mark copy flow 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" From: Viacheslav Ovsiienko > In extensive metadata mode the MARK copy table is engaged, if the > application creates the flow with zero MARK ID action: >=20 > flow create 1 ingress pattern eth / ... / end actions mark id 0 / .. end >=20 > And then destroys that, the traffic to the port stops. This happens due t= o > default flow for the copy table has the zero ID and is removed with the > application rule. The patch extends internal ID variable to 64 bits and p= rovide > the UINT64_MAX ID for the copy table default rule. >=20 > Fixes: dd3c774f6ffb ("net/mlx5: add metadata register copy table") >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad