Show a cover letter.

GET /api/covers/74034/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 74034,
    "url": "http://patches.dpdk.org/api/covers/74034/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/1594785603-152773-1-git-send-email-suanmingm@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://patches.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": "<1594785603-152773-1-git-send-email-suanmingm@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1594785603-152773-1-git-send-email-suanmingm@mellanox.com",
    "date": "2020-07-15T03:59:56",
    "name": "[0/7] net/mlx5: add sys_mem_en devarg",
    "submitter": {
        "id": 1358,
        "url": "http://patches.dpdk.org/api/people/1358/?format=api",
        "name": "Suanming Mou",
        "email": "suanmingm@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/1594785603-152773-1-git-send-email-suanmingm@mellanox.com/mbox/",
    "series": [
        {
            "id": 11031,
            "url": "http://patches.dpdk.org/api/series/11031/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11031",
            "date": "2020-07-15T03:59:56",
            "name": "net/mlx5: add sys_mem_en devarg",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11031/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/74034/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 06A57A0540;\n\tWed, 15 Jul 2020 06:00:14 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E0E971C1A8;\n\tWed, 15 Jul 2020 06:00:12 +0200 (CEST)",
            "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n by dpdk.org (Postfix) with ESMTP id 0D96A1C1A7\n for <dev@dpdk.org>; Wed, 15 Jul 2020 06:00:11 +0200 (CEST)"
        ],
        "From": "Suanming Mou <suanmingm@mellanox.com>",
        "To": "viacheslavo@mellanox.com,\n\tmatan@mellanox.com",
        "Cc": "orika@mellanox.com,\n\trasland@mellanox.com,\n\tdev@dpdk.org",
        "Date": "Wed, 15 Jul 2020 11:59:56 +0800",
        "Message-Id": "<1594785603-152773-1-git-send-email-suanmingm@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH 0/7] net/mlx5: add sys_mem_en devarg",
        "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": "Currently, for MLX5 PMD, once millions of flows created, the memory\nconsumption of the flows are also very huge. For the system with limited\nmemory, it means the system need to reserve most of the memory as huge\npage memory to serve the flows in advance. And other normal applications\nwill have no chance to use this reserved memory any more. While most of\nthe time, the system will not have lots of flows, the  reserved huge page\nmemory becomes a bit waste of memory at most of the time.\n\nBy the new sys_mem_en devarg, once set it to be true, it allows the PMD\nallocate the memory from system by default with the new add mlx5 memory\nmanagement functions. Only once the MLX5_MEM_RTE flag is set, the memory\nwill be allocate from rte, otherwise, it allocates memory from system.\n\nSo in this case, the system with limited memory no need to reserve most\nof the memory for hugepage. Only some needed memory for datapath objects\nwill be enough to allocated with explicitly flag. Other memory will be\nallocated from system. For system with enough memory, no need to care\nabout the devarg, the memory will always be from rte hugepage.\n\nOne restriction is that for DPDK application with multiple PCI devices,\nif the sys_mem_en devargs are different between the devices, the\nsys_mem_en only gets the value from the first device devargs, and print\nout a message to warn that.\n\nSuanming Mou (7):\n  common/mlx5: add mlx5 memory management functions\n  net/mlx5: add allocate memory from system devarg\n  net/mlx5: convert control path memory to unified malloc\n  common/mlx5: convert control path memory to unified malloc\n  common/mlx5: convert data path objects to unified malloc\n  net/mlx5: convert configuration objects to unified malloc\n  net/mlx5: convert Rx/Tx queue objects to unified malloc\n\n doc/guides/nics/mlx5.rst                        |   7 +\n drivers/common/mlx5/Makefile                    |   1 +\n drivers/common/mlx5/linux/mlx5_glue.c           |  13 +-\n drivers/common/mlx5/linux/mlx5_nl.c             |   5 +-\n drivers/common/mlx5/meson.build                 |   1 +\n drivers/common/mlx5/mlx5_common.c               |  10 +-\n drivers/common/mlx5/mlx5_common_mp.c            |   7 +-\n drivers/common/mlx5/mlx5_common_mr.c            |  31 ++--\n drivers/common/mlx5/mlx5_devx_cmds.c            |  75 +++++----\n drivers/common/mlx5/mlx5_malloc.c               | 214 ++++++++++++++++++++++++\n drivers/common/mlx5/mlx5_malloc.h               |  93 ++++++++++\n drivers/common/mlx5/rte_common_mlx5_version.map |   5 +\n drivers/net/mlx5/linux/mlx5_ethdev_os.c         |   8 +-\n drivers/net/mlx5/linux/mlx5_os.c                |  28 ++--\n drivers/net/mlx5/mlx5.c                         | 108 ++++++------\n drivers/net/mlx5/mlx5.h                         |   1 +\n drivers/net/mlx5/mlx5_ethdev.c                  |  15 +-\n drivers/net/mlx5/mlx5_flow.c                    |  45 ++---\n drivers/net/mlx5/mlx5_flow_dv.c                 |  46 ++---\n drivers/net/mlx5/mlx5_flow_meter.c              |  11 +-\n drivers/net/mlx5/mlx5_flow_verbs.c              |   8 +-\n drivers/net/mlx5/mlx5_mp.c                      |   3 +-\n drivers/net/mlx5/mlx5_rss.c                     |  13 +-\n drivers/net/mlx5/mlx5_rxq.c                     |  74 ++++----\n drivers/net/mlx5/mlx5_txq.c                     |  44 +++--\n drivers/net/mlx5/mlx5_utils.c                   |  60 ++++---\n drivers/net/mlx5/mlx5_utils.h                   |   2 +-\n drivers/net/mlx5/mlx5_vlan.c                    |   8 +-\n 28 files changed, 660 insertions(+), 276 deletions(-)\n create mode 100644 drivers/common/mlx5/mlx5_malloc.c\n create mode 100644 drivers/common/mlx5/mlx5_malloc.h"
}