get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 136241,
    "url": "http://patches.dpdk.org/api/patches/136241/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240131221308.2208815-2-joshwash@google.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": "<20240131221308.2208815-2-joshwash@google.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240131221308.2208815-2-joshwash@google.com",
    "date": "2024-01-31T22:13:04",
    "name": "[v5,1/5] net/gve: expose RSS offload support in dev info",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "80dc46c3ad3d32397eb21f63493ffb203d01daa8",
    "submitter": {
        "id": 2921,
        "url": "http://patches.dpdk.org/api/people/2921/?format=api",
        "name": "Joshua Washington",
        "email": "joshwash@google.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240131221308.2208815-2-joshwash@google.com/mbox/",
    "series": [
        {
            "id": 30957,
            "url": "http://patches.dpdk.org/api/series/30957/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30957",
            "date": "2024-01-31T22:13:03",
            "name": "net/gve: RSS Support for GVE Driver",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/30957/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/136241/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/136241/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id ED2D843A26;\n\tWed, 31 Jan 2024 23:14:08 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3D73842D96;\n\tWed, 31 Jan 2024 23:14:05 +0100 (CET)",
            "from mail-pg1-f202.google.com (mail-pg1-f202.google.com\n [209.85.215.202])\n by mails.dpdk.org (Postfix) with ESMTP id 23E2E402E9\n for <dev@dpdk.org>; Wed, 31 Jan 2024 23:14:03 +0100 (CET)",
            "by mail-pg1-f202.google.com with SMTP id\n 41be03b00d2f7-5dbddee3694so156003a12.1\n for <dev@dpdk.org>; Wed, 31 Jan 2024 14:14:03 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=google.com; s=20230601; t=1706739242; x=1707344042; darn=dpdk.org;\n h=cc:to:from:subject:message-id:references:mime-version:in-reply-to\n :date:from:to:cc:subject:date:message-id:reply-to;\n bh=1k5laEoRzxWBqrRDyEFl5ZSMdsBt3lRyZ9CSh7xNtCU=;\n b=Yseu+uhr/oDtSKC1ZYWR+wLoUFQCCx5GCfflh36xo2TfizkF2fL53WRUSmClxnwEVO\n 9eQ4u1GnOiXb7ABwVvSSZWfUqx7OSjisgaTL7lbCB4dUlruKow/xjrOgxTvp34wJusuk\n GFiO1Fz4lClmDUFdPcU68I5qOqIHtspIKmKPY9w6u+SMQn/V8K9n2MjnoJoyYt0ZcRje\n 0nlI5gqqlk8l6DV0V+2aPlAhbCL6uax4JSOvYbxOmsxgCG0+LgoZit9scFLmwndUfCDS\n VamLHAmH8I/dOeytzZFUzJIPESO0C5udJY4m6QLhdmpToN8FvhS7SibB8BrN2JHj96S8\n I0aA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1706739242; x=1707344042;\n h=cc:to:from:subject:message-id:references:mime-version:in-reply-to\n :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=1k5laEoRzxWBqrRDyEFl5ZSMdsBt3lRyZ9CSh7xNtCU=;\n b=ObSk12kDE/kGfKd20Ap53L4KP0nKHoKXXqEKd+aaEjjB92keZeVo247yujOE3DnUtE\n WG54exoX1J7+mX+QZSkAX5MKYYHZHTbMrVSyvvJLAz1gzvxtAxsYuK1Ynyb8LXbJ7i1e\n inRKzZsi+tesT4s7JuURIsj56c3Csdm/RMOHxHUJ0hUVtTJyqWLqj0Wz1PUTt5VmMnWk\n 1RUp1zdfaHYKIOckYnEq241qa2fQnOBmr4PknEoKCmoacJb0Jpfqnjhr1mD+eHQ9Hn0P\n LyUCoxHzDUcIo3riLQX19P6TZTDPvG/H7E3mAAP0ItwJheciCwHCAflizE8k06vdZTiq\n j5lA==",
        "X-Gm-Message-State": "AOJu0Yy/j8RBQwR1zmc4nNYlnCYsW2FMh7VmkV8/UV/LKZGiT4KJdBMb\n HuND0l7IjNQ44uEDtrI6fncJn/xcKcRTdsbwooSDdZCChYcFhueEguhrBU3CNhhKH7FGxiwpiF1\n 63+ROZjgaFg==",
        "X-Google-Smtp-Source": "\n AGHT+IHmjJvTQC9wh6ouh0qLU+HPrshLxp+jPL/Z4e1W/wXTlKBJZ5RqeaRVxMKbToKh7B9+Lh58VScNdd7zNg==",
        "X-Received": "from joshwash.sea.corp.google.com\n ([2620:15c:11c:202:9a96:68e3:c6ee:7117])\n (user=joshwash job=sendgmr) by 2002:a63:2485:0:b0:5ce:2aa:8988 with SMTP id\n k127-20020a632485000000b005ce02aa8988mr186137pgk.4.1706739242029; Wed, 31 Jan\n 2024 14:14:02 -0800 (PST)",
        "Date": "Wed, 31 Jan 2024 14:13:04 -0800",
        "In-Reply-To": "<20240131221308.2208815-1-joshwash@google.com>",
        "Mime-Version": "1.0",
        "References": "<20240126173317.2779230-2-joshwash@google.com>\n <20240131221308.2208815-1-joshwash@google.com>",
        "X-Mailer": "git-send-email 2.43.0.429.g432eaa2c6b-goog",
        "Message-ID": "<20240131221308.2208815-2-joshwash@google.com>",
        "Subject": "[PATCH v5 1/5] net/gve: expose RSS offload support in dev info",
        "From": "Joshua Washington <joshwash@google.com>",
        "To": "Junfeng Guo <junfeng.guo@intel.com>,\n Jeroen de Borst <jeroendb@google.com>,\n Rushil Gupta <rushilg@google.com>, Joshua Washington <joshwash@google.com>",
        "Cc": "dev@dpdk.org, Ferruh Yigit <ferruh.yigit@amd.com>",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "This patch communicates that the GVE driver supports RSS, along with\nthe RSS offloads supported by the driver.\n\nSigned-off-by: Joshua Washington <joshwash@google.com>\nReviewed-by: Rushil Gupta <rushilg@google.com>\nReviewed-by: Jeroen de Borst <jeroendb@google.com>\n---\n drivers/net/gve/gve_ethdev.c | 4 +++-\n drivers/net/gve/gve_ethdev.h | 8 ++++++++\n 2 files changed, 11 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c\nindex d162fd3864..6acdb4e13b 100644\n--- a/drivers/net/gve/gve_ethdev.c\n+++ b/drivers/net/gve/gve_ethdev.c\n@@ -405,7 +405,7 @@ gve_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \tdev_info->max_mtu = priv->max_mtu;\n \tdev_info->min_mtu = RTE_ETHER_MIN_MTU;\n \n-\tdev_info->rx_offload_capa = 0;\n+\tdev_info->rx_offload_capa = RTE_ETH_RX_OFFLOAD_RSS_HASH;\n \tdev_info->tx_offload_capa =\n \t\tRTE_ETH_TX_OFFLOAD_MULTI_SEGS\t|\n \t\tRTE_ETH_TX_OFFLOAD_UDP_CKSUM\t|\n@@ -442,6 +442,8 @@ gve_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \t\t.nb_align = 1,\n \t};\n \n+\tdev_info->flow_type_rss_offloads = GVE_RSS_OFFLOAD_ALL;\n+\n \treturn 0;\n }\n \ndiff --git a/drivers/net/gve/gve_ethdev.h b/drivers/net/gve/gve_ethdev.h\nindex 9893fcfee6..14c72ec91a 100644\n--- a/drivers/net/gve/gve_ethdev.h\n+++ b/drivers/net/gve/gve_ethdev.h\n@@ -33,6 +33,14 @@\n \t\tRTE_MBUF_F_TX_L4_MASK  |\t\\\n \t\tRTE_MBUF_F_TX_TCP_SEG)\n \n+#define GVE_RSS_OFFLOAD_ALL (\t\t\\\n+\tRTE_ETH_RSS_IPV4 |\t\t\\\n+\tRTE_ETH_RSS_NONFRAG_IPV4_TCP |\t\\\n+\tRTE_ETH_RSS_IPV6 |\t\t\\\n+\tRTE_ETH_RSS_IPV6_EX |\t\t\\\n+\tRTE_ETH_RSS_NONFRAG_IPV6_TCP |\t\\\n+\tRTE_ETH_RSS_IPV6_TCP_EX)\n+\n /* A list of pages registered with the device during setup and used by a queue\n  * as buffers\n  */\n",
    "prefixes": [
        "v5",
        "1/5"
    ]
}