From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00065.outbound.protection.outlook.com [40.107.0.65]) by dpdk.org (Postfix) with ESMTP id A6D661B647 for ; Wed, 9 May 2018 15:57:45 +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; bh=ntVRXDYVf142k0PxP8gpvYS1jKLu9uJU69O1Ok2PC3M=; b=n5qANUw6pHXz77/rn/0pNP3+1s90TmMxd2uSyDNpqhfM/E0mci0bKtF9Vo4pimvLTadDFsCKZTdX6Gc3Vn9BT9sax6dOaHz1xNGHmJvxwBfoxbkV9a2mFHwS8pyYIzBRQ3z31Re7ZZ3vQ30Yj2qs8N66pBksGB+GLeWdjwsadt4= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4169.eurprd05.prod.outlook.com (52.134.107.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Wed, 9 May 2018 13:57:43 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8%13]) with mapi id 15.20.0735.018; Wed, 9 May 2018 13:57:43 +0000 From: Shahaf Shuler To: Yongseok Koh , Adrien Mazarguil , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: "dev@dpdk.org" , Yongseok Koh Thread-Topic: [dpdk-dev] [PATCH v2 0/3] net/mlx5: add Multi-Packet Rx support Thread-Index: AQHT54bdoLB1jwy3zkS9cdjKtee+jKQna9Iw Date: Wed, 9 May 2018 13:57:43 +0000 Message-ID: References: <20180502232054.7852-1-yskoh@mellanox.com> <20180509111350.20240-1-yskoh@mellanox.com> In-Reply-To: <20180509111350.20240-1-yskoh@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: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4169; 7:zCUC6qCizuGvEWCFFxB6cSxRxSav3ZPvgbdqgPlGhKhb0u2Zj3Db0FeLJEZZbvhHBjGQw9aXOkT6FQrUlSoyaIEwd5t8S+6+hoakT5zvrKlcPTU1R/WJDlupVbaZ3+AowfAHpKLiaWyRVUajpAnJnQotZw1K37kgIse500GiZ4xOC77hyzmanILanQP8EtRuO6Hl5ra3UT6/+yWJxsL1uIrFNHcjRrl6YgbiCpa3ulhAB6l/Ngqi06Ucpn54OGl+ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4169; x-ms-traffictypediagnostic: DB7PR05MB4169: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr 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)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB7PR05MB4169; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4169; x-forefront-prvs: 0667289FF8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(346002)(39860400002)(376002)(396003)(366004)(199004)(189003)(316002)(55016002)(8936002)(105586002)(9686003)(3846002)(6116002)(54906003)(110136005)(7736002)(305945005)(6246003)(107886003)(81156014)(8676002)(25786009)(53936002)(478600001)(5660300001)(81166006)(106356001)(66066001)(2900100001)(97736004)(68736007)(5250100002)(5890100001)(229853002)(6436002)(74316002)(14454004)(4326008)(76176011)(446003)(59450400001)(2906002)(99286004)(33656002)(486006)(476003)(6506007)(11346002)(3280700002)(7696005)(86362001)(102836004)(26005)(3660700001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4169; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:3; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: FtmGqpalx+NWO54TdRwrqqK59CEk3id2XKmHQhEwtUc8krnC7BTcfLYd3qpm7f0S+JQpTUX531LzUpY3niksUkvpsn0Ltv080gINVnFQoAgmRkWpVFud2Aqt8Zhy2y7ZH371aBtQMjBJN8X/TxTfJ2VPXS67K31jc4sxZIfPDHvsSxcd9aY7xguWljYMwCo6 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 166ff99a-5572-474b-81d2-08d5b5b4d624 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 166ff99a-5572-474b-81d2-08d5b5b4d624 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2018 13:57:43.3000 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4169 Subject: Re: [dpdk-dev] [PATCH v2 0/3] net/mlx5: add Multi-Packet Rx support 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: Wed, 09 May 2018 13:57:45 -0000 Wednesday, May 9, 2018 2:14 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v2 0/3] net/mlx5: add Multi-Packet Rx support >=20 > Multi-Packet Rx Queue (MPRQ a.k.a Striding RQ) can further save PCIe > bandwidth by posting a single large buffer for multiple packets. Instead = of > posting a buffer per a packet, one large buffer is posted in order to rec= eive > multiple packets on the buffer. A MPRQ buffer consists of multiple fixed-= size > strides and each stride receives one packet. >=20 > Rx packet is mem-copied to a user-provided mbuf if the size of Rx packet = is > comparatively small, or PMD attaches the Rx packet to the mbuf by externa= l > buffer attachment - rte_pktmbuf_attach_extbuf(). A mempool for external > buffers will be allocated and managed by PMD. >=20 > This patchset should be applied after: > net/mlx5: add new Memory Region support >=20 Series applied to next-net-mlx, thanks.=20 >=20 > v2: > * add mprq_log_stride_num parameter to configure the number of strides. > * enable configuring larger max_rx_pkt_len than the size of user-provided > mbuf. The size of the stride isn't static anymore but dynamically > determined. > * enhance documentation. > * fix issues from review. >=20 > Yongseok Koh (3): > net/mlx5: separate filling Rx flags > net/mlx5: add a function to rdma-core glue > net/mlx5: add Multi-Packet Rx support >=20 > doc/guides/nics/mlx5.rst | 58 +++++ > drivers/net/mlx5/Makefile | 5 + > drivers/net/mlx5/mlx5.c | 83 +++++++ > drivers/net/mlx5/mlx5.h | 11 + > drivers/net/mlx5/mlx5_defs.h | 18 ++ > drivers/net/mlx5/mlx5_ethdev.c | 3 + > drivers/net/mlx5/mlx5_glue.c | 16 ++ > drivers/net/mlx5/mlx5_glue.h | 8 + > drivers/net/mlx5/mlx5_prm.h | 15 ++ > drivers/net/mlx5/mlx5_rxq.c | 494 > ++++++++++++++++++++++++++++++++++++--- > drivers/net/mlx5/mlx5_rxtx.c | 307 +++++++++++++++++++++--- > drivers/net/mlx5/mlx5_rxtx.h | 37 ++- > drivers/net/mlx5/mlx5_rxtx_vec.c | 4 + > drivers/net/mlx5/mlx5_rxtx_vec.h | 3 +- > drivers/net/mlx5/mlx5_trigger.c | 6 +- > 15 files changed, 992 insertions(+), 76 deletions(-) >=20 > -- > 2.11.0