get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139021,
    "url": "http://patches.dpdk.org/api/patches/139021/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240402163050.133923-5-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": "<20240402163050.133923-5-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240402163050.133923-5-stephen@networkplumber.org",
    "date": "2024-04-02T16:29:36",
    "name": "[4/4] doc: replace use of ifconfig in nics",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "35d34c7c24a24e33567a802a55c2c38bf305b1a2",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240402163050.133923-5-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31655,
            "url": "http://patches.dpdk.org/api/series/31655/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31655",
            "date": "2024-04-02T16:29:32",
            "name": "Replace references to ifconfig in doc",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31655/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139021/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139021/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 D39F543DC3;\n\tTue,  2 Apr 2024 18:31:33 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CCAAC4064E;\n\tTue,  2 Apr 2024 18:31:08 +0200 (CEST)",
            "from mail-pf1-f178.google.com (mail-pf1-f178.google.com\n [209.85.210.178])\n by mails.dpdk.org (Postfix) with ESMTP id 66910402F2\n for <dev@dpdk.org>; Tue,  2 Apr 2024 18:31:05 +0200 (CEST)",
            "by mail-pf1-f178.google.com with SMTP id\n d2e1a72fcca58-6eac64f2205so4466092b3a.2\n for <dev@dpdk.org>; Tue, 02 Apr 2024 09:31:05 -0700 (PDT)",
            "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n y7-20020aa793c7000000b006e6fd17069fsm9954857pff.37.2024.04.02.09.31.03\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 02 Apr 2024 09:31:04 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712075464;\n x=1712680264; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=l1YQR9vA1ExjgPXZx1u9QUYmj6l2lxm8f1tbQG9ecgQ=;\n b=1twO2n+Ob8hsdsqN4a8t48dBmFqWqdQRYg0qSX31cLi/983gESQjGvmqkpQjnpPs63\n GREYwnVGNq3RjDseKKbk+2eSTkI91fVEqX7BdfdkM1qVyNdEZDl2AsJ8pBKqqTF7N/FQ\n EDQJ0d2sJ/CI1xyeWRVHIiCjl/puhJ7kkYw1ITIVuf+dXIrde5kIYSXqyDzP4g5vLhhE\n oyFBzRJKgT88OFvkLF6OaJ0poUiJUJmSkn6s+XQxG0Ov15cC1HeGk3/Y67aKUIuF6GYD\n tBWF1oU5S9X6C2vHgQT38qBjsnhNYgiJlqMAz8vrm1WqqNk2cwjeQgtCH/FKAXwI0X9Z\n zV3Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1712075464; x=1712680264;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=l1YQR9vA1ExjgPXZx1u9QUYmj6l2lxm8f1tbQG9ecgQ=;\n b=xL30QiK82J7x5ZdpkMIcJN/9eL/ejx2/5xj7DiYaMsr2yL3qk7xOixlEJT92pYjLt8\n jwjceSJIV0vrC8wFbP0LPi4eYt9biBQJJKoKBLt5BJicyarZD4koS12A8aYurihkpG1t\n a2yEsHMtOX/IYCtyqDHbr8dA6GxeGRQGjdSMSxhK3G8Mlp7vgm0Oek5aPGMYSux4Cdko\n csk8Sg17KolWatjmzqjW1dqhKE6ohM9PJ2d0+cnQMTrWTY4Px4Ia4RWbpiKArdkD6U63\n VW8mKMib4CMn3q41gtZRHmnEf8HP4J+OEzdlfaB3WUJItQ4kLd6kInkusCjyTxem3Hwy\n 9rMA==",
        "X-Gm-Message-State": "AOJu0Yzx6vdJdIHFTPr8wUoahX8URmdbyaLRXM58PwuW3fW73ItGjFZe\n Bbmx0jlIu5XCh7LFF28NZpnBrgF9Nf6DHTF9ZsSJ5iqigwPOMfFFRtdu/fsAHJnAshm17VSlyIA\n C",
        "X-Google-Smtp-Source": "\n AGHT+IHKwLGfOtalUQSbLdCxZUFY8i3HngqXnRBlg2WaIfW+iSYBx2tk9+b9GmxWF2ZKoAytAculSQ==",
        "X-Received": "by 2002:a05:6a00:1992:b0:6ea:c2a2:5648 with SMTP id\n d18-20020a056a00199200b006eac2a25648mr13435077pfl.3.1712075464542;\n Tue, 02 Apr 2024 09:31:04 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Julien Aube <julien_dpdk@jaube.fr>,\n Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>,\n Yuying Zhang <Yuying.Zhang@intel.com>,\n Dariusz Sosnowski <dsosnowski@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>, Ori Kam <orika@nvidia.com>,\n Suanming Mou <suanmingm@nvidia.com>, Matan Azrad <matan@nvidia.com>,\n Devendra Singh Rawat <dsinghrawat@marvell.com>,\n Alok Prasad <palok@marvell.com>",
        "Subject": "[PATCH 4/4] doc: replace use of ifconfig in nics",
        "Date": "Tue,  2 Apr 2024 09:29:36 -0700",
        "Message-ID": "<20240402163050.133923-5-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240402163050.133923-1-stephen@networkplumber.org>",
        "References": "<20240402163050.133923-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "The ifconfig command is BSD legacy and no longer maintained.\nReplace it with modern (20 year old) ip command.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n doc/guides/nics/bnx2x.rst   |  4 ++--\n doc/guides/nics/cxgbe.rst   | 13 ++++++-------\n doc/guides/nics/e1000em.rst |  2 +-\n doc/guides/nics/i40e.rst    |  2 +-\n doc/guides/nics/mlx5.rst    |  2 +-\n doc/guides/nics/qede.rst    |  4 ++--\n 6 files changed, 13 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst\nindex c24d32b9ab..ed56756a3f 100644\n--- a/doc/guides/nics/bnx2x.rst\n+++ b/doc/guides/nics/bnx2x.rst\n@@ -163,8 +163,8 @@ This section provides instructions to configure SR-IOV with Linux OS.\n \n    .. code-block:: console\n \n-      ifconfig ens5f0 up\n-      ifconfig ens5f1 up\n+      ip link set dev ens5f0 up\n+      ip link set dev ens5f1 up\n \n #. Create VF device(s):\n \ndiff --git a/doc/guides/nics/cxgbe.rst b/doc/guides/nics/cxgbe.rst\nindex 1f0b848ede..7cdaddeeb8 100644\n--- a/doc/guides/nics/cxgbe.rst\n+++ b/doc/guides/nics/cxgbe.rst\n@@ -344,11 +344,11 @@ Unified Wire package for Linux operating system are as follows:\n \n       modprobe cxgb4\n \n-#. Use ifconfig to get the interface name assigned to Chelsio card:\n+#. Use ip to get the interface name assigned to Chelsio card:\n \n    .. code-block:: console\n \n-      ifconfig -a | grep \"00:07:43\"\n+      ip -br link show | grep \"00:07:43\"\n \n    Example output:\n \n@@ -502,11 +502,11 @@ virtual functions.\n       Both the interfaces of a Chelsio 2-port adapter are bound to the\n       same PCI bus address.\n \n-#. Use ifconfig to get the interface name assigned to Chelsio card:\n+#. Use ip to get the interface name assigned to Chelsio card:\n \n    .. code-block:: console\n \n-      ifconfig -a | grep \"00:07:43\"\n+      ip -br link show | grep \"00:07:43\"\n \n    Example output:\n \n@@ -519,8 +519,8 @@ virtual functions.\n \n    .. code-block:: console\n \n-      ifconfig p1p1 up\n-      ifconfig p1p2 up\n+      ip link set dev p1p1 up\n+      ip link set dev p1p2 up\n \n #. Instantiate SR-IOV Virtual Functions. PF0..3 can be used for\n    SR-IOV VFs. Multiple VFs can be instantiated on each of PF0..3.\n@@ -886,4 +886,3 @@ port.\n \n For this reason, one cannot allow/block a single port without\n allowing/blocking the other ports on the same device.\n-\ndiff --git a/doc/guides/nics/e1000em.rst b/doc/guides/nics/e1000em.rst\nindex 5e752a29e5..b4ba132144 100644\n--- a/doc/guides/nics/e1000em.rst\n+++ b/doc/guides/nics/e1000em.rst\n@@ -125,7 +125,7 @@ The setup procedure is as follows:\n             tapvm01: tap\n             tapvm02: tap\n \n-#.  Configure your TAP networking interfaces using ip/ifconfig tools.\n+#.  Configure your TAP networking interfaces using iproute2 tools.\n \n #.  Log in to the guest OS and check that the expected emulated devices exist:\n \ndiff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst\nindex ca6caa0cff..f80e173c44 100644\n--- a/doc/guides/nics/i40e.rst\n+++ b/doc/guides/nics/i40e.rst\n@@ -326,7 +326,7 @@ SR-IOV: Prerequisites and sample Application Notes\n \n    .. code-block:: console\n \n-      ifconfig ens802f0 up\n+      ip link set dev ens802f0 up\n \n #. Create VF device(s):\n \ndiff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst\nindex 9b2fe07fd3..1863c1ab7f 100644\n--- a/doc/guides/nics/mlx5.rst\n+++ b/doc/guides/nics/mlx5.rst\n@@ -86,7 +86,7 @@ operations such as querying/updating the MTU and flow control parameters.\n This capability allows the PMD to coexist with kernel network interfaces\n which remain functional, although they stop receiving unicast packets as\n long as they share the same MAC address.\n-This means legacy linux control tools (for example: ethtool, ifconfig and\n+This means legacy linux control tools (for example: ethtool, iproute and\n more) can operate on the same network interfaces that owned by the DPDK\n application.\n \ndiff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst\nindex 38d5cbb1f3..9f65470179 100644\n--- a/doc/guides/nics/qede.rst\n+++ b/doc/guides/nics/qede.rst\n@@ -226,8 +226,8 @@ This section provides instructions to configure SR-IOV with Linux OS.\n \n    .. code-block:: console\n \n-      ifconfig ens5f0 up\n-      ifconfig ens5f1 up\n+      ip link set dev ens5f0 up\n+      ip link set dev ens5f1 up\n \n #. Create VF device(s):\n \n",
    "prefixes": [
        "4/4"
    ]
}