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 06E83A04FA; Wed, 8 Jan 2020 08:57:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D8961D70D; Wed, 8 Jan 2020 08:57:36 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10046.outbound.protection.outlook.com [40.107.1.46]) by dpdk.org (Postfix) with ESMTP id DD8611D6F5; Wed, 8 Jan 2020 08:57:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oRTQVHUMWjbFbYkr7fUpWecE4g73NxmpOasI1MJYQaM+9TLJSDpz3EtzpnPB4/OAKaskDxuDCc5pxctUypZAaQXcx3JfmgEUnDw0sstQK51o06vgF9ElJl9XJfrDsZn6438GMbdWErLiXg4xW9qVJyaQVE5/bd5rWdYKfc/udxV+sXyEFGLc++WWpLU7WHJiRWKeddvXgAAztyBXTgS7tirNqFt+T3XLhj+skT5CRuquCmQZueicv6wamm7KIoT/kPS3Z6rFwNX5WODZhX1b0Bld2HQ+zeNuor1SToloLxiBTuArWCJ5ZeqUNuHp1GCTrLc6DUTAdpn3amWWLkd+Zg== 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=jvqzqAj+H6+IUirnwtFu3hMn3gV/kvdJuWByKpNUvMc=; b=Z6vtXB+Bbb1TfbbMqTjy+y2zBiKsfnfCr8s/Y4ntThm40bSABWyYdU1Lize6jd62mMYDxacWPvtYSRxboq5wwsDqIU3+DqwIkTUq+vpckoUTWvFEEOjc26+TekUs5lgSJTRDD8ycqCmcoLCV+Q3lVv+EuwWYo64iZFKfiM8V/M64PakpB01ajRJFTT+40HVNaf14mTJayZmNIRUmIBFLwxCeeNGvgFk+wbhA2OPah0RrzJnRI1xGtuibKYSfV3wz6O/yL+MhJKcG9uf0D2KYYFJxWYaRUiIXjDinieLAQrz+UdQV0B7BQdS2YhOpCJ86aGkBko0ExKBnJ+FhxWqW3Q== 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=jvqzqAj+H6+IUirnwtFu3hMn3gV/kvdJuWByKpNUvMc=; b=DIyeV55bwocZuarTpgliCAvu3eiXcpRu9RGiV8JFEXWLgTQ8Z2wUwWTGK3J0wd1FW2GQI3TaEfXpHIIrox0420IbkhX7qiRyESwCIsEo/mty4pqSb7NgO0CCCJVJsZ3u3aDyyfr2gb8nrgfx6bN9KxPvOUXOh36RyEo6IHP+WVQ= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB5027.eurprd05.prod.outlook.com (20.177.40.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.10; Wed, 8 Jan 2020 07:57:34 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::95ff:bfb2:7f11:87b2]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::95ff:bfb2:7f11:87b2%5]) with mapi id 15.20.2602.017; Wed, 8 Jan 2020 07:57:33 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix register c0 usage for metadata entities Thread-Index: AQHVtwqi1vdtY8C2pEyyNQy7cphTGafgg/UQ Date: Wed, 8 Jan 2020 07:57:33 +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 Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3e3ff43a-56de-41ab-560e-08d794106b75 x-ms-traffictypediagnostic: AM0PR05MB5027:|AM0PR05MB5027: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 02760F0D1C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(346002)(136003)(39860400002)(366004)(376002)(13464003)(189003)(199004)(7696005)(4326008)(5660300002)(55016002)(316002)(110136005)(9686003)(52536014)(71200400001)(54906003)(450100002)(478600001)(186003)(66476007)(66946007)(8936002)(81156014)(81166006)(76116006)(6506007)(86362001)(2906002)(66446008)(64756008)(66556008)(53546011)(8676002)(33656002)(4744005)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB5027; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: DUGnKItlpLb5l4ZnB/lHVxT11BQTdUzWEgG/Tx89gNHDlCVOQ79XUVVWTJD0py268GoldaCSsKjAnITcEQ6m2RP7WZa7RZyHOdZ1fd9zNadI+fnEYTRxbVjthRUkzElAYnD6AljgugQaU+STiyMieS78XNdf6w4nGnnXusUtLQJTSxmJjt0U1iX2eo8F8aW5hZY+h3XWuaABDlrLKqVUV2tjct4TW9/HWyLXOcKmU1lwg0vZQNX4kx/H8QrjA9EqrVfcrxrWruf6nDcW2dKWSTjTPpCxFXg5wcswPaOXTnvs08a7QcMiX2WKzb0WdrKh3rvzfYrZl2dbZlE2UYj9mFwIYBcRYEVSi9FP0VqQOvaz6Md1m1Z5WW1EAsDrpPHr19zmnktf+fUYAdjzlxNLDrnpZ2KZA9ZzLsGquByD/D2LjN9bfQjFjDiA4jc62zmxCAaJRdn5g3gQFuZvCaOH4K6hdHW2JNNxSFVlzwCjPVXxlElM8VP/pmnpSjCooIi8 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: 3e3ff43a-56de-41ab-560e-08d794106b75 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2020 07:57:33.8249 (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: nz6u3gutEfi81ApClmF76uOG5iv7W7Ow3b5NvP9/Q+uzg0UaIaqZ5RNEBKuUhu6P4ZH+RFyRc/Z9yB7dPJi09g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5027 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" Hi, > -----Original Message----- > From: Viacheslav Ovsiienko > Sent: Friday, December 20, 2019 9:53 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix register c0 usage for metadata entities >=20 > 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 > --- > drivers/net/mlx5/mlx5_flow_dv.c | 39 > +++++++++++++++++++++++++++++++++++---- > 1 file changed, 35 insertions(+), 4 deletions(-) Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh