Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45306/?format=api
http://patches.dpdk.org/api/patches/45306/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1537868945-149389-1-git-send-email-nikhil.rao@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": "<1537868945-149389-1-git-send-email-nikhil.rao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1537868945-149389-1-git-send-email-nikhil.rao@intel.com", "date": "2018-09-25T09:49:05", "name": "[v3] eventdev: fix port id argument in Rx adapter caps API", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "908a26f4657ad9c63eb7536bc4e2446e7675acd2", "submitter": { "id": 528, "url": "http://patches.dpdk.org/api/people/528/?format=api", "name": "Rao, Nikhil", "email": "nikhil.rao@intel.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1537868945-149389-1-git-send-email-nikhil.rao@intel.com/mbox/", "series": [ { "id": 1486, "url": "http://patches.dpdk.org/api/series/1486/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1486", "date": "2018-09-25T09:49:05", "name": "[v3] eventdev: fix port id argument in Rx adapter caps API", "version": 3, "mbox": "http://patches.dpdk.org/series/1486/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/45306/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/45306/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 472985F14;\n\tTue, 25 Sep 2018 11:49:52 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 0AC8E5B40;\n\tTue, 25 Sep 2018 11:49:49 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Sep 2018 02:49:49 -0700", "from unknown (HELO localhost.localdomain.localdomain)\n\t([10.224.122.193])\n\tby orsmga007.jf.intel.com with ESMTP; 25 Sep 2018 02:49:47 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,301,1534834800\"; d=\"scan'208\";a=\"75730629\"", "From": "Nikhil Rao <nikhil.rao@intel.com>", "To": "jerin.jacob@caviumnetworks.com", "Cc": "dev@dpdk.org,\n\tNikhil Rao <nikhil.rao@intel.com>,\n\tstable@dpdk.org", "Date": "Tue, 25 Sep 2018 15:19:05 +0530", "Message-Id": "<1537868945-149389-1-git-send-email-nikhil.rao@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1536150078-89772-1-git-send-email-nikhil.rao@intel.com>", "References": "<1536150078-89772-1-git-send-email-nikhil.rao@intel.com>", "Subject": "[dpdk-dev] [PATCH v3] eventdev: fix port id argument in Rx adapter\n\tcaps API", "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": "Make the ethernet port id passed into\nrte_event_eth_rx_adapter_caps_get() 16 bit.\n\nAlso, update the event rx adapter test to use 16 bit\nethernet port ids.\n\nFixes: c2189c907dd1 (\"eventdev: make ethdev port identifiers 16-bit\")\nCc: stable@dpdk.org\n\nSigned-off-by: Nikhil Rao <nikhil.rao@intel.com>\nAcked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>\n---\n\nv2:\n* squash changes to autotest and library into a single patch (Jerin Jacob)\n* add update to release notes (Jerin Jacob)\n\nv3:\n* update meson.build (Jerin Jacob)\n\n lib/librte_eventdev/rte_eventdev.h | 2 +-\n lib/librte_eventdev/rte_eventdev.c | 2 +-\n test/test/test_event_eth_rx_adapter.c | 6 +++---\n doc/guides/rel_notes/release_18_11.rst | 4 +++-\n lib/librte_eventdev/Makefile | 2 +-\n lib/librte_eventdev/meson.build | 2 +-\n 6 files changed, 10 insertions(+), 8 deletions(-)", "diff": "diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h\nindex a24213e..8541109 100644\n--- a/lib/librte_eventdev/rte_eventdev.h\n+++ b/lib/librte_eventdev/rte_eventdev.h\n@@ -1112,7 +1112,7 @@ struct rte_event {\n *\n */\n int\n-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,\n+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,\n \t\t\t\tuint32_t *caps);\n \n #define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 0)\ndiff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c\nindex 0a8572b..b1914dc 100644\n--- a/lib/librte_eventdev/rte_eventdev.c\n+++ b/lib/librte_eventdev/rte_eventdev.c\n@@ -109,7 +109,7 @@\n }\n \n int\n-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,\n+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,\n \t\t\t\tuint32_t *caps)\n {\n \tstruct rte_eventdev *dev;\ndiff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c\nindex 4641640..592bcaa 100644\n--- a/test/test/test_event_eth_rx_adapter.c\n+++ b/test/test/test_event_eth_rx_adapter.c\n@@ -32,7 +32,7 @@ struct event_eth_rx_adapter_test_params {\n static struct event_eth_rx_adapter_test_params default_params;\n \n static inline int\n-port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,\n+port_init_common(uint16_t port, const struct rte_eth_conf *port_conf,\n \t\tstruct rte_mempool *mp)\n {\n \tconst uint16_t rx_ring_size = 512, tx_ring_size = 512;\n@@ -94,7 +94,7 @@ struct event_eth_rx_adapter_test_params {\n }\n \n static inline int\n-port_init_rx_intr(uint8_t port, struct rte_mempool *mp)\n+port_init_rx_intr(uint16_t port, struct rte_mempool *mp)\n {\n \tstatic const struct rte_eth_conf port_conf_default = {\n \t\t.rxmode = {\n@@ -110,7 +110,7 @@ struct event_eth_rx_adapter_test_params {\n }\n \n static inline int\n-port_init(uint8_t port, struct rte_mempool *mp)\n+port_init(uint16_t port, struct rte_mempool *mp)\n {\n \tstatic const struct rte_eth_conf port_conf_default = {\n \t\t.rxmode = {\ndiff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst\nindex 97daad1..842b46b 100644\n--- a/doc/guides/rel_notes/release_18_11.rst\n+++ b/doc/guides/rel_notes/release_18_11.rst\n@@ -99,6 +99,8 @@ API Changes\n flag the MAC can be properly configured in any case. This is particularly\n important for bonding.\n \n+* eventdev: Type of 2nd parameter to ``rte_event_eth_rx_adapter_caps_get()``\n+ has been changed from uint8_t to uint16_t.\n \n ABI Changes\n -----------\n@@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.\n librte_distributor.so.1\n librte_eal.so.8\n librte_ethdev.so.10\n- librte_eventdev.so.4\n+ + librte_eventdev.so.6\n librte_flow_classify.so.1\n librte_gro.so.1\n librte_gso.so.1\ndiff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile\nindex 47f599a..ce800ea 100644\n--- a/lib/librte_eventdev/Makefile\n+++ b/lib/librte_eventdev/Makefile\n@@ -8,7 +8,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n LIB = librte_eventdev.a\n \n # library version\n-LIBABIVER := 5\n+LIBABIVER := 6\n \n # build flags\n CFLAGS += -DALLOW_EXPERIMENTAL_API\ndiff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build\nindex 3cbaf29..3c4e510 100644\n--- a/lib/librte_eventdev/meson.build\n+++ b/lib/librte_eventdev/meson.build\n@@ -1,7 +1,7 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n-version = 5\n+version = 6\n allow_experimental_apis = true\n \n if host_machine.system() == 'linux'\n", "prefixes": [ "v3" ] }{ "id": 45306, "url": "