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 3759CA04DC; Tue, 20 Oct 2020 09:18:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1AB47A953; Tue, 20 Oct 2020 09:18:55 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 166C92C16 for ; Tue, 20 Oct 2020 09:18:52 +0200 (CEST) Received: from HKMAIL103.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 20 Oct 2020 15:18:50 +0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 20 Oct 2020 07:18:50 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 20 Oct 2020 07:18:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UB+QScY44cWB1cphSN9L6RHIZushqZvw8yb1lHLZrb3yTG8cq0vAdHiI+U/rZhYZu9TJjNAMKeNQzI/4KdCCQaACere7sOk/5/KnlVPKwu2FTnJkcyX82mrI61z1E1abDR22etmjprLaZCp9DMs/DjgBTGbeof4/ZWkSC91AjXmdCLM9hOSoRZVy32ErJyhInDq/CINXJq1KMUmQSkAbIgzG+eRxPGpYJLyyNwHmzBjpmVMsRGNkZYHId8DwNWyrHZ+hSB8DvWwVSSJgCeJ2HkJphQ17MKalFJXqIuINoyR/wR0vHJUhmzP/FrKMhKJTGFOAb4iAoO0Styu/DD3Zgg== 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=KAIKNvCr1nc9lhC4PvBQ50PRjdU4e2g7mcg/nXcN1V4=; b=b9hhCrhLILqg7pqsdHcrC3Wtip3Q8mP8azM248CVdjvWYSu/PDujvREQZe7uLeS2/jpSdkvb5DFIbtEVqelxCpX2qpW+LzUsozSalBnnO4H1Fz0m2d6sWJlBQtu2HxdGtSIkGYB1KXlsZrs64yH3L+MQCL3vo8yDK7M3jZUb2dY4m+2S5R0tjwLgRWOQSZhu9JlFS56fm7Y1XR2e503r+EXz787v8qMe0i9tR+tvvnhzVvRQEAHiOgVMEPSoa9EAgeIGulfLUqbl3Cpw+/F9dAQ7t4df+foLYNzi4lcbkLcI79N07aLV/6BXwoIc71zIFrCUOZfcAXCkhL6+ulynSw== 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 Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB4401.namprd12.prod.outlook.com (2603:10b6:5:2a9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Tue, 20 Oct 2020 07:18:48 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::f506:4af8:281b:cdeb]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::f506:4af8:281b:cdeb%7]) with mapi id 15.20.3477.028; Tue, 20 Oct 2020 07:18:48 +0000 From: Raslan Darawsheh To: Dekel Peled , Slava Ovsiienko , Shahaf Shuler , Matan Azrad CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v6] net/mlx5: support query of AGE action Thread-Index: AQHWph/M+Vp90kCW606SCskBrNQ1qqmgFhRQ Date: Tue, 20 Oct 2020 07:18:48 +0000 Message-ID: References: In-Reply-To: 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: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f760273c-8be0-43ca-28ba-08d874c8636d x-ms-traffictypediagnostic: DM6PR12MB4401: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3z3VmF8hJDhsl3/7nyW6CTW+EepaecFO4wgmKXotC8BfEEmO7e3BAGcA/a5a9zBAeHy1mewEjFeCY9oyPZVh93vlf4tjgrTdY8BfUJUi3bQg1Zz4VpvEy++M8dfYqpCbU6dItkG7XrffJfpITpnCM/hlDjIOrBRpQ01zuU9WUWzhaY8O0s8lLdP5WF0zlRDepA2LxnPuAzjELeXactfQHRYDv+EHunXyLaKUOalmtGk05pg+gP/YtNziWWf/KDpqf23Jh5/3a433deLx4WR9xG+D6EfXwgLKeTV0SMKqZh4eX7YXdwCmPeEs5t4bH0KBmQWSkzvYaECbRK7lZ2FTTSemjPSp4tqzIhcUVCeNZjb5RWceXzfwx22nnoxe7YkFAe/xVwB6YAq4BqaxpOF4KQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(376002)(346002)(396003)(39860400002)(71200400001)(45080400002)(66946007)(2906002)(8676002)(110136005)(186003)(478600001)(52536014)(33656002)(8936002)(5660300002)(966005)(7696005)(6506007)(316002)(66446008)(83380400001)(6636002)(64756008)(53546011)(76116006)(9686003)(55016002)(66556008)(26005)(66476007)(4326008)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: EMcRDrpWf5JOmghwoPV7hmh8Rd1YHPY7vPvTMYXYJqQ9pLEoE8UWMTP9fNjR6FrqRkh3hoSf78OgqRE9w4x/GFlxIpNcMGcId1j3Jzcm1llEGF25n7Oz5Ii2Yldgsq6tVCvinKfRzuZGY6iOi+BXve7SiyrwF2nPrIx7SUZ1mIGforRXOhTEUgO2yw+yN/hxzFCfvJz6FZnXpJEEZPlAEuT0NlT1diLPznG60PodAI5nCnjExU2zUh+dQYZA4Fsj7SUmsKeX7JdU8H1SeCtXrUe6bkIqrAdqR69XlJx16MjPPdm3Z6GRZG3R2WtpcN22WX5C/wqev3N9tepvrInPpZQYDYs3Vpz0mvSJl+/pyahXjrUfHPP2apWslTfYwkybFlwQ1O9koHe8OTuJOFSrCw2+nctrJFj7bnFsC528iNT/tg/ebdU0qLZ6Jv70909okvnCw9rUi82cW/faKNI9HZCZX33YFPWFs8xFvVQKV/lFokUPRCrtZ/JOMzWKnnaYId3OMzc4chdBK1RNccuZgfinxOWe8M6Kd3PUMBa87Ecai7ORBOEQnPCTo/42Ze04HvR0txLp4wrIlktzUnVGq8JiSN7rjWUzvtEzNHPWyGz18uuCPW11obgQuz0N05/3dnouyJdd+5617jH1emmnpg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f760273c-8be0-43ca-28ba-08d874c8636d X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2020 07:18:48.1625 (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: W9NJKTKNQhq27UjaoEaJxlBu6hO40rFVvQE2xb3fPcXbmvpB/e+ETE2ASZjlv5i2OoSn03Rb/U5IbIb6qamoSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4401 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603178330; bh=KAIKNvCr1nc9lhC4PvBQ50PRjdU4e2g7mcg/nXcN1V4=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ms-exchange-transport-forked: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=qNE1eCyVcW8Au5EzjfJxJ1sR8wP7et687OO0NQigEbJ6Xr0x4KyTaA2RPgB9TOHje 2KU6TvikXZs6/rspompL7mjvAlaARqxTyhSn2tA3xPy13jHgEbf/0f2cJlon1jsR6/ kkrDjkIErliSKaDcGNawy8U5kxDMyp8tZ3qniz+yJ2f81nAw5cMWisPBC/kq3H3kxb rYjVHKc5Zmn05tfCp57K6xzhWd++879a+ujQYVkc4KNA0F2UaEEmfX1Md1UtHO6dU+ MF2AO46J3A1IamCvx6xbXJ5XEscJgeSvddU70MHbugRnzlYDY+kCuIrOyaGWeb+O/X HXt3LwRx+GttA== Subject: Re: [dpdk-dev] [PATCH v6] net/mlx5: support query of AGE action 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: dev On Behalf Of Dekel Peled > Sent: Monday, October 19, 2020 4:53 PM > To: Slava Ovsiienko ; Shahaf Shuler > ; Matan Azrad > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v6] net/mlx5: support query of AGE action >=20 > Recent patch [1] adds to ethdev the API for query of age action. > This patch implements in MLX5 PMD the query of age action using > this API. >=20 > [1] > https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmail > s.dpdk.org%2Farchives%2Fdev%2F2020- > October%2F184864.html&data=3D04%7C01%7Crasland%40nvidia.com%7C > 3eb87054b4ea46d4bfe008d87436eddd%7C43083d15727340c1b7db39efd9ccc1 > 7a%7C0%7C0%7C637387126559473041%7CUnknown%7CTWFpbGZsb3d8eyJ > WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D% > 7C1000&sdata=3DCuwWLpphxm3uyQEHkAstAyqUOXfoodfnAvOQmfZpxA > 0%3D&reserved=3D0 > --- > v2: Update age resolution to seconds, > v3: Replace rte_atomic ops with c11 atomics. > v4: Remove redundant blank line in RN. > v5: Fix pointer type compilation issue. > v6: Access time count atomically. > --- >=20 > Signed-off-by: Dekel Peled > Acked-by: Matan Azrad > --- > doc/guides/rel_notes/release_20_11.rst | 8 ++++ > drivers/net/mlx5/mlx5.h | 21 ++++----- > drivers/net/mlx5/mlx5_flow.c | 23 +++++++--- > drivers/net/mlx5/mlx5_flow_dv.c | 84 +++++++++++++++++++++++++- > -------- > 4 files changed, 97 insertions(+), 39 deletions(-) >=20 Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh