get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/43585/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 43585,
    "url": "http://patches.dpdk.org/api/patches/43585/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180803203148.5589-1-stephen@networkplumber.org/",
    "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": "<20180803203148.5589-1-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180803203148.5589-1-stephen@networkplumber.org",
    "date": "2018-08-03T20:31:48",
    "name": "mlx5: spelling fixes",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "e971c8f05e789d0ffe9fd37dc669c5e54ab00070",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 6624,
        "url": "http://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180803203148.5589-1-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 902,
            "url": "http://patches.dpdk.org/api/series/902/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=902",
            "date": "2018-08-03T20:31:48",
            "name": "mlx5: spelling fixes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/902/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43585/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43585/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 181641B5BF;\n\tFri,  3 Aug 2018 22:31:58 +0200 (CEST)",
            "from mail-pf1-f195.google.com (mail-pf1-f195.google.com\n\t[209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 11A621B5BE\n\tfor <dev@dpdk.org>; Fri,  3 Aug 2018 22:31:56 +0200 (CEST)",
            "by mail-pf1-f195.google.com with SMTP id u24-v6so3803075pfn.13\n\tfor <dev@dpdk.org>; Fri, 03 Aug 2018 13:31:56 -0700 (PDT)",
            "from xeon-e3.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tv89-v6sm799896pfj.22.2018.08.03.13.31.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 03 Aug 2018 13:31:55 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=VYywZ7CcF/7gnwY6siKrmbFH5khfGVJXifHKg2mkrkE=;\n\tb=g6AQVL+ioUZMR5Y4VFyPZVNMNeUhiAe79lkKSh/5jQrCClZnWAz7s7jQNmT3+zlMos\n\txoB/F1QaziIaT52dteiwWY75/GjrHDa35x8M8mj14jJSTu8LIb7VEir1ipq3fGm9k5gI\n\tRVKBrE7Isbyl/3g1R9vxssVnf5ciWXNi2EiP37u4GejL/+vweOdqKslOvWm8U7G7Pbdq\n\tzPos7ylmt8ngGbaSzFHI/2hAuKmpJ2dYRj7K0PePX9NphmJDHVfvMFHPxeBFoG8YXAtc\n\tVRqoBdGAGTmoKwXoR9PDpxR8BHxP0wkWkna8q/FD/FjAbygLTpAexitCyW9n3pKGbsL0\n\tzGDg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=VYywZ7CcF/7gnwY6siKrmbFH5khfGVJXifHKg2mkrkE=;\n\tb=lRgvT4ceSz4PffFLKh02VqJVzkPhtoebRT5UKRRLSM0d7rk1AHX/cFQ7JtKdW0mJUn\n\t/U/O7fS9JdhU5cQVK0qMjIDmNW/O92Mhc3LDkRigSae9QX/xYrRpMSAj8DVfGt+9rAUx\n\t4r/GHts0wRtVVdZfpaBOG3M2mKCQAKREpxKW01qKg2iEo6sDiyyh95N8yGdh9kMyQ4to\n\t8mAz8V7X75JykT3Wwkjwr7/xFX2lom4Cj3fKA1ObWyGvUNVQdQuOlp9UtouAUJArxAEZ\n\tH7DcS1c5j6RkzfDVrE5UdKcMvYwN3otVHqj6xj54pvnx1Fp0kPk842vcYUrDvJXy3nNx\n\tTXhg==",
        "X-Gm-Message-State": "AOUpUlEOJu4iaDXYcfv0AlAMbolzgiw0w/F1tf5FcJdNoYjtiF9Pij8m\n\t1dVMNTVskXQZCLAw++LSXzzedxHy0+Q=",
        "X-Google-Smtp-Source": "AAOMgpc/Z7McXvRKfGNkyvB6/SCKCBGlTDCx26eVBkwnbeiwfjz64l+h3GY2CFq8wp70ABTDBb6VbA==",
        "X-Received": "by 2002:a62:bd4:: with SMTP id\n\t81-v6mr6176430pfl.67.1533328316071; \n\tFri, 03 Aug 2018 13:31:56 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "yskoh@mellanox.com,\n\tshahafs@mellanox.com",
        "Cc": "dev@dpdk.org,\n\tStephen Hemminger <stephen@networkplumber.org>",
        "Date": "Fri,  3 Aug 2018 13:31:48 -0700",
        "Message-Id": "<20180803203148.5589-1-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.18.0",
        "Subject": "[dpdk-dev] [PATCH] mlx5: spelling fixes",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Fix spelling errors in messages and comments.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/mlx5/mlx5_ethdev.c |  2 +-\n drivers/net/mlx5/mlx5_flow.c   |  4 ++--\n drivers/net/mlx5/mlx5_mr.c     |  8 ++++----\n drivers/net/mlx5/mlx5_rxq.c    | 20 ++++++++++----------\n drivers/net/mlx5/mlx5_rxtx.c   |  2 +-\n 5 files changed, 18 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c\nindex 34c5b95ee6d2..2c838e6539b6 100644\n--- a/drivers/net/mlx5/mlx5_ethdev.c\n+++ b/drivers/net/mlx5/mlx5_ethdev.c\n@@ -1138,7 +1138,7 @@ mlx5_dev_interrupt_handler_install(struct rte_eth_dev *dev)\n \t}\n \tret = mlx5_socket_init(dev);\n \tif (ret)\n-\t\tDRV_LOG(ERR, \"port %u cannot initialise socket: %s\",\n+\t\tDRV_LOG(ERR, \"port %u cannot initialize socket: %s\",\n \t\t\tdev->data->port_id, strerror(rte_errno));\n \telse if (priv->primary_socket) {\n \t\tpriv->intr_handle_socket.fd = priv->primary_socket;\ndiff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c\nindex b94c442ec4e6..d13178be6ba1 100644\n--- a/drivers/net/mlx5/mlx5_flow.c\n+++ b/drivers/net/mlx5/mlx5_flow.c\n@@ -1090,7 +1090,7 @@ mlx5_flow_item_ipv6(const struct rte_flow_item *item, struct rte_flow *flow,\n \t\t\t\t\t  item,\n \t\t\t\t\t  \"L3 cannot follow an L4 layer.\");\n \t/*\n-\t * IPv6 is not recognised by the NIC inside a GRE tunnel.\n+\t * IPv6 is not recognized by the NIC inside a GRE tunnel.\n \t * Such support has to be disabled as the rule will be\n \t * accepted.  Issue reproduced with Mellanox OFED 4.3-3.0.2.1 and\n \t * Mellanox OFED 4.4-1.0.0.0.\n@@ -1100,7 +1100,7 @@ mlx5_flow_item_ipv6(const struct rte_flow_item *item, struct rte_flow *flow,\n \t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ITEM,\n \t\t\t\t\t  item,\n \t\t\t\t\t  \"IPv6 inside a GRE tunnel is\"\n-\t\t\t\t\t  \" not recognised.\");\n+\t\t\t\t\t  \" not recognized.\");\n \tif (!mask)\n \t\tmask = &rte_flow_item_ipv6_mask;\n \tret = mlx5_flow_item_acceptable\ndiff --git a/drivers/net/mlx5/mlx5_mr.c b/drivers/net/mlx5/mlx5_mr.c\nindex 1d1bcb5fe028..aa7ca355b4d8 100644\n--- a/drivers/net/mlx5/mlx5_mr.c\n+++ b/drivers/net/mlx5/mlx5_mr.c\n@@ -446,7 +446,7 @@ mr_free(struct mlx5_mr *mr)\n }\n \n /**\n- * Releass resources of detached MR having no online entry.\n+ * Release resources of detached MR having no online entry.\n  *\n  * @param dev\n  *   Pointer to Ethernet device.\n@@ -496,7 +496,7 @@ mr_find_contig_memsegs_cb(const struct rte_memseg_list *msl,\n }\n \n /**\n- * Create a new global Memroy Region (MR) for a missing virtual address.\n+ * Create a new global Memory Region (MR) for a missing virtual address.\n  * Register entire virtually contiguous memory chunk around the address.\n  *\n  * @param dev\n@@ -553,7 +553,7 @@ mlx5_mr_create(struct rte_eth_dev *dev, struct mlx5_mr_cache *entry,\n \t * Find out a contiguous virtual address chunk in use, to which the\n \t * given address belongs, in order to register maximum range. In the\n \t * best case where mempools are not dynamically recreated and\n-\t * '--socket-mem' is speicified as an EAL option, it is very likely to\n+\t * '--socket-mem' is specified as an EAL option, it is very likely to\n \t * have only one MR(LKey) per a socket and per a hugepage-size even\n \t * though the system memory is highly fragmented.\n \t */\n@@ -604,7 +604,7 @@ mlx5_mr_create(struct rte_eth_dev *dev, struct mlx5_mr_cache *entry,\n \tbmp_mem = RTE_PTR_ALIGN_CEIL(mr + 1, RTE_CACHE_LINE_SIZE);\n \tmr->ms_bmp = rte_bitmap_init(ms_n, bmp_mem, bmp_size);\n \tif (mr->ms_bmp == NULL) {\n-\t\tDEBUG(\"port %u unable to initialize bitamp for a new MR of\"\n+\t\tDEBUG(\"port %u unable to initialize bitmap for a new MR of\"\n \t\t      \" address (%p).\",\n \t\t      dev->data->port_id, (void *)addr);\n \t\trte_errno = EINVAL;\ndiff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c\nindex 16e1641d00bc..7c2d65ff2007 100644\n--- a/drivers/net/mlx5/mlx5_rxq.c\n+++ b/drivers/net/mlx5/mlx5_rxq.c\n@@ -751,7 +751,7 @@ mlx5_rx_intr_disable(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n  *   Queue index in DPDK Rx queue array\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n struct mlx5_rxq_ibv *\n mlx5_rxq_ibv_new(struct rte_eth_dev *dev, uint16_t idx)\n@@ -1179,7 +1179,7 @@ mlx5_mprq_free_mp(struct rte_eth_dev *dev)\n \n /**\n  * Allocate a mempool for Multi-Packet RQ. All configured Rx queues share the\n- * mempool. If already allocated, reuse it if there're enough elements.\n+ * mempool. If already allocated, reuse it if there are enough elements.\n  * Otherwise, resize it.\n  *\n  * @param dev\n@@ -1234,7 +1234,7 @@ mlx5_mprq_alloc_mp(struct rte_eth_dev *dev)\n \t */\n \tdesc *= 4;\n \tobj_num = desc + MLX5_MPRQ_MP_CACHE_SZ * priv->rxqs_n;\n-\t/* Check a mempool is already allocated and if it can be resued. */\n+\t/* Check a mempool is already allocated and if it can be reused. */\n \tif (mp != NULL && mp->elt_size >= obj_size && mp->size >= obj_num) {\n \t\tDRV_LOG(DEBUG, \"port %u mempool %s is being reused\",\n \t\t\tdev->data->port_id, mp->name);\n@@ -1583,7 +1583,7 @@ mlx5_rxq_verify(struct rte_eth_dev *dev)\n  *   Number of queues in the array.\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n struct mlx5_ind_table_ibv *\n mlx5_ind_table_ibv_new(struct rte_eth_dev *dev, const uint16_t *queues,\n@@ -1613,7 +1613,7 @@ mlx5_ind_table_ibv_new(struct rte_eth_dev *dev, const uint16_t *queues,\n \t\tind_tbl->queues[i] = queues[i];\n \t}\n \tind_tbl->queues_n = queues_n;\n-\t/* Finalise indirection table. */\n+\t/* Finalize indirection table. */\n \tfor (j = 0; i != (unsigned int)(1 << wq_n); ++i, ++j)\n \t\twq[i] = wq[j];\n \tind_tbl->ind_table = mlx5_glue->create_rwq_ind_table\n@@ -1746,7 +1746,7 @@ mlx5_ind_table_ibv_verify(struct rte_eth_dev *dev)\n  *   Number of queues.\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n struct mlx5_hrxq *\n mlx5_hrxq_new(struct rte_eth_dev *dev,\n@@ -1950,7 +1950,7 @@ mlx5_hrxq_ibv_verify(struct rte_eth_dev *dev)\n  *   Pointer to Ethernet device.\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n struct mlx5_rxq_ibv *\n mlx5_rxq_ibv_drop_new(struct rte_eth_dev *dev)\n@@ -2009,7 +2009,7 @@ mlx5_rxq_ibv_drop_new(struct rte_eth_dev *dev)\n  *   Pointer to Ethernet device.\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n void\n mlx5_rxq_ibv_drop_release(struct rte_eth_dev *dev)\n@@ -2032,7 +2032,7 @@ mlx5_rxq_ibv_drop_release(struct rte_eth_dev *dev)\n  *   Pointer to Ethernet device.\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n struct mlx5_ind_table_ibv *\n mlx5_ind_table_ibv_drop_new(struct rte_eth_dev *dev)\n@@ -2096,7 +2096,7 @@ mlx5_ind_table_ibv_drop_release(struct rte_eth_dev *dev)\n  *   Pointer to Ethernet device.\n  *\n  * @return\n- *   The Verbs object initialised, NULL otherwise and rte_errno is set.\n+ *   The Verbs object initialized, NULL otherwise and rte_errno is set.\n  */\n struct mlx5_hrxq *\n mlx5_hrxq_drop_new(struct rte_eth_dev *dev)\ndiff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c\nindex 2d14f8a6edbd..95cbc513ca7b 100644\n--- a/drivers/net/mlx5/mlx5_rxtx.c\n+++ b/drivers/net/mlx5/mlx5_rxtx.c\n@@ -1507,7 +1507,7 @@ txq_burst_empw(struct mlx5_txq_data *txq, struct rte_mbuf **pkts,\n \t\t\tmpw.wqe->eseg.cs_flags = cs_flags;\n \t\t} else {\n \t\t\t/* Evaluate whether the next packet can be inlined.\n-\t\t\t * Inlininig is possible when:\n+\t\t\t * Inlining is possible when:\n \t\t\t * - length is less than configured value\n \t\t\t * - length fits for remaining space\n \t\t\t * - not required to fill the title WQEBB with dsegs\n",
    "prefixes": []
}