Show a patch.

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

{
    "id": 73336,
    "url": "https://patches.dpdk.org/api/patches/73336/",
    "web_url": "https://patches.dpdk.org/patch/73336/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200706203743.29416-24-i.dyukov@samsung.com>",
    "date": "2020-07-06T20:37:37",
    "name": "[v6,23/25] examples/qos_sched: new link status print format",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "afe6389af312edda173a05acb6cafe4ed6d29ff6",
    "submitter": {
        "id": 783,
        "url": "https://patches.dpdk.org/api/people/783/",
        "name": "Ivan Dyukov",
        "email": "i.dyukov@samsung.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73336/mbox/",
    "series": [
        {
            "id": 10825,
            "url": "https://patches.dpdk.org/api/series/10825/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10825",
            "date": "2020-07-06T20:37:14",
            "name": "ethdev: allow unknown link speed",
            "version": 6,
            "mbox": "https://patches.dpdk.org/series/10825/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73336/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/73336/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "To": "dev@dpdk.org, i.dyukov@samsung.com, v.kuramshin@samsung.com,\n thomas@monjalon.net, david.marchand@redhat.com, ferruh.yigit@intel.com,\n arybchenko@solarflare.com, wei.zhao1@intel.com, jia.guo@intel.com,\n beilei.xing@intel.com, qiming.yang@intel.com, wenzhuo.lu@intel.com,\n mb@smartsharesystems.com, stephen@networkplumber.org,\n nicolas.chautru@intel.com, bruce.richardson@intel.com,\n konstantin.ananyev@intel.com, cristian.dumitrescu@intel.com,\n radu.nicolau@intel.com, akhil.goyal@nxp.com, declan.doherty@intel.com,\n skori@marvell.com, pbhagavatula@marvell.com, jerinj@marvell.com,\n kirankumark@marvell.com, david.hunt@intel.com, anatoly.burakov@intel.com,\n xiaoyun.li@intel.com, jingjing.wu@intel.com, john.mcnamara@intel.com,\n jasvinder.singh@intel.com, byron.marohn@intel.com, yipeng1.wang@intel.com",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "X-AuditID": "cbfec7f5-371ff700000018ae-56-5f038bded397",
        "X-Mailer": "git-send-email 2.17.1",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com\n 20200706203855euoutp025d0ec8630d1f93c18785d21918f4ca9b~fRFdjEvS92313123131euoutp02t",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;\n s=mail20170921; t=1594067935;\n bh=M/wyN4nGPfl8N+dBV9oGDaEn0+uBQWGX9DXEsrG01Ys=;\n h=From:To:Subject:Date:In-Reply-To:Reply-To:References:From;\n b=RyDm8b+kNFQLbvMPSosjLDB1gvDJB9xFCkXTLs7Wn+E9HgEBhjsS1YLWXbym+MZ5g\n dTss1t4Z/TwMyPfcAWqNIq4ypUswoKvOTU35srvX31T52QxCOsitIM7MuZMPBq0ef1\n aosFjeojNFYkBq5E5zJ6oafY5tWSCYANZIvTIRP8=",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-RootMTR": "20200706203854eucas1p190bd0852cecbbede8423d6efa7bf554a",
        "X-EPHeader": "CA",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5199BA00C5;\n\tMon,  6 Jul 2020 22:41:34 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EBF511DDEC;\n\tMon,  6 Jul 2020 22:39:04 +0200 (CEST)",
            "from mailout2.w1.samsung.com (mailout2.w1.samsung.com\n [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 682051DD01\n for <dev@dpdk.org>; Mon,  6 Jul 2020 22:38:55 +0200 (CEST)",
            "from eucas1p2.samsung.com (unknown [182.198.249.207])\n by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id\n 20200706203855euoutp025d0ec8630d1f93c18785d21918f4ca9b~fRFdjEvS92313123131euoutp02t;\n Mon,  6 Jul 2020 20:38:55 +0000 (GMT)",
            "from eusmges3new.samsung.com (unknown [203.254.199.245]) by\n eucas1p2.samsung.com (KnoxPortal) with ESMTP id\n 20200706203854eucas1p23eddec3a375a4389d815861516218ebb~fRFdQpVDB2127421274eucas1p28;\n Mon,  6 Jul 2020 20:38:54 +0000 (GMT)",
            "from eucas1p1.samsung.com ( [182.198.249.206]) by\n eusmges3new.samsung.com (EUCPMTA) with SMTP id B3.D6.06318.EDB830F5; Mon,  6\n Jul 2020 21:38:54 +0100 (BST)",
            "from eusmtrp1.samsung.com (unknown [182.198.249.138]) by\n eucas1p1.samsung.com (KnoxPortal) with ESMTPA id\n 20200706203854eucas1p190bd0852cecbbede8423d6efa7bf554a~fRFc4AaD02656126561eucas1p1G;\n Mon,  6 Jul 2020 20:38:54 +0000 (GMT)",
            "from eusmgms1.samsung.com (unknown [182.198.249.179]) by\n eusmtrp1.samsung.com (KnoxPortal) with ESMTP id\n 20200706203854eusmtrp165777c9fe2db3d89f9ea81e30349e953~fRFc3LFW62965829658eusmtrp1x;\n Mon,  6 Jul 2020 20:38:54 +0000 (GMT)",
            "from eusmtip1.samsung.com ( [203.254.199.221]) by\n eusmgms1.samsung.com (EUCPMTA) with SMTP id 06.EF.06314.EDB830F5; Mon,  6\n Jul 2020 21:38:54 +0100 (BST)",
            "from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by\n eusmtip1.samsung.com (KnoxPortal) with ESMTPA id\n 20200706203852eusmtip1a90eb64fd185418d371ca8a43ec12839~fRFbF1xrV1500415004eusmtip12;\n Mon,  6 Jul 2020 20:38:52 +0000 (GMT)"
        ],
        "Subject": "[dpdk-dev] [PATCH v6 23/25] examples/qos_sched: new link status\n\tprint format",
        "In-Reply-To": "<20200706203743.29416-1-i.dyukov@samsung.com>",
        "X-Msg-Generator": "CA",
        "Reply-To": "i.dyukov@samsung.com",
        "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>",
        "X-Brightmail-Tracker": [
            "\n H4sIAAAAAAAAA0WSe0hTYRjG+c45O+e4mp1W5IfdaBFUlBUFvURXCzpGUX8EQZG68jQl3WJH\n V1bUihKbS0vtpmm2UTPNLJu3UquRTdu8dBHTzEYFdre8YKVWm2fRf8/7vL/3fV4+PpZUZtDB\n bIw2XtBr1bEqWk6VPfrZOLczhYyYbzMvgGJ3LoI3nVYSPJmvaEj5doyAFwUroKr8ogzSXxsJ\n SE3/TkB5vomGz56jFHztKSego9rFQNbTowz0OLoYONmUjaBr6CMJF/J6ETTllsrg54M7NHQP\n WShI/dWCIM1eh8Bp/k5BZmUFgiQTB9+u2RiwdkyBHk8dBa622wxc739CQql7GMFpZzGChqQ/\n spXT+F95V2S8teoDwWdcfkLyj9rOMry5Ppfgb32tIPjumhaaT7UXIP7xmxSSL3z3g94k3ypf\n GiXExhgE/bzlkfLoht/t9J6bzL62UitjRCbahAJYzC3Cjx/aCBOSs0ouH+G7J7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xtb9MGHs7LNhkjU0ViL29VQWzlZNL5On7M/KAzRq\n nZbfFa0WtIGyUAV4yBW+IPfw8pUrPH3C/Ty8ZQeDAiL52Jh4XnMw6Lw8um99hLxcSyVYmsqo\n ZKQn9chOzNBeTOnoOK5H9mIpXY4YU7NFpEdiq8Ew36bxTcaRWXtn423MAmKWx+oJm0HS+xhz\n hhGzGU70R5J5m56yYTjSJ5mikbsbmqBdmaXWjxtpEtqPGR4woc2pO5mq2jbcFmZnrd/vdLZJ\n KR3DjCxSNkJKuzDvixaxm8ihGG2pRE68TlBFqQSFXOBUgi4uSh6hVtUj68Wbu1YaTGio7nQH\n osVItlWSQeJKqYiLFxJVHYgR4zInydE+8zmpJJJLvMJr1EqNLpYXOpC3db0c3HlbhNr6P3Fa\n pcJb4QO+Ch9PH89DINsuyaDbw6R0FKflL/H8ZV7zvw8T2zkno0vKpJCUiGBPj3S/wuTO9Sqd\n 2+83x68VNdv3JOW9yAy/6feGemxcc1g4O00EdM1GSnbnvyworH64Zyo02FBz5gunvd4buNf/\n +dLMp6rKRYe2hWNflQeEYVdTuCShK8Kgt5Rc/DzhXnAiJXQuZyDWP4wLfhA13WcXMk42OV3I\n vDO4IiOEaE6xH9cI3D+SQhHKBwMAAA=="
        ],
        "List-Post": "<mailto:dev@dpdk.org>",
        "Date": "Mon,  6 Jul 2020 23:37:37 +0300",
        "Precedence": "list",
        "From": "Ivan Dyukov <i.dyukov@samsung.com>",
        "CMS-TYPE": "201P",
        "X-CMS-MailID": "20200706203854eucas1p190bd0852cecbbede8423d6efa7bf554a",
        "References": "<20200427095737.11082-1-i.dyukov@samsung.com>\n <20200706203743.29416-1-i.dyukov@samsung.com>\n <CGME20200706203854eucas1p190bd0852cecbbede8423d6efa7bf554a@eucas1p1.samsung.com>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "X-CMS-RootMailID": "20200706203854eucas1p190bd0852cecbbede8423d6efa7bf554a",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<20200706203743.29416-24-i.dyukov@samsung.com>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Add usage of rte_eth_link_strf function to example\napplications\n\nSigned-off-by: Ivan Dyukov <i.dyukov@samsung.com>\n---\n examples/qos_sched/init.c | 10 ++--------\n 1 file changed, 2 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c\nindex 9626c15b8..4bb975fc9 100644\n--- a/examples/qos_sched/init.c\n+++ b/examples/qos_sched/init.c\n@@ -160,14 +160,8 @@ app_init_port(uint16_t portid, struct rte_mempool *mp)\n \t\t\t \"rte_eth_link_get: err=%d, port=%u: %s\\n\",\n \t\t\t ret, portid, rte_strerror(-ret));\n \n-\tif (link.link_status) {\n-\t\tprintf(\" Link Up - speed %u Mbps - %s\\n\",\n-\t\t\t(uint32_t) link.link_speed,\n-\t\t\t(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?\n-\t\t\t(\"full-duplex\") : (\"half-duplex\"));\n-\t} else {\n-\t\tprintf(\" Link Down\\n\");\n-\t}\n+\trte_eth_link_printf(NULL, &link);\n+\n \tret = rte_eth_promiscuous_enable(portid);\n \tif (ret != 0)\n \t\trte_exit(EXIT_FAILURE,\n",
    "prefixes": [
        "v6",
        "23/25"
    ]
}