Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/43573/?format=api
http://patchwork.dpdk.org/api/patches/43573/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180803140605.43072-5-keith.wiles@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20180803140605.43072-5-keith.wiles@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180803140605.43072-5-keith.wiles@intel.com", "date": "2018-08-03T14:06:00", "name": "[05/10] i40e: update code to use __rte_weak macro", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9919769f0bb43ef018c82bfa8df29822352cca0f", "submitter": { "id": 166, "url": "http://patchwork.dpdk.org/api/people/166/?format=api", "name": "Wiles, Keith", "email": "keith.wiles@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180803140605.43072-5-keith.wiles@intel.com/mbox/", "series": [ { "id": 898, "url": "http://patchwork.dpdk.org/api/series/898/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=898", "date": "2018-08-03T14:05:56", "name": "[01/10] eal: add shorthand __rte_weak macro", "version": 1, "mbox": "http://patchwork.dpdk.org/series/898/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/43573/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/43573/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 32D5C1B5AA;\n\tFri, 3 Aug 2018 16:06:26 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 3B5EF1B57E\n\tfor <dev@dpdk.org>; Fri, 3 Aug 2018 16:06:19 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Aug 2018 07:06:18 -0700", "from gjthurma-mobl1.amr.corp.intel.com ([10.254.182.209])\n\tby orsmga005.jf.intel.com with ESMTP; 03 Aug 2018 07:06:17 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,438,1526367600\"; d=\"scan'208\";a=\"245747606\"", "From": "Keith Wiles <keith.wiles@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 3 Aug 2018 09:06:00 -0500", "Message-Id": "<20180803140605.43072-5-keith.wiles@intel.com>", "X-Mailer": "git-send-email 2.10.1", "In-Reply-To": "<20180803140605.43072-1-keith.wiles@intel.com>", "References": "<20180803140605.43072-1-keith.wiles@intel.com>", "Subject": "[dpdk-dev] [PATCH 05/10] i40e: update code to use __rte_weak macro", "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": "Signed-off-by: Keith Wiles <keith.wiles@intel.com>\n---\n drivers/net/i40e/i40e_rxtx.c | 20 ++++++++++----------\n 1 file changed, 10 insertions(+), 10 deletions(-)", "diff": "diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c\nindex 59a6a8adb..73499dfdd 100644\n--- a/drivers/net/i40e/i40e_rxtx.c\n+++ b/drivers/net/i40e/i40e_rxtx.c\n@@ -3165,13 +3165,13 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)\n }\n \n /* Stubs needed for linkage when CONFIG_RTE_I40E_INC_VECTOR is set to 'n' */\n-int __attribute__((weak))\n+__rte_weak int\n i40e_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)\n {\n \treturn -1;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n i40e_recv_pkts_vec(\n \tvoid __rte_unused *rx_queue,\n \tstruct rte_mbuf __rte_unused **rx_pkts,\n@@ -3180,7 +3180,7 @@ i40e_recv_pkts_vec(\n \treturn 0;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n i40e_recv_scattered_pkts_vec(\n \tvoid __rte_unused *rx_queue,\n \tstruct rte_mbuf __rte_unused **rx_pkts,\n@@ -3189,7 +3189,7 @@ i40e_recv_scattered_pkts_vec(\n \treturn 0;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n i40e_recv_pkts_vec_avx2(void __rte_unused *rx_queue,\n \t\t\tstruct rte_mbuf __rte_unused **rx_pkts,\n \t\t\tuint16_t __rte_unused nb_pkts)\n@@ -3197,7 +3197,7 @@ i40e_recv_pkts_vec_avx2(void __rte_unused *rx_queue,\n \treturn 0;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n i40e_recv_scattered_pkts_vec_avx2(void __rte_unused *rx_queue,\n \t\t\tstruct rte_mbuf __rte_unused **rx_pkts,\n \t\t\tuint16_t __rte_unused nb_pkts)\n@@ -3205,25 +3205,25 @@ i40e_recv_scattered_pkts_vec_avx2(void __rte_unused *rx_queue,\n \treturn 0;\n }\n \n-int __attribute__((weak))\n+__rte_weak int\n i40e_rxq_vec_setup(struct i40e_rx_queue __rte_unused *rxq)\n {\n \treturn -1;\n }\n \n-int __attribute__((weak))\n+__rte_weak int\n i40e_txq_vec_setup(struct i40e_tx_queue __rte_unused *txq)\n {\n \treturn -1;\n }\n \n-void __attribute__((weak))\n+__rte_weak void\n i40e_rx_queue_release_mbufs_vec(struct i40e_rx_queue __rte_unused*rxq)\n {\n \treturn;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n i40e_xmit_fixed_burst_vec(void __rte_unused * tx_queue,\n \t\t\t struct rte_mbuf __rte_unused **tx_pkts,\n \t\t\t uint16_t __rte_unused nb_pkts)\n@@ -3231,7 +3231,7 @@ i40e_xmit_fixed_burst_vec(void __rte_unused * tx_queue,\n \treturn 0;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n i40e_xmit_pkts_vec_avx2(void __rte_unused * tx_queue,\n \t\t\t struct rte_mbuf __rte_unused **tx_pkts,\n \t\t\t uint16_t __rte_unused nb_pkts)\n", "prefixes": [ "05/10" ] }{ "id": 43573, "url": "