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 2A577A0C4E; Tue, 19 Oct 2021 10:26:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15EAE40683; Tue, 19 Oct 2021 10:26:51 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2076.outbound.protection.outlook.com [40.107.244.76]) by mails.dpdk.org (Postfix) with ESMTP id B4FB24003E for ; Tue, 19 Oct 2021 10:26:49 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MYhk4xmNXgGD8epflhFqYegF7vx9dQ7e01AJ4Lm7wCd3xP2rex6pwbeszaNAViiYGwrEgwMI/J0PSefqPVdPR4P0YAc31OmQ2FOUk3DTGl64DHBQV+AOxhXMB6hTlInExXwTC8qiy+R3t+eGuZoHLLcYMABtifkYKoxcZOYIxledz/MHIRIYGifnnd4Jthjitx62eD38NlrY/gxUSUJ21H/GcLe7Bp2JPswvCeI5ICQYjWgMfNa6Nt5zEaBl02wFnJ3Ms1SHrE4nzaASq1LEgWR0n6UuykK9kf3iK76JcMijTBBNhIWxWzrVwoNwkeNIAWrJe5IuD1Mm4CkeMyVDOw== 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=n8cwB9Fcxzk2UzwCeoWDGxHhzQY4BsRjBSOe0WAyDdE=; b=kzVnLYmEgI8kqRwiryDttI2A0Erz1I5kW//dfCHvUDGLTe//iGLBYP4LBMIoAtWRyQrQrvgfS6pW1qwwzLSo93/tGT3Vyvv1Ou00qtqnzGFe4SL97gcYKWdE/M5JZr8nUwBEEcz1AgswsO6IFAjvyeHmgzAng+2crK19okiDuWoIYyuA1hE1XQfhRRotzjvUf1wv663y7ZphinIuXL4EbK6CMSOevPiz8M26bwxqqJhVd3Eo/DrH0MbmqG/ypKsewuciXLLOVe7J02nGJqQoPz4R/Qb6muOgYo99JlaUrTGu6i+gKQCFRxyEXETmtunKak/8bR5nogKyvZB6llakWw== 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 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=n8cwB9Fcxzk2UzwCeoWDGxHhzQY4BsRjBSOe0WAyDdE=; b=a2VnnSf2wVP9VBhfc+PRDq9sGsgbMA4GHOTPaQC4chru20KpPhMUOLuLtRuh/JPopWjpCiHUpLlpGKTlOdka7JUZLv6NLjnYJXo8LfRSQ0a/b7dxw32Z8TxAbv1IZmpp0PGYKcqW+e3QiAjG81OSEh9+ZgqDdphF+xvItkvipPlAVVqlZBAd6+0DRhOqJ0h8K/4i8Oq82Fvm6FFXdHUtu1tC6hFsn2es2l83uYSaOYd8PdwHFt3IXopa6Zm0Kc6BiqUN52u8ih2tz5cEPUotgqnqXTq+WDtBm/SFXWfo4cp/qaiOBMoHkDXqzF1r2MxWM08FhaLOlwY+r+JEScOYZA== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB4761.namprd12.prod.outlook.com (2603:10b6:5:75::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Tue, 19 Oct 2021 08:26:47 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f%4]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 08:26:47 +0000 From: Slava Ovsiienko To: "Xueming(Steven) Li" , "dev@dpdk.org" CC: Lior Margalit , Matan Azrad Thread-Topic: [PATCH v2 4/8] net/mlx5: support E-Switch manager egress traffic match Thread-Index: AQHXwmT0rLiYwxH1mU2MEtQNv4gAm6vaAUGA Date: Tue, 19 Oct 2021 08:26:47 +0000 Message-ID: References: <20210927083256.337450-1-xuemingl@nvidia.com> <20211016080732.1781622-1-xuemingl@nvidia.com> <20211016080732.1781622-5-xuemingl@nvidia.com> In-Reply-To: <20211016080732.1781622-5-xuemingl@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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c1fcdd2-836e-491b-e796-08d992da30fa x-ms-traffictypediagnostic: DM6PR12MB4761: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yEQDEVbqOLVcxSNuy0C74GV01fP7bxmTKQTvZGm/Y2zrHia1JZXitJWY/5VpxGkMgrJYAYwOeDnIXbyEOVN2jidPJ20VRCG10c6UGC6Bhrgd/fytRah5zFhU1QQwW7kheQ/0emzVhAFpOW87XgFLbFDNSVKLVbSprq6STCS01uLiEoutZLfUkRjm3tekrOel82me/kx+/4UhBUXkDcZm1xJA11kOmnjig0dBsQgQO66uUuzrqvK1rfDHbft7AMqyDcj233hrxZqqltgORBPKQV1ME1/gVKKn8BXan/04gJuuU/9/xEs4Ob6o4BRp4YjlVB3hCuu7iaA20iGf5WultocdpAnK6scFKZvZs/kMGfhAQTFsRVecDzns2iF0UXQs4FU0bYZGx4spGip5jTYkHn5MLbq1CuZUHSUrNwUlFCsfiO8/BaL9i38tz3p3XMOxP1gfT49/CHtPhkHFRIA710fuRJSK7+G0qZOPEvVWtxzIk7An2iwVMMkweUQeiwtUMhX37oBOp6YAihm/Mi+Tbeyy3sgnWSl3GX0Lu3f0m5kj5GxjWMVJlPPixWfltWVubqceVLy9hq4aviCwkrzdb40FBB0J/MzhYcq6VlpXw8oLF/pkOzWIHzkSCvGnKmshi4aE0B7TVDJUeDX7O/bGMZ08YvvEl3SIo35e6RM5XscFBu2+QYjUKdYjrSnkv7Ym1LMA0Ai7SKoTx01Iu6vmeA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016002)(107886003)(9686003)(316002)(38070700005)(76116006)(38100700002)(2906002)(8676002)(7696005)(8936002)(66556008)(186003)(4744005)(33656002)(71200400001)(5660300002)(110136005)(26005)(52536014)(122000001)(53546011)(6506007)(508600001)(83380400001)(54906003)(86362001)(64756008)(66446008)(66476007)(4326008)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6WSUGhZMhyjA/ypsqVpFO+586FzWEQWZTQLCEp2ihnM4cCgLgOO/X88my06r?= =?us-ascii?Q?voKZfc09NgVpuP54SnyZhfmMgg5g8JuuzwXBpAmz9SEvu5eyDtg4Ml+3IfmZ?= =?us-ascii?Q?m1cgPJcKteTMNHpsHqBpbZmeLKIocW0UOfYEcPfjkj7DTfxgGL/cNegAkjhY?= =?us-ascii?Q?r9t39vEIVe5FzCEFhShJt/xJmX1w9w4yX9TZ9CkIyEeLPvsazKXo/9RRSnjg?= =?us-ascii?Q?Q+vCp1NGfQHra6yujrsGhJYlOgE0qkf1Nn87V7MviAruejU8UplGk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v1Mnzuv7TVDkSzhe3r2XB8gUzwutUg16nlBs0a+YzsoOXrsn?= =?us-ascii?Q?4ZQGjthdBgG9wcWReWu8cYYRKUPhRsTDf2JaDv9EAM1t+hDeUuLR8O8OcQv+?= =?us-ascii?Q?boKG9KlVkbV2OPzr3SP20lzqZWOS0oZzFJmakD511nbRp+Am7RCFBUUA9TSw?= =?us-ascii?Q?wWVoXVJ79/FQ3G3TLKOb3vJs?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c1fcdd2-836e-491b-e796-08d992da30fa X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2021 08:26:47.0761 (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: 9DwOBUPekIErqUDozdg96rE0Un5Y6UVeOk0WIK+alcysWaU8B4jXhPqd1EDP4DI3wXJhVrlYMQaGFK2HWzcYQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4761 Subject: Re: [dpdk-dev] [PATCH v2 4/8] net/mlx5: support E-Switch manager egress traffic match 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 Sender: "dev" > -----Original Message----- > From: Xueming(Steven) Li > Sent: Saturday, October 16, 2021 11:07 > To: dev@dpdk.org > Cc: Xueming(Steven) Li ; Slava Ovsiienko > ; Lior Margalit ; Matan > Azrad > Subject: [PATCH v2 4/8] net/mlx5: support E-Switch manager egress traffic > match >=20 > For egress packet on representor, the vport ID in transport domain is E-S= witch > manager vport ID since representor shares resources of E-Switch manager. = E- > Switch manager vport ID and Tx queue internal device index are used to > match representor egress packet. >=20 > This patch adds flow item port ID match on E-Switch manager. >=20 > E-Switch manager vport ID is 0xfffe on BlueField, 0 otherwise. >=20 > Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko