Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/970171/?format=api
{ "id": 970171, "url": "http://patchwork.ozlabs.org/api/patches/970171/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180915003757.169108-12-jesse.brandeburg@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20180915003757.169108-12-jesse.brandeburg@intel.com>", "list_archive_url": null, "date": "2018-09-15T00:37:54", "name": "[net-next,v2,11/14] iavf: tracing infrastructure rename", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0612666a2d6d11a38961b659c179bc0e3d0131a9", "submitter": { "id": 189, "url": "http://patchwork.ozlabs.org/api/people/189/?format=api", "name": "Jesse Brandeburg", "email": "jesse.brandeburg@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180915003757.169108-12-jesse.brandeburg@intel.com/mbox/", "series": [ { "id": 65816, "url": "http://patchwork.ozlabs.org/api/series/65816/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=65816", "date": "2018-09-15T00:37:43", "name": "[net-next,v2,01/14] intel-ethernet: rename i40evf to iavf", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/65816/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/970171/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/970171/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 42Btlm1Zs3z9sCS\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 15 Sep 2018 10:38:11 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7860188571;\n\tSat, 15 Sep 2018 00:38:09 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id qB9DpNpZ+iif; Sat, 15 Sep 2018 00:38:07 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 55C7C88688;\n\tSat, 15 Sep 2018 00:38:04 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0EAE41C2E93\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:02 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 0C948877AA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:02 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cXU-5Tfj22-T for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:01 +0000 (UTC)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 0348687853\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:37:59 +0000 (UTC)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Sep 2018 17:37:59 -0700", "from jfsjbrandeb002.jf.intel.com ([10.166.241.63])\n\tby fmsmga001.fm.intel.com with ESMTP; 14 Sep 2018 17:37:59 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.53,375,1531810800\"; d=\"scan'208\";a=\"90189574\"", "From": "Jesse Brandeburg <jesse.brandeburg@intel.com>", "To": "netdev@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org", "Date": "Fri, 14 Sep 2018 17:37:54 -0700", "Message-Id": "<20180915003757.169108-12-jesse.brandeburg@intel.com>", "X-Mailer": "git-send-email 2.14.4", "In-Reply-To": "<20180915003757.169108-1-jesse.brandeburg@intel.com>", "References": "<20180915003757.169108-1-jesse.brandeburg@intel.com>", "Subject": "[Intel-wired-lan] [PATCH net-next v2 11/14] iavf: tracing\n\tinfrastructure rename", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "Rename the i40e_trace file and fix up all the callers\nto the new names inside the iavf_trace.h file.\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\n---\n drivers/net/ethernet/intel/iavf/iavf_main.c | 2 +-\n .../intel/iavf/{i40e_trace.h => iavf_trace.h} | 28 +++++++++++-----------\n drivers/net/ethernet/intel/iavf/iavf_txrx.c | 14 +++++------\n 3 files changed, 22 insertions(+), 22 deletions(-)\n rename drivers/net/ethernet/intel/iavf/{i40e_trace.h => iavf_trace.h} (85%)", "diff": "diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c b/drivers/net/ethernet/intel/iavf/iavf_main.c\nindex 63c5d97b1658..b8edf43e36f1 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_main.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_main.c\n@@ -9,7 +9,7 @@\n * CREATE_TRACE_POINTS defined\n */\n #define CREATE_TRACE_POINTS\n-#include \"i40e_trace.h\"\n+#include \"iavf_trace.h\"\n \n static int iavf_setup_all_tx_resources(struct iavf_adapter *adapter);\n static int iavf_setup_all_rx_resources(struct iavf_adapter *adapter);\ndiff --git a/drivers/net/ethernet/intel/iavf/i40e_trace.h b/drivers/net/ethernet/intel/iavf/iavf_trace.h\nsimilarity index 85%\nrename from drivers/net/ethernet/intel/iavf/i40e_trace.h\nrename to drivers/net/ethernet/intel/iavf/iavf_trace.h\nindex 552cfbfcce71..24f34d79f20a 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_trace.h\n+++ b/drivers/net/ethernet/intel/iavf/iavf_trace.h\n@@ -5,7 +5,7 @@\n \n /* The trace subsystem name for iavf will be \"iavf\".\n *\n- * This file is named i40e_trace.h.\n+ * This file is named iavf_trace.h.\n *\n * Since this include file's name is different from the trace\n * subsystem name, we'll have to define TRACE_INCLUDE_FILE at the end\n@@ -23,14 +23,14 @@\n #include <linux/tracepoint.h>\n \n /**\n- * i40e_trace() macro enables shared code to refer to trace points\n+ * iavf_trace() macro enables shared code to refer to trace points\n * like:\n *\n- * trace_i40e{,vf}_example(args...)\n+ * trace_iavf{,vf}_example(args...)\n *\n * ... as:\n *\n- * i40e_trace(example, args...)\n+ * iavf_trace(example, args...)\n *\n * ... to resolve to the PF or VF version of the tracepoint without\n * ifdefs, and to allow tracepoints to be disabled entirely at build\n@@ -39,18 +39,18 @@\n * Trace point should always be referred to in the driver via this\n * macro.\n *\n- * Similarly, i40e_trace_enabled(trace_name) wraps references to\n- * trace_i40e{,vf}_<trace_name>_enabled() functions.\n+ * Similarly, iavf_trace_enabled(trace_name) wraps references to\n+ * trace_iavf{,vf}_<trace_name>_enabled() functions.\n */\n-#define _I40E_TRACE_NAME(trace_name) (trace_ ## iavf ## _ ## trace_name)\n-#define I40E_TRACE_NAME(trace_name) _I40E_TRACE_NAME(trace_name)\n+#define _IAVF_TRACE_NAME(trace_name) (trace_ ## iavf ## _ ## trace_name)\n+#define IAVF_TRACE_NAME(trace_name) _IAVF_TRACE_NAME(trace_name)\n \n-#define i40e_trace(trace_name, args...) I40E_TRACE_NAME(trace_name)(args)\n+#define iavf_trace(trace_name, args...) IAVF_TRACE_NAME(trace_name)(args)\n \n-#define i40e_trace_enabled(trace_name) I40E_TRACE_NAME(trace_name##_enabled)()\n+#define iavf_trace_enabled(trace_name) IAVF_TRACE_NAME(trace_name##_enabled)()\n \n /* Events common to PF and VF. Corresponding versions will be defined\n- * for both, named trace_i40e_* and trace_iavf_*. The i40e_trace()\n+ * for both, named trace_iavf_* and trace_iavf_*. The iavf_trace()\n * macro above will select the right trace point name for the driver\n * being built from shared code.\n */\n@@ -195,8 +195,8 @@ DEFINE_EVENT(\n \n /* Events unique to the VF. */\n \n-#endif /* _I40E_TRACE_H_ */\n-/* This must be outside ifdef _I40E_TRACE_H */\n+#endif /* _IAVF_TRACE_H_ */\n+/* This must be outside ifdef _IAVF_TRACE_H */\n \n /* This trace include file is not located in the .../include/trace\n * with the kernel tracepoint definitions, because we're a loadable\n@@ -205,5 +205,5 @@ DEFINE_EVENT(\n #undef TRACE_INCLUDE_PATH\n #define TRACE_INCLUDE_PATH .\n #undef TRACE_INCLUDE_FILE\n-#define TRACE_INCLUDE_FILE i40e_trace\n+#define TRACE_INCLUDE_FILE iavf_trace\n #include <trace/define_trace.h>\ndiff --git a/drivers/net/ethernet/intel/iavf/iavf_txrx.c b/drivers/net/ethernet/intel/iavf/iavf_txrx.c\nindex 66d9f1bf9467..5164e812f009 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_txrx.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_txrx.c\n@@ -5,7 +5,7 @@\n #include <net/busy_poll.h>\n \n #include \"iavf.h\"\n-#include \"i40e_trace.h\"\n+#include \"iavf_trace.h\"\n #include \"i40e_prototype.h\"\n \n static inline __le64 build_ctob(u32 td_cmd, u32 td_offset, unsigned int size,\n@@ -211,7 +211,7 @@ static bool i40e_clean_tx_irq(struct i40e_vsi *vsi,\n \t\t/* prevent any other reads prior to eop_desc */\n \t\tsmp_rmb();\n \n-\t\ti40e_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf);\n+\t\tiavf_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf);\n \t\t/* if the descriptor isn't done, no work yet to do */\n \t\tif (!(eop_desc->cmd_type_offset_bsz &\n \t\t cpu_to_le64(IAVF_TX_DESC_DTYPE_DESC_DONE)))\n@@ -239,7 +239,7 @@ static bool i40e_clean_tx_irq(struct i40e_vsi *vsi,\n \n \t\t/* unmap remaining buffers */\n \t\twhile (tx_desc != eop_desc) {\n-\t\t\ti40e_trace(clean_tx_irq_unmap,\n+\t\t\tiavf_trace(clean_tx_irq_unmap,\n \t\t\t\t tx_ring, tx_desc, tx_buf);\n \n \t\t\ttx_buf++;\n@@ -1503,7 +1503,7 @@ static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget)\n \t\tif (!size)\n \t\t\tbreak;\n \n-\t\ti40e_trace(clean_rx_irq, rx_ring, rx_desc, skb);\n+\t\tiavf_trace(clean_rx_irq, rx_ring, rx_desc, skb);\n \t\trx_buffer = i40e_get_rx_buffer(rx_ring, size);\n \n \t\t/* retrieve a buffer from the ring */\n@@ -1557,7 +1557,7 @@ static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget)\n \t\tvlan_tag = (qword & BIT(IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT)) ?\n \t\t\t le16_to_cpu(rx_desc->wb.qword0.lo_dword.l2tag1) : 0;\n \n-\t\ti40e_trace(clean_rx_irq_rx, rx_ring, rx_desc, skb);\n+\t\tiavf_trace(clean_rx_irq_rx, rx_ring, rx_desc, skb);\n \t\ti40e_receive_skb(rx_ring, skb, vlan_tag);\n \t\tskb = NULL;\n \n@@ -2407,7 +2407,7 @@ static netdev_tx_t i40e_xmit_frame_ring(struct sk_buff *skb,\n \t/* prefetch the data, we'll need it later */\n \tprefetch(skb->data);\n \n-\ti40e_trace(xmit_frame_ring, skb, tx_ring);\n+\tiavf_trace(xmit_frame_ring, skb, tx_ring);\n \n \tcount = i40e_xmit_descriptor_count(skb);\n \tif (i40e_chk_linearize(skb, count)) {\n@@ -2476,7 +2476,7 @@ static netdev_tx_t i40e_xmit_frame_ring(struct sk_buff *skb,\n \treturn NETDEV_TX_OK;\n \n out_drop:\n-\ti40e_trace(xmit_frame_ring_drop, first->skb, tx_ring);\n+\tiavf_trace(xmit_frame_ring_drop, first->skb, tx_ring);\n \tdev_kfree_skb_any(first->skb);\n \tfirst->skb = NULL;\n \treturn NETDEV_TX_OK;\n", "prefixes": [ "net-next", "v2", "11/14" ] }