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 B2B0BA0546; Wed, 7 Apr 2021 09:32:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E2C8141042; Wed, 7 Apr 2021 09:32:35 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2050.outbound.protection.outlook.com [40.107.244.50]) by mails.dpdk.org (Postfix) with ESMTP id CCED5407FF; Wed, 7 Apr 2021 09:32:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PSat2huYlBRdKH7lUB/5mGF5eX3ryypks/64OMoeQ1V8Uxp8VG7A9aB5EiY7YtuQc8PV33pLAep8LBYdq8RvR9G13O+nmmhnabNjm1prY++77RYyJHtToR5PDH1IcpkzKyalJmLIvbm5I7Hi0wTdg208P0i+kP1qXBHIy3fY145yv3PQg8jXb+DvyXJw2ICZoAVlu5rLSlT20xAqOqQW4xvIgcdn6EmEiJeiazTnmTj8I/YbcZxmuU/9b7RJaFM6u4cEUAcMtMxiTEIdpzhCm0kJp8p7BpyGDmZQ5tZowV6ahjtL5qqHq6Q9+CSaLrv67xlngqAF/6z0TsfTcz6Y9w== 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=M9bYGxoZ8wK/FB2uJgWGNRlfiIL63daT018XAsrkJ+M=; b=GQkMBMKqHEVZjHemn+Swf31F5gLUwT2kfDXWRwHH1zjlI5d0akk0Bf3gjscHR9yMR21F+T23N6Hd+ef1J2jwZ76aoyiWAd963zzAqbl7B8Q/4CAA0EmMwn4LoFZpGxrmWneLjEi1jpaeYgwZVIktGFyTjDN3pbyiND3KRIhZaI5FJxNpbYOwWDKDvilwbnD9V3o4K+QezdwFeyc6PO5Bkek4mC7WLjBs033PX8UXML4CtBrUiOenS1p6jESGEnHwQrtRdD9xxS7XiOoD0BcIo6i2gDeppwwNv2mWrU5tjcekp+6D3lg7UcmxmdnedOC7nRSxjlE70y3MT2N4P86cEg== 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=M9bYGxoZ8wK/FB2uJgWGNRlfiIL63daT018XAsrkJ+M=; b=bu8VReSZgZCY5U4Q+EL2j7CLMYy4gIT0qmEJIIWzrbDT705S+Y7KGIMZkC6dv5YmSwI7YQX88/Ny+aPDzlw0gOERzHq+eBHlUTMua9YFz4/FNCMNgK42Y+O8jH+TmYfWSp7FSwSgmlvCS67iwENCM1c5NSvkAbhP42gpSJU26K7kHRS07tYR7DPZOizaVQl2pOj3+l8kHN5C1+aydDmMButxDqu9uU7/gBlm7bQNJKHuCKjQWBSfUO7MO28QMHis3IE3OEgiOy4cW2TbtwoVAXTx93Z5tRdztLsdEGtih2GQ7ngXEr5BeLfPMEfQy/SIDcMgxhnBOn6QlAkipj+lDA== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3611.namprd12.prod.outlook.com (2603:10b6:5:3c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.29; Wed, 7 Apr 2021 07:32:32 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258%6]) with mapi id 15.20.4020.017; Wed, 7 Apr 2021 07:32:32 +0000 From: Slava Ovsiienko To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Raslan Darawsheh Thread-Topic: [PATCH] net/mlx5: support 64-bit value for modify field action Thread-Index: AQHXK0tXypQfyHngOUynT0xWsWd52KqoqbXA Date: Wed, 7 Apr 2021 07:32:31 +0000 Message-ID: References: <20210407011417.22675-1-akozyrev@nvidia.com> In-Reply-To: <20210407011417.22675-1-akozyrev@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-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 87e5f268-2cf5-4d42-711f-08d8f9974e3f x-ms-traffictypediagnostic: DM6PR12MB3611: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3h75gvEVvOL+F5g+vdwj7g9tB6JyIkqdpKbGSCorNSjy2O+BvauxUslCCtFjYiBnhhOs91UuzDdAt2KSX/r7T3/obi70qlOyGeiibaE4yo0Lu+moK6OAbwiGIL5iIRVUsWCgMJPSNIuJ+HhH+bESG9RC1rjIq+C7FsALXOJkQcoHzaX9DfG2xWrtH7NFn9y0eKizzsR2mV3urYG1tjBPxRh0PRH5zidcFH1K9Q5Cl/z4XSlJbmpJkCY3jCOc5m/lJagwkhgKCDBMB4GOHl9RSWeDsVDjXo5y+Hsz4UaBFjAVttjD5hGh+96jSty7WV7rHqRwdSPIzsP6kmuCJAt9tHn1BzKajF7PdVhfAm9Z2SRAciuDQLawdMI4ByGsBrHFQNGX9R0lVYe2Q+dqhaCdOLwJcqs1ATrCgEYL02vFPlfQSby5YfwhvSOvGYtlG5JeqvHHmV9UaUi57ZR0pOFi21Aon4bLGFfdf2kVc+jtYuMXLgRDxr6+oeZOXujXpx4ZhPJ/5imS62yQjE/yXZhLMQlqAPwzioRIhQM4FJBBYHHeV5l9TT1SI+0eIULbTuQmGCnkRWQXkNStbr0sJm15d2ff0FLIuLoPB5pAQPcCSp5F2JCmRIWhKnNzHncqcSkLlEEF5wRmyHq+h8RF/yzOalFOvj0DDbxStZvzuBNyqmQ= 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)(136003)(39860400002)(396003)(366004)(376002)(346002)(450100002)(71200400001)(53546011)(9686003)(6506007)(54906003)(8676002)(66476007)(4744005)(33656002)(64756008)(55016002)(38100700001)(66946007)(8936002)(66446008)(83380400001)(316002)(26005)(5660300002)(107886003)(110136005)(2906002)(76116006)(186003)(478600001)(86362001)(7696005)(52536014)(66556008)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?0rXHwo1IX1gmrouzHX1XPQMVnqAV5s9buVkHpr6u9jbdU8mWtGBAmJ+X61uT?= =?us-ascii?Q?rlbVWETfjwFuqu8l1rZpU4rO2dMW4RlzCq6/ldYGI9sC6P9C3qjbVCqpHeMy?= =?us-ascii?Q?KIDTRFW7o4FdncxLLpUB7GefSv94VulrjkhoUMGqpCOcaQlM30Vn4KEOq+K2?= =?us-ascii?Q?mQT/hZjP3dyOKn4C9s143pZB4Y4Q876bpghsW+jC20jtDq1+fQ7dtZRGMG+/?= =?us-ascii?Q?XQg8/u+xC5ywIiGtCe5gOKFvevSWhPaI81nxI0IoF2/Kmf7is/D1f2EsXiXM?= =?us-ascii?Q?hh3dH+42+kPuv2HSzY/UGxgkugNb4tao4Ra91GGAdJKR0OVOT15vAnucOM/z?= =?us-ascii?Q?njHrglgJTcqOJ81RvmTu62kQiTAklgf8JGgTrQn96t9Jcoiyj4EHK6a4U3R3?= =?us-ascii?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UFj7kQLDY8ZvnhemaOCuaolOqSYAq?= =?us-ascii?Q?yPm82oaJzgg7eCHKXJPsE1nB?= 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: 87e5f268-2cf5-4d42-711f-08d8f9974e3f X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 07:32:31.9854 (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: YwzdURv0iHTpXvkY4MAka51+1mnd8xtS9wOFxhbXoFBfZKvBhXH4xroTqwr1EcsX0REtMfJ5qWRFTLppiVpE3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3611 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: support 64-bit value for modify field action 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: Alexander Kozyrev > Sent: Wednesday, April 7, 2021 4:14 > To: dev@dpdk.org > Cc: stable@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko > Subject: [PATCH] net/mlx5: support 64-bit value for modify field action >=20 > Extend the range of immediate value used in the MODIFY_FIELD action from > 32 to 64 bits to conform to the rte_flow_action_modify_data spec. > Apply appropriate big endian conversion to the immediate value according = to > a destination field bit width. >=20 > Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev Acked-by: Viacheslav Ovsiienko