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 90342A0546; Thu, 16 Jul 2020 17:04:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6557B1BF67; Thu, 16 Jul 2020 17:04:20 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2079.outbound.protection.outlook.com [40.107.20.79]) by dpdk.org (Postfix) with ESMTP id 33E391BF60 for ; Thu, 16 Jul 2020 17:04:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=alclWjR8zB+TVmgDWF6/QFM3291pz4p0ciX4puSb0KK55aaZWKMnxHatTxYKfOPPZ8dvo1WCqwbN8WAQRPppYwmLfVRtQA6FCHONO9r8rokFKDnmUxZVXs/UEYx1QVmm3C6OMWS/Vqk4duilizA5tZWhGuNMDzmFHO4i9drxg6W467EkRolWDiF0u5XuCvslT0cdWF1YqYgvOZp568k7I63ZOzDQVvEreLjVqZzn0TQxrjf1HPXLQztxyTBqVtYrpAzsqBtxtL1zClMTCmxdnpbkEpCrxJm68qer0yOsYd8sGRBLkrqhxgOmTaI75GMEshwzqvownGwEw7Kw4nfPCw== 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=+LI/cbwZCWiyPybMlqkB/tPMH887rEBWGFowAHd2vHA=; b=c+Jw6Xosu91U9LqgPEurWUXjply7VQU+H5SxTGPcIBwQs7L9ip/2/FTxF4wfLJEK673VYSbG+3/E5dkXUsDNQUFNkouRXHWK1iCKE5RCBw0OrZSYzkHNdY+gGFNN3zvVHlqAGUCZn+NME6HapMu4QWDr+6nDmjnHdJPdMpbJJBWtvclXodm4eKWR7EsY4MPGfq6c5dHkE2cR7YtS2vR+K3klbq2C97Qi1VD95pZ9qrAz4aCX5s+3/mulCI2Fsn7nxkcgqk66auaQF+HhGx7SO8OFz1q1yq+AUdww9pvqWGgWJ330K8eSMBt0GYhxy1cGd8cF7Gw5v9x0lQxCqSbEfA== 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=+LI/cbwZCWiyPybMlqkB/tPMH887rEBWGFowAHd2vHA=; b=JlvVM7Y7UyPL2yis6QtX0Kh9ak2DEIIl/xUbkKrBMhYrZS/AHdldSa2Aw2s+eEqF/OQbGT8NRX3ZY0XoKNIk00X0XhGT2rNMZeh7W868bR3OY6hDve+mqhbvj2HaDsuZXP864eIqX9m30jATbIJwOIu8S0YAmvuVKR8TJjJozVM= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM0PR05MB5940.eurprd05.prod.outlook.com (2603:10a6:208:12f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Thu, 16 Jul 2020 15:04:15 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed%2]) with mapi id 15.20.3195.018; Thu, 16 Jul 2020 15:04:15 +0000 From: Slava Ovsiienko To: Bing Zhao , Ori Kam CC: Raslan Darawsheh , Matan Azrad , "dev@dpdk.org" , Netanel Gonen Thread-Topic: [PATCH v3 1/7] net/mlx5: add flow validation of eCPRI header Thread-Index: AQHWW3zF+k/9SyAfF0O1BJpngthw1qkKTZyw Date: Thu, 16 Jul 2020 15:04:15 +0000 Message-ID: References: <1594907399-63329-1-git-send-email-bingz@mellanox.com> <1594909426-64843-1-git-send-email-bingz@mellanox.com> <1594909426-64843-2-git-send-email-bingz@mellanox.com> In-Reply-To: <1594909426-64843-2-git-send-email-bingz@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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f26a34c7-cabc-4fbf-afe7-08d8299981ac x-ms-traffictypediagnostic: AM0PR05MB5940: 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:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6SjCKpu0Jdhvw/iXoorm95+PNUujjp3iQZJMVPl9EV7qHTA85oti3GfxxBB0/KFCzQb2DGhlamESf/TXV9zrSFJOOrh73WykP3zbNazAle1Kkv4CvzeTBHrOgW05i0deO4oQTNk49wMyToeJUjt3IS5HAz9q1pek/+Oa4qRBDoYg7fNawPkobnDWdd2pFmMVSf2BN8D0aCB1fEhxTGXxYjL0FEWTrxvaj+LRt5os9hUGVfkgQq6RtLx3ckdZSNcnQUqgL3rOsy2FKoNwXG7l1Bt1lbgq6oymlBDKDsaUyURNa5GiY4aINILHgwblTtfg x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR05MB3265.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(39860400002)(366004)(346002)(396003)(376002)(2906002)(4326008)(186003)(76116006)(5660300002)(64756008)(8676002)(7696005)(83380400001)(52536014)(26005)(478600001)(66446008)(33656002)(71200400001)(53546011)(54906003)(6636002)(6506007)(110136005)(86362001)(66556008)(8936002)(66946007)(9686003)(316002)(55016002)(107886003)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: gBx5TzN7ufAvzmol48QRQVelRn+BEQqJ8oc0vVG0H6vtyMRrEr0t9AjHt9NzFH0gqRcQrXkaRk+p0S+MBSOf8jfj9HtAzFyBvOHPWOPWKOih/ykFb++d8JTeXlqC97DXsYtfA68wFCSf5wRpSo9ZQZe4Pm2+Hbsyhw/gdbTXUmrxodHKD3NCjMYTG80IH0u09WRsBjN7W/2mvSeockrZZtFGpMbyrSJLqUobXWhVpZQwWoFmriojwmy0QkkivW0c3iDMlJe/icuQQGrbyKJhiqoJ6s8Vr0IRr/6CQeZno2F+tvBcvrVjfhsyEZsIEWSOiKiJD4ynZgdkY2Nnaoa90pJ63oUcCj85bUlMwngN+hZ971XymGsx8IOrEZ7ZauduyVTE/vq9lrCh90eUSxHn4ZOBb6D7QdO6bDX/m/LnP9gCOFKRFltrw1Brl6E3VoBp6MFWS8gokYZxLkf0hTm3xpTOK2PxZOwQskJdks3h764= 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: AM4PR05MB3265.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f26a34c7-cabc-4fbf-afe7-08d8299981ac X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2020 15:04:15.3849 (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: +UMIx3sr2rjL8fqEeXqekouN3jVkIgHexkyng/+cfKBM8Quyv6VG18N68NAJWeV19Rve8dy8D/eEGAyGP7UMsYBL/TvFB4GhLkb4rUvtHr4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5940 Subject: Re: [dpdk-dev] [PATCH v3 1/7] net/mlx5: add flow validation of eCPRI header 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" > -----Original Message----- > From: Bing Zhao > Sent: Thursday, July 16, 2020 17:24 > To: Ori Kam ; Slava Ovsiienko > > Cc: Raslan Darawsheh ; Matan Azrad > ; dev@dpdk.org; Netanel Gonen > > Subject: [PATCH v3 1/7] net/mlx5: add flow validation of eCPRI header >=20 > When creating a flow with eCPRI header item, the validation of it is > mandatory. The detailed limitations are listed below: > 1. Over Ether / VLAN, ethertype must be 0xAEFE. > 2. No tunnel support is described in the specification now. > 3. L3 layer is only supported when L4 is UDP, see #4. > 4. Over TCP is not supported from the specification, and over UDP > is not supported right now. > 5. Concatenation indicator matching is not supported now. > 6. No need to check the revision. > 7. Only type field in the common header is mandatory, and one byte > should be matched integrally. > 8. Fields in the message payload header are optional. > 9. Only messages with type #0, #2 and #5 are supported now. >=20 > Some limitations are only from software right now, because there is no ne= ed > to support all the message types and variants of protocol stack listed in= the > specification. >=20 > Signed-off-by: Bing Zhao Acked-by: Viacheslav Ovsiienko