Cover Detail
Show a cover letter.
GET /api/covers/68082/?format=api
http://patchwork.dpdk.org/api/covers/68082/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/1586467444-15197-1-git-send-email-akozyrev@mellanox.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1586467444-15197-1-git-send-email-akozyrev@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1586467444-15197-1-git-send-email-akozyrev@mellanox.com", "date": "2020-04-09T21:24:01", "name": "[v3,0/3] net/mlx5: add large packet size support to MPRQ", "submitter": { "id": 1573, "url": "http://patchwork.dpdk.org/api/people/1573/?format=api", "name": "Alexander Kozyrev", "email": "akozyrev@mellanox.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/1586467444-15197-1-git-send-email-akozyrev@mellanox.com/mbox/", "series": [ { "id": 9278, "url": "http://patchwork.dpdk.org/api/series/9278/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=9278", "date": "2020-04-09T21:24:01", "name": "net/mlx5: add large packet size support to MPRQ", "version": 3, "mbox": "http://patchwork.dpdk.org/series/9278/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/68082/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id DF0AFA0597;\n\tThu, 9 Apr 2020 23:24:22 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B3B5B1C2BC;\n\tThu, 9 Apr 2020 23:24:21 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 24EF11C22A\n for <dev@dpdk.org>; Thu, 9 Apr 2020 23:24:20 +0200 (CEST)", "from Internal Mail-Server by MTLPINE2 (envelope-from\n akozyrev@mellanox.com)\n with ESMTPS (AES256-SHA encrypted); 10 Apr 2020 00:24:19 +0300", "from pegasus02.mtr.labs.mlnx. (pegasus02.mtr.labs.mlnx\n [10.210.16.122])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 039LOItl026643;\n Fri, 10 Apr 2020 00:24:18 +0300" ], "From": "Alexander Kozyrev <akozyrev@mellanox.com>", "To": "dev@dpdk.org", "Cc": "rasland@mellanox.com, matan@mellanox.com, viacheslavo@mellanox.com", "Date": "Thu, 9 Apr 2020 21:24:01 +0000", "Message-Id": "<1586467444-15197-1-git-send-email-akozyrev@mellanox.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1585691559-17409-1-git-send-email-akozyrev@mellanox.com>", "References": "<1585691559-17409-1-git-send-email-akozyrev@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v3 0/3] net/mlx5: add large packet size support\n\tto MPRQ", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "In order to support the 9K MTU the MPRQ feature should be updated\nto allow a packet to take more than one stride (single linear buffer).\nReceiving a packet into multiple adjacent strides should be implemented.\nThe reason preventing the packet to be received into multiple strides is\nthat the data buffer must be preceded with some HEAD_ROOM space.\nIn the current implementation the HEAD_ROOM space is borrowed by the PMD\nfrom the tail of the preceding stride. If packet takes multiple strides\nthe tail of stride may be overwritten with a packet data and the memory\ncan't be borrowed to provide the HEAD_ROOM space for the next packet.\nSpecial care is needed to prevent the HEAD_ROOM corruption as such:\n- copy a whole packet into a separate memory buffer if scatter is off\n- copy an overlapping data only and craft a multi-segment mbuf otherwise\nAfter multi-stride support for packets receiving is in place it is\npossible to reduce the stride size for more efficient memory utilization.\nIntroduce the mprq_log_stride_size device parameter to configure\na stride size for MPRQ. Default stride size is set to 2048 bytes.\n\nSigned-off-by: Alexander Kozyrev <akozyrev@mellanox.com>\n---\nv1: https://patchwork.dpdk.org/cover/67558/\nv2: https://patchwork.dpdk.org/cover/67670/\nmerge documentation and implementation in one commit\nv3: rollback to the simple burst Rx in case the packet size is too big\nto fit into the stride and the mprq_log_stride_size is not configured\n\nAlexander Kozyrev (3):\n net/mlx5: add a devarg to specify MPRQ stride size\n net/mlx5: enable MPRQ multi-stride operations\n net/mlx5: add multi-segment packets in MPRQ mode\n\n doc/guides/nics/mlx5.rst | 17 ++++-\n doc/guides/rel_notes/release_20_05.rst | 1 +\n drivers/net/mlx5/mlx5.c | 34 ++++++++--\n drivers/net/mlx5/mlx5.h | 1 +\n drivers/net/mlx5/mlx5_defs.h | 3 +\n drivers/net/mlx5/mlx5_rxq.c | 70 +++++++++++---------\n drivers/net/mlx5/mlx5_rxtx.c | 113 +++++++++++++++++++--------------\n drivers/net/mlx5/mlx5_rxtx.h | 2 +-\n 8 files changed, 154 insertions(+), 87 deletions(-)" }{ "id": 68082, "url": "