get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77414,
    "url": "http://patches.dpdk.org/api/patches/77414/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200911131954.15999-28-qi.z.zhang@intel.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": "<20200911131954.15999-28-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200911131954.15999-28-qi.z.zhang@intel.com",
    "date": "2020-09-11T13:19:41",
    "name": "[v2,27/40] net/ice/base: remove repeated words",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4b502747bafa2dc38aeae644d89f22239bbace1c",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200911131954.15999-28-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 12148,
            "url": "http://patches.dpdk.org/api/series/12148/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12148",
            "date": "2020-09-11T13:19:15",
            "name": "ice base code update",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/12148/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77414/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/77414/checks/",
    "tags": {},
    "related": [],
    "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 669B6A04B7;\n\tFri, 11 Sep 2020 15:21:34 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C414B1C219;\n\tFri, 11 Sep 2020 15:16:54 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id B6AB41C1D8\n for <dev@dpdk.org>; Fri, 11 Sep 2020 15:16:40 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 06:16:40 -0700",
            "from dpdk51.sh.intel.com ([10.67.111.82])\n by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2020 06:16:39 -0700"
        ],
        "IronPort-SDR": [
            "\n cslAk7pHOlXLcE2hWuvEQ92hDY4hW+WVXDE4DfwWRJWBAb0E8YW0C4YHfOlzWguRgRVCF5zxwa\n 9DxJdbT/wMEg==",
            "\n yUsmVmGTHkMINtltFjPrYyASDShG5Rwe6xSebzOQop/XXMvSzQTIhbDXpYiEAPRSZRDMy3HXOy\n wSZM3W9cCYYw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9740\"; a=\"146482344\"",
            "E=Sophos;i=\"5.76,415,1592895600\"; d=\"scan'208\";a=\"146482344\"",
            "E=Sophos;i=\"5.76,415,1592895600\"; d=\"scan'208\";a=\"342296691\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "ferruh.yigit@intel.com",
        "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Bruce Allan <bruce.w.allan@intel.com>",
        "Date": "Fri, 11 Sep 2020 21:19:41 +0800",
        "Message-Id": "<20200911131954.15999-28-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20200911131954.15999-1-qi.z.zhang@intel.com>",
        "References": "<20200907112826.48493-1-qi.z.zhang@intel.com>\n <20200911131954.15999-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 27/40] net/ice/base: remove repeated words",
        "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": "A new test in checkpatch detects repeated words; cleanup all pre-existing\noccurrences of those now.\n\nSigned-off-by: Bruce Allan <bruce.w.allan@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\nAcked-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_adminq_cmd.h | 2 +-\n drivers/net/ice/base/ice_common.c     | 2 +-\n drivers/net/ice/base/ice_flow.c       | 4 ++--\n drivers/net/ice/base/ice_nvm.c        | 2 +-\n drivers/net/ice/base/ice_switch.c     | 4 ++--\n 5 files changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h\nindex d7a57fe6b..bc71ec531 100644\n--- a/drivers/net/ice/base/ice_adminq_cmd.h\n+++ b/drivers/net/ice/base/ice_adminq_cmd.h\n@@ -2130,7 +2130,7 @@ struct ice_aqc_acl_update_query_scen {\n  */\n struct ice_aqc_acl_scen {\n \tstruct {\n-\t\t/* Byte [x] selection for the TCAM key. This value must be set\n+\t\t/* Byte [x] selection for the TCAM key. This value must be\n \t\t * set to 0x0 for unusued TCAM.\n \t\t * Only Bit 6..0 is used in each byte and MSB is reserved\n \t\t */\ndiff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex 46754a333..f5b1a0ce8 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -2084,7 +2084,7 @@ ice_parse_fdir_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,\n  * @cap_count: the number of capabilities\n  *\n  * Helper device to parse device (0x000B) capabilities list. For\n- * capabilities shared between device and device, this relies on\n+ * capabilities shared between device and function, this relies on\n  * ice_parse_common_caps.\n  *\n  * Loop through the list of provided capabilities and extract the relevant\ndiff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c\nindex d96bf169f..9e9878ae4 100644\n--- a/drivers/net/ice/base/ice_flow.c\n+++ b/drivers/net/ice/base/ice_flow.c\n@@ -1254,7 +1254,7 @@ ice_flow_xtract_fld(struct ice_hw *hw, struct ice_flow_prof_params *params,\n  * ice_flow_xtract_raws - Create extract sequence entries for raw bytes\n  * @hw: pointer to the HW struct\n  * @params: information about the flow to be processed\n- * @seg: index of packet segment whose raw fields are to be be extracted\n+ * @seg: index of packet segment whose raw fields are to be extracted\n  */\n static enum ice_status\n ice_flow_xtract_raws(struct ice_hw *hw, struct ice_flow_prof_params *params,\n@@ -3106,7 +3106,7 @@ enum ice_status ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk,\n  *\n  * This helper function stores information of a field being matched, including\n  * the type of the field and the locations of the value to match, the mask, and\n- * and the upper-bound value in the start of the input buffer for a flow entry.\n+ * the upper-bound value in the start of the input buffer for a flow entry.\n  * This function should only be used for fixed-size data structures.\n  *\n  * This function also opportunistically determines the protocol headers to be\ndiff --git a/drivers/net/ice/base/ice_nvm.c b/drivers/net/ice/base/ice_nvm.c\nindex b4fb28bfb..5df07133b 100644\n--- a/drivers/net/ice/base/ice_nvm.c\n+++ b/drivers/net/ice/base/ice_nvm.c\n@@ -629,7 +629,7 @@ ice_nvm_access_get_features(struct ice_nvm_access_cmd *cmd,\n {\n \t/* The provided data_size must be at least as large as our NVM\n \t * features structure. A larger size should not be treated as an\n-\t * error, to allow future extensions to to the features structure to\n+\t * error, to allow future extensions to the features structure to\n \t * work on older drivers.\n \t */\n \tif (cmd->data_size < sizeof(struct ice_nvm_features))\ndiff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex d1bc10539..1c07c60a1 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -2367,7 +2367,7 @@ ice_aq_alloc_free_vsi_list(struct ice_hw *hw, u16 *vsi_list_id,\n  * @hw: pointer to the HW struct\n  * @bcast_thresh: represents the upper threshold for broadcast storm control\n  * @mcast_thresh: represents the upper threshold for multicast storm control\n- * @ctl_bitmask: storm control control knobs\n+ * @ctl_bitmask: storm control knobs\n  *\n  * Sets the storm control configuration (0x0280)\n  */\n@@ -2394,7 +2394,7 @@ ice_aq_set_storm_ctrl(struct ice_hw *hw, u32 bcast_thresh, u32 mcast_thresh,\n  * @hw: pointer to the HW struct\n  * @bcast_thresh: represents the upper threshold for broadcast storm control\n  * @mcast_thresh: represents the upper threshold for multicast storm control\n- * @ctl_bitmask: storm control control knobs\n+ * @ctl_bitmask: storm control knobs\n  *\n  * Gets the storm control configuration (0x0281)\n  */\n",
    "prefixes": [
        "v2",
        "27/40"
    ]
}