Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/970170/?format=api
{ "id": 970170, "url": "http://patchwork.ozlabs.org/api/patches/970170/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180915003757.169108-11-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-11-jesse.brandeburg@intel.com>", "list_archive_url": null, "date": "2018-09-15T00:37:53", "name": "[net-next,v2,10/14] iavf: replace i40e_debug with iavf version", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "69818f552bd8b3add1d871d79bd5d76b16d6e138", "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-11-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/970170/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/970170/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.136; helo=silver.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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 42Btlm1Zt2z9sCT\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 silver.osuosl.org (Postfix) with ESMTP id DC2FA22851;\n\tSat, 15 Sep 2018 00:38:09 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id iF+IS9sWuLAg; Sat, 15 Sep 2018 00:38:07 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 1CFEC2284E;\n\tSat, 15 Sep 2018 00:38:07 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 15B3F1C2E94\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:03 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id F37B287880\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 HI_J4LjUW4bX for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:00 +0000 (UTC)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id DC8DE8784C\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=\"90189571\"", "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:53 -0700", "Message-Id": "<20180915003757.169108-11-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 10/14] iavf: replace\n\ti40e_debug with iavf version", "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": "Change another string (i40e_debug)\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\n---\n drivers/net/ethernet/intel/iavf/i40e_adminq.c | 28 ++++++++++++------------\n drivers/net/ethernet/intel/iavf/i40e_common.c | 12 +++++-----\n drivers/net/ethernet/intel/iavf/i40e_osdep.h | 2 +-\n drivers/net/ethernet/intel/iavf/i40e_prototype.h | 2 +-\n drivers/net/ethernet/intel/iavf/i40e_type.h | 2 +-\n 5 files changed, 23 insertions(+), 23 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/iavf/i40e_adminq.c b/drivers/net/ethernet/intel/iavf/i40e_adminq.c\nindex 480c3e8c38c8..d614722fbb3d 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_adminq.c\n+++ b/drivers/net/ethernet/intel/iavf/i40e_adminq.c\n@@ -577,7 +577,7 @@ static u16 i40e_clean_asq(struct iavf_hw *hw)\n \tdesc = IAVF_ADMINQ_DESC(*asq, ntc);\n \tdetails = I40E_ADMINQ_DETAILS(*asq, ntc);\n \twhile (rd32(hw, hw->aq.asq.head) != ntc) {\n-\t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\t\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"ntc %d head %d.\\n\", ntc, rd32(hw, hw->aq.asq.head));\n \n \t\tif (details->callback) {\n@@ -643,7 +643,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \tmutex_lock(&hw->aq.asq_mutex);\n \n \tif (hw->aq.asq.count == 0) {\n-\t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\t\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQTX: Admin queue not initialized.\\n\");\n \t\tstatus = I40E_ERR_QUEUE_EMPTY;\n \t\tgoto asq_send_command_error;\n@@ -653,7 +653,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \n \tval = rd32(hw, hw->aq.asq.head);\n \tif (val >= hw->aq.num_asq_entries) {\n-\t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\t\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQTX: head overrun at %d\\n\", val);\n \t\tstatus = I40E_ERR_QUEUE_EMPTY;\n \t\tgoto asq_send_command_error;\n@@ -682,7 +682,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \tdesc->flags |= cpu_to_le16(details->flags_ena);\n \n \tif (buff_size > hw->aq.asq_buf_size) {\n-\t\ti40e_debug(hw,\n+\t\tiavf_debug(hw,\n \t\t\t I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQTX: Invalid buffer size: %d.\\n\",\n \t\t\t buff_size);\n@@ -691,7 +691,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \t}\n \n \tif (details->postpone && !details->async) {\n-\t\ti40e_debug(hw,\n+\t\tiavf_debug(hw,\n \t\t\t I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQTX: Async flag not set along with postpone flag\");\n \t\tstatus = I40E_ERR_PARAM;\n@@ -706,7 +706,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \t * in case of asynchronous completions\n \t */\n \tif (i40e_clean_asq(hw) == 0) {\n-\t\ti40e_debug(hw,\n+\t\tiavf_debug(hw,\n \t\t\t I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQTX: Error queue is full.\\n\");\n \t\tstatus = I40E_ERR_ADMIN_QUEUE_FULL;\n@@ -736,7 +736,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \t}\n \n \t/* bump the tail */\n-\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, \"AQTX: desc and buffer:\\n\");\n+\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE, \"AQTX: desc and buffer:\\n\");\n \tiavf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc_on_ring,\n \t\t buff, buff_size);\n \t(hw->aq.asq.next_to_use)++;\n@@ -769,7 +769,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \t\t\tmemcpy(buff, dma_buff->va, buff_size);\n \t\tretval = le16_to_cpu(desc->retval);\n \t\tif (retval != 0) {\n-\t\t\ti40e_debug(hw,\n+\t\t\tiavf_debug(hw,\n \t\t\t\t I40E_DEBUG_AQ_MESSAGE,\n \t\t\t\t \"AQTX: Command completed with error 0x%X.\\n\",\n \t\t\t\t retval);\n@@ -787,7 +787,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \t\thw->aq.asq_last_status = (enum i40e_admin_queue_err)retval;\n \t}\n \n-\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t \"AQTX: desc and buffer writeback:\\n\");\n \tiavf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size);\n \n@@ -799,11 +799,11 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n \tif ((!cmd_completed) &&\n \t (!details->async && !details->postpone)) {\n \t\tif (rd32(hw, hw->aq.asq.len) & IAVF_VF_ATQLEN1_ATQCRIT_MASK) {\n-\t\t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\t\t\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t\t\t \"AQTX: AQ Critical error.\\n\");\n \t\t\tstatus = I40E_ERR_ADMIN_QUEUE_CRITICAL_ERROR;\n \t\t} else {\n-\t\t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\t\t\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t\t\t \"AQTX: Writeback timeout.\\n\");\n \t\t\tstatus = I40E_ERR_ADMIN_QUEUE_TIMEOUT;\n \t\t}\n@@ -859,7 +859,7 @@ iavf_status iavf_clean_arq_element(struct iavf_hw *hw,\n \tmutex_lock(&hw->aq.arq_mutex);\n \n \tif (hw->aq.arq.count == 0) {\n-\t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n+\t\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQRX: Admin queue not initialized.\\n\");\n \t\tret_code = I40E_ERR_QUEUE_EMPTY;\n \t\tgoto clean_arq_element_err;\n@@ -882,7 +882,7 @@ iavf_status iavf_clean_arq_element(struct iavf_hw *hw,\n \tflags = le16_to_cpu(desc->flags);\n \tif (flags & I40E_AQ_FLAG_ERR) {\n \t\tret_code = I40E_ERR_ADMIN_QUEUE_ERROR;\n-\t\ti40e_debug(hw,\n+\t\tiavf_debug(hw,\n \t\t\t I40E_DEBUG_AQ_MESSAGE,\n \t\t\t \"AQRX: Event received with error 0x%X.\\n\",\n \t\t\t hw->aq.arq_last_status);\n@@ -895,7 +895,7 @@ iavf_status iavf_clean_arq_element(struct iavf_hw *hw,\n \t\tmemcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va,\n \t\t e->msg_len);\n \n-\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, \"AQRX: desc and buffer:\\n\");\n+\tiavf_debug(hw, I40E_DEBUG_AQ_MESSAGE, \"AQRX: desc and buffer:\\n\");\n \tiavf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf,\n \t\t hw->aq.arq_buf_size);\n \ndiff --git a/drivers/net/ethernet/intel/iavf/i40e_common.c b/drivers/net/ethernet/intel/iavf/i40e_common.c\nindex 97eb06616cc0..c830bb6f5943 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_common.c\n+++ b/drivers/net/ethernet/intel/iavf/i40e_common.c\n@@ -257,7 +257,7 @@ const char *iavf_stat_str(struct iavf_hw *hw, iavf_status stat_err)\n *\n * Dumps debug log about adminq command with descriptor contents.\n **/\n-void iavf_debug_aq(struct iavf_hw *hw, enum i40e_debug_mask mask, void *desc,\n+void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void *desc,\n \t\t void *buffer, u16 buf_len)\n {\n \tstruct i40e_aq_desc *aq_desc = (struct i40e_aq_desc *)desc;\n@@ -266,26 +266,26 @@ void iavf_debug_aq(struct iavf_hw *hw, enum i40e_debug_mask mask, void *desc,\n \tif ((!(mask & hw->debug_mask)) || !desc)\n \t\treturn;\n \n-\ti40e_debug(hw, mask,\n+\tiavf_debug(hw, mask,\n \t\t \"AQ CMD: opcode 0x%04X, flags 0x%04X, datalen 0x%04X, retval 0x%04X\\n\",\n \t\t le16_to_cpu(aq_desc->opcode),\n \t\t le16_to_cpu(aq_desc->flags),\n \t\t le16_to_cpu(aq_desc->datalen),\n \t\t le16_to_cpu(aq_desc->retval));\n-\ti40e_debug(hw, mask, \"\\tcookie (h,l) 0x%08X 0x%08X\\n\",\n+\tiavf_debug(hw, mask, \"\\tcookie (h,l) 0x%08X 0x%08X\\n\",\n \t\t le32_to_cpu(aq_desc->cookie_high),\n \t\t le32_to_cpu(aq_desc->cookie_low));\n-\ti40e_debug(hw, mask, \"\\tparam (0,1) 0x%08X 0x%08X\\n\",\n+\tiavf_debug(hw, mask, \"\\tparam (0,1) 0x%08X 0x%08X\\n\",\n \t\t le32_to_cpu(aq_desc->params.internal.param0),\n \t\t le32_to_cpu(aq_desc->params.internal.param1));\n-\ti40e_debug(hw, mask, \"\\taddr (h,l) 0x%08X 0x%08X\\n\",\n+\tiavf_debug(hw, mask, \"\\taddr (h,l) 0x%08X 0x%08X\\n\",\n \t\t le32_to_cpu(aq_desc->params.external.addr_high),\n \t\t le32_to_cpu(aq_desc->params.external.addr_low));\n \n \tif (buffer && aq_desc->datalen) {\n \t\tu16 len = le16_to_cpu(aq_desc->datalen);\n \n-\t\ti40e_debug(hw, mask, \"AQ CMD Buffer:\\n\");\n+\t\tiavf_debug(hw, mask, \"AQ CMD Buffer:\\n\");\n \t\tif (buf_len < len)\n \t\t\tlen = buf_len;\n \t\t/* write the full 16-byte chunks */\ndiff --git a/drivers/net/ethernet/intel/iavf/i40e_osdep.h b/drivers/net/ethernet/intel/iavf/i40e_osdep.h\nindex 0fceb284e54a..412d534a4bbe 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_osdep.h\n+++ b/drivers/net/ethernet/intel/iavf/i40e_osdep.h\n@@ -44,7 +44,7 @@ struct i40e_virt_mem {\n #define i40e_allocate_virt_mem(h, m, s) iavf_allocate_virt_mem_d(h, m, s)\n #define i40e_free_virt_mem(h, m) iavf_free_virt_mem_d(h, m)\n \n-#define i40e_debug(h, m, s, ...) iavf_debug_d(h, m, s, ##__VA_ARGS__)\n+#define iavf_debug(h, m, s, ...) iavf_debug_d(h, m, s, ##__VA_ARGS__)\n extern void iavf_debug_d(void *hw, u32 mask, char *fmt_str, ...)\n \t__attribute__ ((format(gnu_printf, 3, 4)));\n \ndiff --git a/drivers/net/ethernet/intel/iavf/i40e_prototype.h b/drivers/net/ethernet/intel/iavf/i40e_prototype.h\nindex 0497832bc53e..5d59104b97b9 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_prototype.h\n+++ b/drivers/net/ethernet/intel/iavf/i40e_prototype.h\n@@ -29,7 +29,7 @@ iavf_status iavf_asq_send_command(struct iavf_hw *hw, struct i40e_aq_desc *desc,\n bool iavf_asq_done(struct iavf_hw *hw);\n \n /* debug function for adminq */\n-void iavf_debug_aq(struct iavf_hw *hw, enum i40e_debug_mask mask, void *desc,\n+void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void *desc,\n \t\t void *buffer, u16 buf_len);\n \n void i40e_idle_aq(struct iavf_hw *hw);\ndiff --git a/drivers/net/ethernet/intel/iavf/i40e_type.h b/drivers/net/ethernet/intel/iavf/i40e_type.h\nindex 2ce4203cd0b6..773df7afb9ac 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_type.h\n+++ b/drivers/net/ethernet/intel/iavf/i40e_type.h\n@@ -35,7 +35,7 @@ typedef void (*I40E_ADMINQ_CALLBACK)(struct iavf_hw *, struct i40e_aq_desc *);\n #define I40E_QTX_CTL_PF_QUEUE\t0x2\n \n /* debug masks - set these bits in hw->debug_mask to control output */\n-enum i40e_debug_mask {\n+enum iavf_debug_mask {\n \tI40E_DEBUG_INIT\t\t\t= 0x00000001,\n \tI40E_DEBUG_RELEASE\t\t= 0x00000002,\n \n", "prefixes": [ "net-next", "v2", "10/14" ] }