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 42CCDA0528; Sun, 19 Jul 2020 11:45:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 88FAB1C034; Sun, 19 Jul 2020 11:45:24 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80074.outbound.protection.outlook.com [40.107.8.74]) by dpdk.org (Postfix) with ESMTP id CB3F71C032 for ; Sun, 19 Jul 2020 11:45:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DR+jG1EcGHIwi3GUbzJGZ9YxNECz51zoYzEOYPyzfffB0KjQKjF6/BIbensMMVijL9Mo/i7gb6wAtUPBBa/Uy2Oe0gkNcs/kot9ELLa9vIWTUcS5d9IgxRlqetC/ZDVovD5VrRi/X7yvJwHjgw11seZWLyAF8KszrusB6gqC41DpEO5c4TozvIIR0s0nVi5JqbfvEKGUHKNpHjtx74HuS8FsQCfCAUDqfhSd7iHJj1yf5/gbSUIQKkjBmgDyMFqGPdwkY7f7Ee895QPISzWla02W8W/7z7P1fxpCPCm6wK1pnK8bfyFxRAJ9i8nk/Gvm03hra26mMpRe5MSHS2g07w== 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=sAtIqYAcurgqqJnkgY+T4hEZGpTIjWLda4SpRDoUF0Y=; b=bgjE3kMPldXB8Ab9TS3ap+F588ve0i9PXFWBj9AcJwzhki7gGiQVWfeWOyDFKKZY1F9Rtc/o0QVxkLQOBvAyj4kFFm2gM0ZCs3e/psNsST8+d7hWBSFRzt2xkZsKPMPw+eyg5WztyiX4M6JMacUsbUXCeaej3FSURsGr3SPAM5JLiuZl/4DiyAJvWaRioMAXCbimRcwk6npopFR5JbTHKg4nENPSk5Aysx7p1voORoIGDaZq2KYzBR3tos1OitN99USi5fR01yuqEa2aJoOvRkmHWJSpdtTs9uNyXd+QUOMRRpwxaTQFcOyx+ZFvWoHRFm3CXv3Iu3Dc1swbLE0pdg== 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=sAtIqYAcurgqqJnkgY+T4hEZGpTIjWLda4SpRDoUF0Y=; b=Oi/LCiHTY7CwNcg2xt44WUaB6u63g2tMAWYEUACbmNrtmRj4rStTTsxH/E52o8Aw5QXsnOPoDxVTK5GNxCTM29o8JgWJxCWyshWJx1+AT67r7i32hgD6Flv3e4C4KW9w6XyjL5g0BW3biW+71muPLObCzn9fyRzgpWhsNpsCiOU= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB6739.eurprd05.prod.outlook.com (2603:10a6:20b:145::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.23; Sun, 19 Jul 2020 09:45:23 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::ecd3:6008:3784:4012]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::ecd3:6008:3784:4012%5]) with mapi id 15.20.3195.024; Sun, 19 Jul 2020 09:45:22 +0000 From: Raslan Darawsheh To: Suanming Mou , Slava Ovsiienko , Matan Azrad CC: Ori Kam , "dev@dpdk.org" Thread-Topic: [PATCH 0/2] net/mlx5: scatter FCS with decapsulation Thread-Index: AQHWWqlRCQqO0wtTbUyCLE1VmCA2Z6kOrThg Date: Sun, 19 Jul 2020 09:45:22 +0000 Message-ID: References: <1594818621-438919-1-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1594818621-438919-1-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [84.242.49.134] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e06eb021-121e-43b4-2d3c-08d82bc874fa x-ms-traffictypediagnostic: AM0PR05MB6739: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CREzltP/riJatTOfIoE6uhibvcq+APBKAZgILXX2ug6JPi3RpH7oFIpO5e165DerRJZh2kM5dC7vi71yI2kFRZIHJuQYOCiCrqJtDIYrBu2HLC7mOPOB7kTE6/qD196FgPkUJcc4SM8pKo+s2m21FNeObEM/QBD7HZ2ULoSMgnap8FLfDJ6blLf2pzbakdZNgw3dGokXG9Tsn5Ziyttk4qeP0FNU7cPR9A2qejfDu/adQhucquPT6BLUe5i9w82i8OFpdOFgQ4K8FlDZxjC/GPvH14UybHETtSt91sXK//7GTofLZWVY1zoyWQtPVeoXSWE3hdE+lSPVQwiH5OdSMg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(39860400002)(376002)(366004)(136003)(346002)(186003)(86362001)(7696005)(55016002)(4326008)(26005)(6636002)(33656002)(478600001)(52536014)(71200400001)(8676002)(66476007)(66556008)(64756008)(66946007)(9686003)(66446008)(76116006)(316002)(5660300002)(54906003)(8936002)(2906002)(83380400001)(53546011)(6506007)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: T8mgowJH4jp1vtroMt17HUllVSELj5oejYVaSlx0Ijk1cF1Hot2elgO1TVzAwKsRKuuXF/xl4f4FoWOWhGXYUD9JsPLzEIpb14OORgaMwj5GcHnIc08UohJcyBp7SH9qrQibOyVepYAWIapobt+MObo+Qxrnwnu1CFRnOdC1khAkWIbGSRzUD8DAj67fHzy5thKbVvt1QlOBrF/krxhuMe5kh1fbuy7sgV/JjRMq/Ua1p+Dfz3E6DdCFkt8qlDMXyaS+xe+SDMgG/YTGWsNBSm6q3PaQBEvXfqTsQQP4vcPZpZ9AF5Z0JBO6Pu/p2vOwLnUAZ1//ynJbFZuxNIY69psRNT/ZZ7t3hzeyXNpNhYfP5rvjQTBsok4Fie3qM+LEdm8b5hLFl69axlBPkUJU5uXGlt0lzjpqTm0JxX2+MaeHS+titJkygZKaxVa+1D1UxLo34+g/t5Bk9DwrhTVfeRbhbSivIoaMTnVOWBL3eiA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB6707.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e06eb021-121e-43b4-2d3c-08d82bc874fa X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2020 09:45:22.7198 (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: J0POHaXFsU9NjmfqKB4lnzR63fMvxZek1sK2TNeptxUBOGUZ+mTvhgcpZNKyR/j10ooUza7O/Qfh+PDXfg/OBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6739 Subject: Re: [dpdk-dev] [PATCH 0/2] net/mlx5: scatter FCS with decapsulation 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: Suanming Mou > Sent: Wednesday, July 15, 2020 4:10 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: Ori Kam ; Raslan Darawsheh > ; dev@dpdk.org > Subject: [PATCH 0/2] net/mlx5: scatter FCS with decapsulation >=20 > There are some limitations on the some NICs (at least on ConnectX-6DX > and BlueField2) with supporting FCS (frame checksum) scattering for > the tunnel decapsulated packets. >=20 > For the case only one of the features can be supported in the same time, > and the new devarg "decap_en" is introduced to provide the choice to the > users. >=20 > If FCS scattering feature is not supposed to be engaged by application, > this new devarg should be specified as "decap_en=3D0", forcing the FCS > feature enable and rejecting tunnel decap actions in the rte_flow engine. > If FCS scatter is not needed and application supposes to use tunnel > decapsulation in rte_flow, the devarg can be omitted or set to non-zero > value (this is default settings). >=20 > Suanming Mou (2): > common/mlx5: add scatter FCS with decap capability query > net/mlx5: add decap enable device argument >=20 > doc/guides/nics/mlx5.rst | 15 +++++++++++++++ > drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++ > drivers/common/mlx5/mlx5_devx_cmds.h | 1 + > drivers/common/mlx5/mlx5_prm.h | 4 +++- > drivers/net/mlx5/linux/mlx5_os.c | 12 ++++++++++-- > drivers/net/mlx5/mlx5.c | 6 ++++++ > drivers/net/mlx5/mlx5.h | 1 + > drivers/net/mlx5/mlx5_flow_dv.c | 5 +++++ > 8 files changed, 43 insertions(+), 3 deletions(-) >=20 > -- > 1.8.3.1 Series rebased and applied to next-net-mlx, Kindest regards, Raslan Darawsheh