From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20080.outbound.protection.outlook.com [40.107.2.80]) by dpdk.org (Postfix) with ESMTP id 87F6D1B195 for ; Thu, 11 Oct 2018 14:30:31 +0200 (CEST) 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=JJqB7doV6Om+pyqEf+y5YfFZzTbe+vsGpkZHoSV8rbk=; b=yujNvpZTe9mxKa9N7k9J8/AaHA5evWLb5dUMWl3QKWu/DR9fq05hCB0S+hLDfpwq2t6L9VXDuOMBGWR20tcfZ0EPA1Rw5OJW8yBdkOxkhbMC0WqE8Gw6bjwNLd5PJQNVmxeEqdSNNEOryhKQXQc7Diib6UXT4BNSqNdYh9zLwVQ= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4907.eurprd05.prod.outlook.com (20.176.235.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.23; Thu, 11 Oct 2018 12:30:30 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973%3]) with mapi id 15.20.1228.020; Thu, 11 Oct 2018 12:30:30 +0000 From: Shahaf Shuler To: Mordechay Haimovsky CC: "dev@dpdk.org" Thread-Topic: [PATCH v4] net/mlx5: support e-switch TCP-flags flow filter Thread-Index: AQHUYU/4xkz1BdBdvUixtcbdyp+kFaUZ+X/g Date: Thu, 11 Oct 2018 12:30:30 +0000 Message-ID: References: <1539182589-10533-1-git-send-email-motih@mellanox.com> <1539254901-19410-1-git-send-email-motih@mellanox.com> In-Reply-To: <1539254901-19410-1-git-send-email-motih@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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4907; 6:XVoP0zW9LuYv0rqJcgsA9baFmD4cIXkYQPBKyHNRxAN5eL0YxQ1p+rtpuEkQREflz2MayA0cZoZTtTZYuwcEYMsQq4ZFIEIcGzX/+iAh/sKvSp2Tj5iYMgF1MrobCya6HCBJ/hm5lOP0vO4nSk0RCYco6lgKCoA2cnqtmy0yDTS1Ry6BOgjF9v/b9bV3+0av1aHpyU8jm0dXnASRCqJgKANHTgIUeuPl7C1vnmi4xm/NVPp4FHp6eBgoNtPbWJt9cUKa2a09hbWotLgeRlVgdw/CoFKDR+eC0QsQvsp5OhIwjF6X75vFr800lXQbq1Oh3KdCBMHlpBeYNNu/Si7+F8SK74y3ztWps/Whg4AgqQ56KvzBxGgMAZtt+gyRgHHL/aqoCC56sY4SAChM8bSTNJfafBHkp4dIssa2xR6+GxJrlO59P+0OexKTxOQx35kOOVfe9AdL8wRHaY4xzmnEuw==; 5:pxNw2+6pQNBv6EL1HxOe8ufyBWgwLN5VQfJV30ziWiBd4lcQdpTgIHVbr2+70NSFT3tEfh1dCG3RQv6tsP+Ky+it4b7y5U+j9oirZe3Kr8VcbJFjEp0C4xa7HtLBxd0/U+pTyFoVOmefMKdxiXFe47CTPYWSLF29xZkGmYBsDhM=; 7:yClvH5z1DUhSAMGyfT+zeYiqaTZ47K/MWzD3C7REGYzU8qZG1swuS0x7hsHhk1Lz8kQlir5EZaKCjGh+8oKWsAgpkkCTq2NOILJYEIAteqnLgna4RshFtT5acdbwnngE47tTyqlBbQOwciWjVcuLDJmkvM2eivP4gLWkUPVAUunmi/3g5VFgBMN3muyCMoN60XAZopFqaEzKYWF8yXR//oU171TKNOJgWd247IJgmcXnbLccB8vf+SRrGFsHhgKA x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 49696db4-e9ad-4a4b-3d6f-08d62f7554fd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4907; x-ms-traffictypediagnostic: DB7PR05MB4907: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:DB7PR05MB4907; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4907; x-forefront-prvs: 08220FA8D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(39860400002)(376002)(346002)(396003)(189003)(199004)(229853002)(68736007)(6862004)(106356001)(105586002)(4326008)(25786009)(256004)(81166006)(2906002)(71200400001)(8936002)(71190400001)(3846002)(6116002)(316002)(26005)(6636002)(8676002)(102836004)(6246003)(81156014)(74316002)(7696005)(5660300001)(486006)(305945005)(14454004)(76176011)(99286004)(186003)(7736002)(11346002)(446003)(476003)(97736004)(5250100002)(66066001)(2900100001)(33656002)(6506007)(55016002)(53936002)(86362001)(478600001)(9686003)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4907; H:DB7PR05MB4426.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-microsoft-antispam-message-info: hdWwoWHlsP7anDLWX5JNgyPLPhT1PggermJqvHmNe5FnSxg1akTiwRE4e5Q+RcOmmxYxeadWL5BM9XvMFiqvptOUchPPekecYnJd7EdvMmRYwkCmjWcF4cmRtRhAZuiYY1VKafPb/0w57nd054htwUZHiRH684dAI1XlpnHQ+SeGEMc7byEn2KozQOri+8JhH3KZdsjUN5mRzvi56QPw4/K/esnc7e2oz7IrKfdWYNrEyuQmQDral6XnFV11yhep6rs96SvKOMiYms19pWZWZqZ7gxK2SSSJKA+T37aRkTKYFn8Pum6PXp/7Ygn6gBOHtBV64ZsGE6exngJvdgCnTnj9Kql6fRLs37ldPDKoHs0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: 49696db4-e9ad-4a4b-3d6f-08d62f7554fd X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2018 12:30:30.1346 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4907 Subject: Re: [dpdk-dev] [PATCH v4] net/mlx5: support e-switch TCP-flags flow filter 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: , X-List-Received-Date: Thu, 11 Oct 2018 12:30:31 -0000 Thursday, October 11, 2018 1:49 PM, Mordechay Haimovsky: > Subject: [PATCH v4] net/mlx5: support e-switch TCP-flags flow filter >=20 > This patch adds support for offloading flow rules with TCP-flags filter t= o mlx5 > eswitch Hardwrae. >=20 > With mlx5 it is possible to offload a limited set of flow rules to the ml= xsw (or > e-switch) using the DPDK flow commands using the "transfer" attribute. Th= is > set of flow rules also supports filtering according to the values found i= n the > TCP flags. > This patch implements this offload capability in the mlx5 PMD under trans= fer > attribute. >=20 > Signed-off-by: Moti Haimovsky Applied to next-net-mlx, thanks.=20