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 C2368A04F1; Mon, 6 Jan 2020 15:48:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E51951D684; Mon, 6 Jan 2020 15:48:23 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80040.outbound.protection.outlook.com [40.107.8.40]) by dpdk.org (Postfix) with ESMTP id 68A7A1D674; Mon, 6 Jan 2020 15:48:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b/lUJgTyHIdEauu/4IXn3qAR4k1bRJtm4887C0YHQgEkuVQFOA1m9yinCHuU+5dTG1SPNBcKihH7YV1DuW8u8IvSJj/n0iZGEQGoRQoejtZAsqvMiJiPYJNMFKCvSsqq3htUShbZV+/0pbeQJy3Lk2o6gY20wXmNgUIOOUzYbquzUrkgd8kl6GBMtkeHvWumuq1hiomU5KpqCpMUJWP4p7wtNplRdvaxHT1hSOU8/domcKbDbLEoy7gl+kGDj3Sg8iHjZO6VzQM+BfV6Bn+msz/oF6CBk7YXTcgwuPCphFp/1eEGtEsNa0/mzEsPYtneRd36CW7kH8/SfFkUPfuQPQ== 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=EeGDXD1NFUEWoZjAVL/sWGwAfsLCLY9Q25xflIp2L9o=; b=l4YziTecjrp3s3b304GdyCxPzbCln2mL5dmSs18LGYpYZ4XaUr57D6qpksmGO/WI4u5JQGc7bxL2LcOACWbcv2XScmGl1qDL+a6Ef6gpD6q04m/Wy6cV6ZySsD6/UB6CydcIJptrZJcAHnUFM8JoG5sBiYnKB3BUxtW115f27H0Y55QNaZP1jAbAdj0ALDUl3HfMwPtiZbM8zysE10wuc6r86+wsoac9Ro9H7BgyLiZaDb/E9sBTiUZIGaezfiZq3rChGXnoXJXSobKQH7avUhgFF/eWvhtruZMl8/V/w2uOV7ClCPvOU5VAvc6lxQT1ejJVV30SR//qhLlzrnIhkQ== 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=EeGDXD1NFUEWoZjAVL/sWGwAfsLCLY9Q25xflIp2L9o=; b=EbXKwsfat0Pr9TzuiKDUR4rH++tP+m5+RxXsUdlo4yt4LCqCV2fBMacE5KXu+GN0+2dQFNKUQvVM87OymbLIcmdDWqoWn29IxjQ+0V1uCnMULIypFuJc2BZNqRDDqlgAYijvFOaa89s7urFjg7Lzjm7BUxJDwIwB+Z2wu3cJ3so= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3860.eurprd05.prod.outlook.com (52.133.51.23) 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:48:20 +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:48:20 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Raslan Darawsheh , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix register c0 usage for metadata entities Thread-Index: AQHVtwqvlZUDnhFLskaOZLQEedGRUKfd0nlw Date: Mon, 6 Jan 2020 14:48:20 +0000 Message-ID: References: <1576828399-13525-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1576828399-13525-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: 176190e0-19d4-45e3-5594-08d792b77951 x-ms-traffictypediagnostic: AM0PR0502MB3860:|AM0PR0502MB3860: 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:7219; x-forefront-prvs: 0274272F87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(136003)(376002)(346002)(39860400002)(199004)(189003)(2906002)(5660300002)(86362001)(316002)(450100002)(4326008)(478600001)(7696005)(76116006)(6506007)(81166006)(26005)(9686003)(8676002)(186003)(110136005)(55016002)(54906003)(52536014)(8936002)(66476007)(71200400001)(66946007)(81156014)(66446008)(66556008)(64756008)(4744005)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3860; 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: UtX/LUKuC4VP4ZYAFvBhqLKEsYMhtIBo/8QGQTrzF5jw2n+06Q1HR9mvwfZpMsUfqm1i27EQXDbZXtXuaEBiKwyyhmhb18HSAhlmBzBplcjPAzP4kE+eg9WMVMDuXkdleW8GDrEjsuC6fj8vTM7Gx2KyYHDieswXR4hsNelUPhcyw5MW7DLw527GyCOEOzMcJ4tqJHYAPntMcNKtCq3X0tAOj5XBqQApECdlab0Mn5B9ZbYw9mVp6SfJM61u6QprDguyb4k+OVL77hzw+RCwZVt4owrnex5Qe5lYOXKzFzHnEXMNEqfx44p9igjEkZAscOsG7QXV2CznRLmbS5dZGZNREx/Ulb+JH5DODwbTka6tzfVhud10cwBFd/GC/l6PYEyesDw4MwJmZkdln1yetC7ctv3+u/uJRUu0m8PZX1zl5hTK5N78apBrz+CY3giC 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: 176190e0-19d4-45e3-5594-08d792b77951 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2020 14:48:20.6919 (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: +fpJbLkASVveDvBwXGg9xbrD1lcYRlY2ggg1KHVY58ajU3ghtARbKmClM+HT+mteOyLURyvqMPhDXVXACC/Tnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3860 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix register c0 usage for metadata entities 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 > The register c0 might be engaged to support META and MARK related items > and actions. Also, this register might be used by kernel to specify the s= ource > vport index. The register c0 is split into two 16-bit fields. Depending o= n the > mask returned by kernel the PMD can use upper or lower half of register c= 0. > This patch adds the missing support for upper half. >=20 > Fixes: e554b672aa05 ("net/mlx5: support flow tag") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad