Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/43572/?format=api
http://patches.dpdk.org/api/patches/43572/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180803140605.43072-4-keith.wiles@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": "<20180803140605.43072-4-keith.wiles@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180803140605.43072-4-keith.wiles@intel.com", "date": "2018-08-03T14:05:59", "name": "[04/10] fm10k: update code to use __rte_weak macro", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2fafe36a2b94e4fc5f4f654d2a7e4d9ab3b6a15d", "submitter": { "id": 166, "url": "http://patches.dpdk.org/api/people/166/?format=api", "name": "Wiles, Keith", "email": "keith.wiles@intel.com" }, "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/20180803140605.43072-4-keith.wiles@intel.com/mbox/", "series": [ { "id": 898, "url": "http://patches.dpdk.org/api/series/898/?format=api", "web_url": "http://patches.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://patches.dpdk.org/series/898/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/43572/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/43572/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 E9F7A1B5A2;\n\tFri, 3 Aug 2018 16:06:24 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 2BC371B57C\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:17 -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=\"245747604\"", "From": "Keith Wiles <keith.wiles@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 3 Aug 2018 09:05:59 -0500", "Message-Id": "<20180803140605.43072-4-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 04/10] fm10k: 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/fm10k/fm10k_ethdev.c | 16 ++++++++--------\n 1 file changed, 8 insertions(+), 8 deletions(-)", "diff": "diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c\nindex 541a49b75..e43b16d4e 100644\n--- a/drivers/net/fm10k/fm10k_ethdev.c\n+++ b/drivers/net/fm10k/fm10k_ethdev.c\n@@ -129,13 +129,13 @@ fm10k_mbx_unlock(struct fm10k_hw *hw)\n }\n \n /* Stubs needed for linkage when vPMD is disabled */\n-int __attribute__((weak))\n+__rte_weak int\n fm10k_rx_vec_condition_check(__rte_unused struct rte_eth_dev *dev)\n {\n \treturn -1;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n fm10k_recv_pkts_vec(\n \t__rte_unused void *rx_queue,\n \t__rte_unused struct rte_mbuf **rx_pkts,\n@@ -144,7 +144,7 @@ fm10k_recv_pkts_vec(\n \treturn 0;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n fm10k_recv_scattered_pkts_vec(\n \t\t__rte_unused void *rx_queue,\n \t\t__rte_unused struct rte_mbuf **rx_pkts,\n@@ -153,33 +153,33 @@ fm10k_recv_scattered_pkts_vec(\n \treturn 0;\n }\n \n-int __attribute__((weak))\n+__rte_weak int\n fm10k_rxq_vec_setup(__rte_unused struct fm10k_rx_queue *rxq)\n \n {\n \treturn -1;\n }\n \n-void __attribute__((weak))\n+__rte_weak void\n fm10k_rx_queue_release_mbufs_vec(\n \t\t__rte_unused struct fm10k_rx_queue *rxq)\n {\n \treturn;\n }\n \n-void __attribute__((weak))\n+__rte_weak void\n fm10k_txq_vec_setup(__rte_unused struct fm10k_tx_queue *txq)\n {\n \treturn;\n }\n \n-int __attribute__((weak))\n+__rte_weak int\n fm10k_tx_vec_condition_check(__rte_unused struct fm10k_tx_queue *txq)\n {\n \treturn -1;\n }\n \n-uint16_t __attribute__((weak))\n+__rte_weak uint16_t\n fm10k_xmit_fixed_burst_vec(__rte_unused void *tx_queue,\n \t\t\t __rte_unused struct rte_mbuf **tx_pkts,\n \t\t\t __rte_unused uint16_t nb_pkts)\n", "prefixes": [ "04/10" ] }{ "id": 43572, "url": "