Show a patch.

GET /api/patches/408/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 408,
    "url": "https://patches.dpdk.org/api/patches/408/",
    "web_url": "https://patches.dpdk.org/patch/408/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1410961612-8571-12-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-17T13:46:43",
    "name": "[dpdk-dev,v3,11/20] i40e: clean log messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7eb112931fb46c2a7a569f41b9d2ccf37fa789aa",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/408/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/408/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/408/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=QYHNrYMGNmv9S/cZmmPvprqauOJCvIspOeMw+ITyS3M=;\n\tb=Rp8M8xvR4u0w+38Bny2g10E56v3o8RSTFE3PxMIho4JDoipSj6EMxMj7dYa8+7oR6r\n\tKQ+lzOPglkK/iCxroBxw6wE8mC8gq1MR+WjuxaEN74hc7UUgucrdvM/IeddjEiJqGTqC\n\t4v8ojG8wwp9Q8zUvHRtNVGl9GAeoY3hFYL1EnqfbRpQ87XGf0UOkAQAu5owrpOpDmhxy\n\ta/lmxCFVkcZsbFwQra4VxVtCwFBSzVTK/Oq2E7KAP1myXkAXYNGSxBnKyYSzqP6vRjtL\n\t1o6XcrLDG+jimd3aa1HWK7pMT8mjPOB64RbozJWKpgyI+yJx8E1JI0cvvdsc2wIRg3Yg\n\tWgUA==",
        "In-Reply-To": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "Precedence": "list",
        "Date": "Wed, 17 Sep 2014 15:46:43 +0200",
        "References": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Gm-Message-State": "ALoCoQk+gHGTIK6hMtiWiiT6Q94tPvv/3kpon3S3pFDA8O65Ksdp3i6YpjQdMOLPxhyaQWWxb0PE",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id D3391B3A4;\n\tWed, 17 Sep 2014 15:41:45 +0200 (CEST)",
            "from mail-we0-f170.google.com (mail-we0-f170.google.com\n\t[74.125.82.170]) by dpdk.org (Postfix) with ESMTP id 46F44B3A4\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 15:41:41 +0200 (CEST)",
            "by mail-we0-f170.google.com with SMTP id u57so1453099wes.29\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 06:47:21 -0700 (PDT)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tfa20sm5712872wic.1.2014.09.17.06.47.19 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 17 Sep 2014 06:47:20 -0700 (PDT)"
        ],
        "From": "David Marchand <david.marchand@6wind.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1410961612-8571-12-git-send-email-david.marchand@6wind.com>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v3 11/20] i40e: clean log messages",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Received": "by 10.194.176.71 with SMTP id cg7mr2758414wjc.132.1410961641558; \n\tWed, 17 Sep 2014 06:47:21 -0700 (PDT)",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Clean log messages:\n- remove leading \\n in some messages,\n- remove trailing \\n in some messages,\n- split multi lines messages.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\nv2 Reviewed-by: Jay Rolette <rolette@infiniteio.com>\nv2 Acked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_pmd_i40e/i40e_ethdev.c    |  248 +++++++++++++++++-----------------\n lib/librte_pmd_i40e/i40e_ethdev_vf.c |  114 ++++++++--------\n lib/librte_pmd_i40e/i40e_pf.c        |   72 +++++-----\n lib/librte_pmd_i40e/i40e_rxtx.c      |   76 +++++------\n 4 files changed, 255 insertions(+), 255 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c\nindex aadb548..a00d6ca 100644\n--- a/lib/librte_pmd_i40e/i40e_ethdev.c\n+++ b/lib/librte_pmd_i40e/i40e_ethdev.c\n@@ -371,7 +371,7 @@ eth_i40e_dev_init(__rte_unused struct eth_driver *eth_drv,\n \thw->hw_addr = (uint8_t *)(pci_dev->mem_resource[0].addr);\n \tif (!hw->hw_addr) {\n \t\tPMD_INIT_LOG(ERR, \"Hardware is not available, \"\n-\t\t\t     \"as address is NULL\\n\");\n+\t\t\t     \"as address is NULL\");\n \t\treturn -ENODEV;\n \t}\n \n@@ -406,7 +406,7 @@ eth_i40e_dev_init(__rte_unused struct eth_driver *eth_drv,\n \t\tPMD_INIT_LOG(ERR, \"Failed to init adminq: %d\", ret);\n \t\treturn -EIO;\n \t}\n-\tPMD_INIT_LOG(INFO, \"FW %d.%d API %d.%d NVM %02d.%02d.%02d eetrack %04x\\n\",\n+\tPMD_INIT_LOG(INFO, \"FW %d.%d API %d.%d NVM %02d.%02d.%02d eetrack %04x\",\n \t\t     hw->aq.fw_maj_ver, hw->aq.fw_min_ver,\n \t\t     hw->aq.api_maj_ver, hw->aq.api_min_ver,\n \t\t     ((hw->nvm.version >> 12) & 0xf),\n@@ -416,7 +416,7 @@ eth_i40e_dev_init(__rte_unused struct eth_driver *eth_drv,\n \t/* Disable LLDP */\n \tret = i40e_aq_stop_lldp(hw, true, NULL);\n \tif (ret != I40E_SUCCESS) /* Its failure can be ignored */\n-\t\tPMD_INIT_LOG(INFO, \"Failed to stop lldp\\n\");\n+\t\tPMD_INIT_LOG(INFO, \"Failed to stop lldp\");\n \n \t/* Clear PXE mode */\n \ti40e_clear_pxe_mode(hw);\n@@ -438,13 +438,13 @@ eth_i40e_dev_init(__rte_unused struct eth_driver *eth_drv,\n \t/* Initialize the queue management */\n \tret = i40e_res_pool_init(&pf->qp_pool, 0, hw->func_caps.num_tx_qp);\n \tif (ret < 0) {\n-\t\tPMD_INIT_LOG(ERR, \"Failed to init queue pool\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"Failed to init queue pool\");\n \t\tgoto err_qp_pool_init;\n \t}\n \tret = i40e_res_pool_init(&pf->msix_pool, 1,\n \t\t\t\thw->func_caps.num_msix_vectors - 1);\n \tif (ret < 0) {\n-\t\tPMD_INIT_LOG(ERR, \"Failed to init MSIX pool\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"Failed to init MSIX pool\");\n \t\tgoto err_msix_pool_init;\n \t}\n \n@@ -722,9 +722,9 @@ i40e_phy_conf_link(struct i40e_hw *hw, uint8_t abilities, uint8_t force_speed)\n \tphy_conf.eeer = phy_ab.eeer_val;\n \tphy_conf.low_power_ctrl = phy_ab.d3_lpan;\n \n-\tPMD_DRV_LOG(DEBUG, \"\\n\\tCurrent: abilities %x, link_speed %x\\n\"\n-\t\t    \"\\tConfig:  abilities %x, link_speed %x\",\n-\t\t    phy_ab.abilities, phy_ab.link_speed,\n+\tPMD_DRV_LOG(DEBUG, \"\\tCurrent: abilities %x, link_speed %x\",\n+\t\t    phy_ab.abilities, phy_ab.link_speed);\n+\tPMD_DRV_LOG(DEBUG, \"\\tConfig:  abilities %x, link_speed %x\",\n \t\t    phy_conf.abilities, phy_conf.link_speed);\n \n \tstatus = i40e_aq_set_phy_config(hw, &phy_conf, NULL);\n@@ -762,7 +762,7 @@ i40e_dev_start(struct rte_eth_dev *dev)\n \n \tif ((dev->data->dev_conf.link_duplex != ETH_LINK_AUTONEG_DUPLEX) &&\n \t\t(dev->data->dev_conf.link_duplex != ETH_LINK_FULL_DUPLEX)) {\n-\t\tPMD_INIT_LOG(ERR, \"Invalid link_duplex (%hu) for port %hhu\\n\",\n+\t\tPMD_INIT_LOG(ERR, \"Invalid link_duplex (%hu) for port %hhu\",\n \t\t\t     dev->data->dev_conf.link_duplex,\n \t\t\t     dev->data->port_id);\n \t\treturn -EINVAL;\n@@ -771,7 +771,7 @@ i40e_dev_start(struct rte_eth_dev *dev)\n \t/* Initialize VSI */\n \tret = i40e_vsi_init(vsi);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to init VSI\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to init VSI\");\n \t\tgoto err_up;\n \t}\n \n@@ -782,7 +782,7 @@ i40e_dev_start(struct rte_eth_dev *dev)\n \t/* Enable all queues which have been configured */\n \tret = i40e_vsi_switch_queues(vsi, TRUE);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to enable VSI\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to enable VSI\");\n \t\tgoto err_up;\n \t}\n \n@@ -790,13 +790,13 @@ i40e_dev_start(struct rte_eth_dev *dev)\n \tif ((vsi->type == I40E_VSI_MAIN) || (vsi->type == I40E_VSI_VMDQ2)) {\n \t\tret = i40e_aq_set_vsi_broadcast(hw, vsi->seid, true, NULL);\n \t\tif (ret != I40E_SUCCESS)\n-\t\t\tPMD_DRV_LOG(INFO, \"fail to set vsi broadcast\\n\");\n+\t\t\tPMD_DRV_LOG(INFO, \"fail to set vsi broadcast\");\n \t}\n \n \t/* Apply link configure */\n \tret = i40e_apply_link_speed(dev);\n \tif (I40E_SUCCESS != ret) {\n-\t\tPMD_DRV_LOG(ERR, \"Fail to apply link setting\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Fail to apply link setting\");\n \t\tgoto err_up;\n \t}\n \n@@ -871,12 +871,12 @@ i40e_dev_promiscuous_enable(struct rte_eth_dev *dev)\n \tstatus = i40e_aq_set_vsi_unicast_promiscuous(hw, vsi->seid,\n \t\t\t\t\t\t\ttrue, NULL);\n \tif (status != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to enable unicast promiscuous\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to enable unicast promiscuous\");\n \n \tstatus = i40e_aq_set_vsi_multicast_promiscuous(hw, vsi->seid,\n \t\t\t\t\t\t\tTRUE, NULL);\n \tif (status != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to enable multicast promiscuous\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to enable multicast promiscuous\");\n \n }\n \n@@ -891,12 +891,12 @@ i40e_dev_promiscuous_disable(struct rte_eth_dev *dev)\n \tstatus = i40e_aq_set_vsi_unicast_promiscuous(hw, vsi->seid,\n \t\t\t\t\t\t\tfalse, NULL);\n \tif (status != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to disable unicast promiscuous\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to disable unicast promiscuous\");\n \n \tstatus = i40e_aq_set_vsi_multicast_promiscuous(hw, vsi->seid,\n \t\t\t\t\t\t\tfalse, NULL);\n \tif (status != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to disable multicast promiscuous\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to disable multicast promiscuous\");\n }\n \n static void\n@@ -909,7 +909,7 @@ i40e_dev_allmulticast_enable(struct rte_eth_dev *dev)\n \n \tret = i40e_aq_set_vsi_multicast_promiscuous(hw, vsi->seid, TRUE, NULL);\n \tif (ret != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to enable multicast promiscuous\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to enable multicast promiscuous\");\n }\n \n static void\n@@ -926,7 +926,7 @@ i40e_dev_allmulticast_disable(struct rte_eth_dev *dev)\n \tret = i40e_aq_set_vsi_multicast_promiscuous(hw,\n \t\t\t\tvsi->seid, FALSE, NULL);\n \tif (ret != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to disable multicast promiscuous\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to disable multicast promiscuous\");\n }\n \n /*\n@@ -971,7 +971,7 @@ i40e_dev_link_update(struct rte_eth_dev *dev,\n \tif (status != I40E_SUCCESS) {\n \t\tlink.link_speed = ETH_LINK_SPEED_100;\n \t\tlink.link_duplex = ETH_LINK_FULL_DUPLEX;\n-\t\tPMD_DRV_LOG(ERR, \"Failed to get link info\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to get link info\");\n \t\tgoto out;\n \t}\n \n@@ -1519,12 +1519,12 @@ i40e_macaddr_add(struct rte_eth_dev *dev,\n \tint ret;\n \n \tif (!is_valid_assigned_ether_addr(mac_addr)) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid ethernet address\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Invalid ethernet address\");\n \t\treturn;\n \t}\n \n \tif (is_same_ether_addr(mac_addr, &(pf->dev_addr))) {\n-\t\tPMD_DRV_LOG(INFO, \"Ignore adding permanent mac address\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"Ignore adding permanent mac address\");\n \t\treturn;\n \t}\n \n@@ -1532,7 +1532,7 @@ i40e_macaddr_add(struct rte_eth_dev *dev,\n \tret = i40e_aq_mac_address_write(hw, I40E_AQC_WRITE_TYPE_LAA_ONLY,\n \t\t\t\t\tmac_addr->addr_bytes, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to write mac address\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to write mac address\");\n \t\treturn;\n \t}\n \n@@ -1542,7 +1542,7 @@ i40e_macaddr_add(struct rte_eth_dev *dev,\n \n \tret = i40e_vsi_add_mac(vsi, mac_addr);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to add MACVLAN filter\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to add MACVLAN filter\");\n \t\treturn;\n \t}\n \n@@ -1572,7 +1572,7 @@ i40e_macaddr_remove(struct rte_eth_dev *dev, uint32_t index)\n \tret = i40e_aq_mac_address_write(hw, I40E_AQC_WRITE_TYPE_LAA_ONLY,\n \t\t\t\t\thw->mac.perm_addr, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to write mac address\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to write mac address\");\n \t\treturn;\n \t}\n \n@@ -1793,7 +1793,7 @@ i40e_get_cap(struct i40e_hw *hw)\n \t\t\t\t\t\tI40E_MAX_CAP_ELE_NUM;\n \tbuf = rte_zmalloc(\"i40e\", len, 0);\n \tif (!buf) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -1801,7 +1801,7 @@ i40e_get_cap(struct i40e_hw *hw)\n \tret = i40e_aq_discover_capabilities(hw, buf, len, &size,\n \t\t\ti40e_aqc_opc_list_func_capabilities, NULL);\n \tif (ret != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to discover capabilities\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to discover capabilities\");\n \n \t/* Free the temporary buffer after being used */\n \trte_free(buf);\n@@ -1818,13 +1818,13 @@ i40e_pf_parameter_init(struct rte_eth_dev *dev)\n \n \t/* First check if FW support SRIOV */\n \tif (dev->pci_dev->max_vfs && !hw->func_caps.sr_iov_1_1) {\n-\t\tPMD_INIT_LOG(ERR, \"HW configuration doesn't support SRIOV\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"HW configuration doesn't support SRIOV\");\n \t\treturn -EINVAL;\n \t}\n \n \tpf->flags = I40E_FLAG_HEADER_SPLIT_DISABLED;\n \tpf->max_num_vsi = RTE_MIN(hw->func_caps.num_vsis, I40E_MAX_NUM_VSIS);\n-\tPMD_INIT_LOG(INFO, \"Max supported VSIs:%u\\n\", pf->max_num_vsi);\n+\tPMD_INIT_LOG(INFO, \"Max supported VSIs:%u\", pf->max_num_vsi);\n \t/* Allocate queues for pf */\n \tif (hw->func_caps.rss) {\n \t\tpf->flags |= I40E_FLAG_RSS;\n@@ -1836,28 +1836,28 @@ i40e_pf_parameter_init(struct rte_eth_dev *dev)\n \tsum_queues = pf->lan_nb_qps;\n \t/* Default VSI is not counted in */\n \tsum_vsis = 0;\n-\tPMD_INIT_LOG(INFO, \"PF queue pairs:%u\\n\", pf->lan_nb_qps);\n+\tPMD_INIT_LOG(INFO, \"PF queue pairs:%u\", pf->lan_nb_qps);\n \n \tif (hw->func_caps.sr_iov_1_1 && dev->pci_dev->max_vfs) {\n \t\tpf->flags |= I40E_FLAG_SRIOV;\n \t\tpf->vf_nb_qps = RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF;\n \t\tif (dev->pci_dev->max_vfs > hw->func_caps.num_vfs) {\n \t\t\tPMD_INIT_LOG(ERR, \"Config VF number %u, \"\n-\t\t\t\t     \"max supported %u.\\n\",\n+\t\t\t\t     \"max supported %u.\",\n \t\t\t\t     dev->pci_dev->max_vfs,\n \t\t\t\t     hw->func_caps.num_vfs);\n \t\t\treturn -EINVAL;\n \t\t}\n \t\tif (pf->vf_nb_qps > I40E_MAX_QP_NUM_PER_VF) {\n \t\t\tPMD_INIT_LOG(ERR, \"FVL VF queue %u, \"\n-\t\t\t\t     \"max support %u queues.\\n\",\n+\t\t\t\t     \"max support %u queues.\",\n \t\t\t\t     pf->vf_nb_qps, I40E_MAX_QP_NUM_PER_VF);\n \t\t\treturn -EINVAL;\n \t\t}\n \t\tpf->vf_num = dev->pci_dev->max_vfs;\n \t\tsum_queues += pf->vf_nb_qps * pf->vf_num;\n \t\tsum_vsis   += pf->vf_num;\n-\t\tPMD_INIT_LOG(INFO, \"Max VF num:%u each has queue pairs:%u\\n\",\n+\t\tPMD_INIT_LOG(INFO, \"Max VF num:%u each has queue pairs:%u\",\n \t\t\t     pf->vf_num, pf->vf_nb_qps);\n \t} else\n \t\tpf->vf_num = 0;\n@@ -1867,7 +1867,7 @@ i40e_pf_parameter_init(struct rte_eth_dev *dev)\n \t\tpf->vmdq_nb_qps = I40E_DEFAULT_QP_NUM_VMDQ;\n \t\tsum_queues += pf->vmdq_nb_qps;\n \t\tsum_vsis += 1;\n-\t\tPMD_INIT_LOG(INFO, \"VMDQ queue pairs:%u\\n\", pf->vmdq_nb_qps);\n+\t\tPMD_INIT_LOG(INFO, \"VMDQ queue pairs:%u\", pf->vmdq_nb_qps);\n \t}\n \n \tif (hw->func_caps.fd) {\n@@ -1881,18 +1881,18 @@ i40e_pf_parameter_init(struct rte_eth_dev *dev)\n \n \tif (sum_vsis > pf->max_num_vsi ||\n \t\tsum_queues > hw->func_caps.num_rx_qp) {\n-\t\tPMD_INIT_LOG(ERR, \"VSI/QUEUE setting can't be satisfied\\n\");\n-\t\tPMD_INIT_LOG(ERR, \"Max VSIs: %u, asked:%u\\n\",\n+\t\tPMD_INIT_LOG(ERR, \"VSI/QUEUE setting can't be satisfied\");\n+\t\tPMD_INIT_LOG(ERR, \"Max VSIs: %u, asked:%u\",\n \t\t\t     pf->max_num_vsi, sum_vsis);\n-\t\tPMD_INIT_LOG(ERR, \"Total queue pairs:%u, asked:%u\\n\",\n+\t\tPMD_INIT_LOG(ERR, \"Total queue pairs:%u, asked:%u\",\n \t\t\t     hw->func_caps.num_rx_qp, sum_queues);\n \t\treturn -EINVAL;\n \t}\n \n-\t/* Each VSI occupy 1 MSIX interrupt at least, plus IRQ0 for misc intr cause */\n+\t/* Each VSI occupy 1 MSIX interrupt at least, plus IRQ0 for misc intr\n+\t * cause */\n \tif (sum_vsis > hw->func_caps.num_msix_vectors - 1) {\n-\t\tPMD_INIT_LOG(ERR, \"Too many VSIs(%u), \"\n-\t\t\t     \"MSIX intr(%u) not enough\\n\",\n+\t\tPMD_INIT_LOG(ERR, \"Too many VSIs(%u), MSIX intr(%u) not enough\",\n \t\t\t     sum_vsis, hw->func_caps.num_msix_vectors);\n \t\treturn -EINVAL;\n \t}\n@@ -1911,7 +1911,7 @@ i40e_pf_get_switch_config(struct i40e_pf *pf)\n \tswitch_config = (struct i40e_aqc_get_switch_config_resp *)\\\n \t\t\trte_zmalloc(\"i40e\", I40E_AQ_LARGE_BUF, 0);\n \tif (!switch_config) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocated memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocated memory\");\n \t\treturn -ENOMEM;\n \t}\n \n@@ -1919,12 +1919,12 @@ i40e_pf_get_switch_config(struct i40e_pf *pf)\n \tret = i40e_aq_get_switch_config(hw, switch_config,\n \t\tI40E_AQ_LARGE_BUF, &start_seid, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to get switch configurations\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to get switch configurations\");\n \t\tgoto fail;\n \t}\n \tnum_reported = rte_le_to_cpu_16(switch_config->header.num_reported);\n \tif (num_reported != 1) { /* The number should be 1 */\n-\t\tPMD_DRV_LOG(ERR, \"Wrong number of switch config reported\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Wrong number of switch config reported\");\n \t\tgoto fail;\n \t}\n \n@@ -1934,7 +1934,7 @@ i40e_pf_get_switch_config(struct i40e_pf *pf)\n \t\tpf->mac_seid = rte_le_to_cpu_16(element->uplink_seid);\n \t\tpf->main_vsi_seid = rte_le_to_cpu_16(element->seid);\n \t} else\n-\t\tPMD_DRV_LOG(INFO, \"Unknown element type\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"Unknown element type\");\n \n fail:\n \trte_free(switch_config);\n@@ -1953,7 +1953,7 @@ i40e_res_pool_init (struct i40e_res_pool_info *pool, uint32_t base,\n \n \tentry = rte_zmalloc(\"i40e\", sizeof(*entry), 0);\n \tif (entry == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for resource pool\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for resource pool\");\n \t\treturn -ENOMEM;\n \t}\n \n@@ -2006,7 +2006,7 @@ i40e_res_pool_free(struct i40e_res_pool_info *pool,\n \tint insert;\n \n \tif (pool == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid parameter\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Invalid parameter\");\n \t\treturn -EINVAL;\n \t}\n \n@@ -2022,7 +2022,7 @@ i40e_res_pool_free(struct i40e_res_pool_info *pool,\n \n \t/* Not find, return */\n \tif (valid_entry == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to find entry\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to find entry\");\n \t\treturn -EINVAL;\n \t}\n \n@@ -2091,12 +2091,12 @@ i40e_res_pool_alloc(struct i40e_res_pool_info *pool,\n \tstruct pool_entry *entry, *valid_entry;\n \n \tif (pool == NULL || num == 0) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid parameter\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Invalid parameter\");\n \t\treturn -EINVAL;\n \t}\n \n \tif (pool->num_free < num) {\n-\t\tPMD_DRV_LOG(ERR, \"No resource. ask:%u, available:%u\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"No resource. ask:%u, available:%u\",\n \t\t\t    num, pool->num_free);\n \t\treturn -ENOMEM;\n \t}\n@@ -2117,7 +2117,7 @@ i40e_res_pool_alloc(struct i40e_res_pool_info *pool,\n \n \t/* Not find one to satisfy the request, return */\n \tif (valid_entry == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"No valid entry found\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"No valid entry found\");\n \t\treturn -ENOMEM;\n \t}\n \t/**\n@@ -2135,7 +2135,7 @@ i40e_res_pool_alloc(struct i40e_res_pool_info *pool,\n \t\tentry = rte_zmalloc(\"res_pool\", sizeof(*entry), 0);\n \t\tif (entry == NULL) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for \"\n-\t\t\t\t    \"resource pool\\n\");\n+\t\t\t\t    \"resource pool\");\n \t\t\treturn -ENOMEM;\n \t\t}\n \t\tentry->base = valid_entry->base;\n@@ -2170,13 +2170,13 @@ validate_tcmap_parameter(struct i40e_vsi *vsi, uint8_t enabled_tcmap)\n \n \t/* If DCB is not supported, only default TC is supported */\n \tif (!hw->func_caps.dcb && enabled_tcmap != I40E_DEFAULT_TCMAP) {\n-\t\tPMD_DRV_LOG(ERR, \"DCB is not enabled, only TC0 is supported\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"DCB is not enabled, only TC0 is supported\");\n \t\treturn -EINVAL;\n \t}\n \n \tif (!bitmap_is_subset(hw->func_caps.enabled_tcmap, enabled_tcmap)) {\n \t\tPMD_DRV_LOG(ERR, \"Enabled TC map 0x%x not applicable to \"\n-\t\t\t    \"HW support 0x%x\\n\", hw->func_caps.enabled_tcmap,\n+\t\t\t    \"HW support 0x%x\", hw->func_caps.enabled_tcmap,\n \t\t\t    enabled_tcmap);\n \t\treturn -EINVAL;\n \t}\n@@ -2193,7 +2193,7 @@ i40e_vsi_vlan_pvid_set(struct i40e_vsi *vsi,\n \tint ret;\n \n \tif (vsi == NULL || info == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"invalid parameters\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"invalid parameters\");\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n@@ -2225,7 +2225,7 @@ i40e_vsi_vlan_pvid_set(struct i40e_vsi *vsi,\n \thw = I40E_VSI_TO_HW(vsi);\n \tret = i40e_aq_update_vsi_params(hw, &ctxt, NULL);\n \tif (ret != I40E_SUCCESS)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to update VSI params\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to update VSI params\");\n \n \treturn ret;\n }\n@@ -2242,7 +2242,7 @@ i40e_vsi_update_tc_bandwidth(struct i40e_vsi *vsi, uint8_t enabled_tcmap)\n \t\treturn ret;\n \n \tif (!vsi->seid) {\n-\t\tPMD_DRV_LOG(ERR, \"seid not valid\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"seid not valid\");\n \t\treturn -EINVAL;\n \t}\n \n@@ -2254,7 +2254,7 @@ i40e_vsi_update_tc_bandwidth(struct i40e_vsi *vsi, uint8_t enabled_tcmap)\n \n \tret = i40e_aq_config_vsi_tc_bw(hw, vsi->seid, &tc_bw_data, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to configure TC BW\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to configure TC BW\");\n \t\treturn ret;\n \t}\n \n@@ -2332,7 +2332,7 @@ i40e_veb_release(struct i40e_veb *veb)\n \t\treturn -EINVAL;\n \n \tif (!TAILQ_EMPTY(&veb->head)) {\n-\t\tPMD_DRV_LOG(ERR, \"VEB still has VSI attached, can't remove\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"VEB still has VSI attached, can't remove\");\n \t\treturn -EACCES;\n \t}\n \n@@ -2356,14 +2356,14 @@ i40e_veb_setup(struct i40e_pf *pf, struct i40e_vsi *vsi)\n \n \tif (NULL == pf || vsi == NULL) {\n \t\tPMD_DRV_LOG(ERR, \"veb setup failed, \"\n-\t\t\t    \"associated VSI shouldn't null\\n\");\n+\t\t\t    \"associated VSI shouldn't null\");\n \t\treturn NULL;\n \t}\n \thw = I40E_PF_TO_HW(pf);\n \n \tveb = rte_zmalloc(\"i40e_veb\", sizeof(struct i40e_veb), 0);\n \tif (!veb) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for veb\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for veb\");\n \t\tgoto fail;\n \t}\n \n@@ -2375,7 +2375,7 @@ i40e_veb_setup(struct i40e_pf *pf, struct i40e_vsi *vsi)\n \t\tI40E_DEFAULT_TCMAP, false, false, &veb->seid, NULL);\n \n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Add veb failed, aq_err: %d\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"Add veb failed, aq_err: %d\",\n \t\t\t    hw->aq.asq_last_status);\n \t\tgoto fail;\n \t}\n@@ -2384,7 +2384,7 @@ i40e_veb_setup(struct i40e_pf *pf, struct i40e_vsi *vsi)\n \tret = i40e_aq_get_veb_parameters(hw, veb->seid, NULL, NULL,\n \t\t\t\t&veb->stats_idx, NULL, NULL, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Get veb statics index failed, aq_err: %d\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"Get veb statics index failed, aq_err: %d\",\n \t\t\t    hw->aq.asq_last_status);\n \t\tgoto fail;\n \t}\n@@ -2432,7 +2432,7 @@ i40e_vsi_release(struct i40e_vsi *vsi)\n \tif (vsi->type != I40E_VSI_MAIN) {\n \t\t/* Remove vsi from parent's sibling list */\n \t\tif (vsi->parent_vsi == NULL || vsi->parent_vsi->veb == NULL) {\n-\t\t\tPMD_DRV_LOG(ERR, \"VSI's parent VSI is NULL\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"VSI's parent VSI is NULL\");\n \t\t\treturn I40E_ERR_PARAM;\n \t\t}\n \t\tTAILQ_REMOVE(&vsi->parent_vsi->veb->head,\n@@ -2441,7 +2441,7 @@ i40e_vsi_release(struct i40e_vsi *vsi)\n \t\t/* Remove all switch element of the VSI */\n \t\tret = i40e_aq_delete_element(hw, vsi->seid, NULL);\n \t\tif (ret != I40E_SUCCESS)\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to delete element\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to delete element\");\n \t}\n \ti40e_res_pool_free(&pf->qp_pool, vsi->base_queue);\n \n@@ -2472,11 +2472,11 @@ i40e_update_default_filter_setting(struct i40e_vsi *vsi)\n \t\tstruct i40e_mac_filter *f;\n \n \t\tPMD_DRV_LOG(WARNING, \"Cannot remove the default \"\n-\t\t\t    \"macvlan filter\\n\");\n+\t\t\t    \"macvlan filter\");\n \t\t/* It needs to add the permanent mac into mac list */\n \t\tf = rte_zmalloc(\"macv_filter\", sizeof(*f), 0);\n \t\tif (f == NULL) {\n-\t\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\t\treturn I40E_ERR_NO_MEMORY;\n \t\t}\n \t\t(void)rte_memcpy(&f->macaddr.addr_bytes, hw->mac.perm_addr,\n@@ -2502,7 +2502,7 @@ i40e_vsi_dump_bw_config(struct i40e_vsi *vsi)\n \tmemset(&bw_config, 0, sizeof(bw_config));\n \tret = i40e_aq_query_vsi_bw_config(hw, vsi->seid, &bw_config, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"VSI failed to get bandwidth configuration %u\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"VSI failed to get bandwidth configuration %u\",\n \t\t\t    hw->aq.asq_last_status);\n \t\treturn ret;\n \t}\n@@ -2512,17 +2512,17 @@ i40e_vsi_dump_bw_config(struct i40e_vsi *vsi)\n \t\t\t\t\t&ets_sla_config, NULL);\n \tif (ret != I40E_SUCCESS) {\n \t\tPMD_DRV_LOG(ERR, \"VSI failed to get TC bandwdith \"\n-\t\t\t    \"configuration %u\\n\", hw->aq.asq_last_status);\n+\t\t\t    \"configuration %u\", hw->aq.asq_last_status);\n \t\treturn ret;\n \t}\n \n \t/* Not store the info yet, just print out */\n-\tPMD_DRV_LOG(INFO, \"VSI bw limit:%u\\n\", bw_config.port_bw_limit);\n-\tPMD_DRV_LOG(INFO, \"VSI max_bw:%u\\n\", bw_config.max_bw);\n+\tPMD_DRV_LOG(INFO, \"VSI bw limit:%u\", bw_config.port_bw_limit);\n+\tPMD_DRV_LOG(INFO, \"VSI max_bw:%u\", bw_config.max_bw);\n \tfor (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) {\n-\t\tPMD_DRV_LOG(INFO, \"\\tVSI TC%u:share credits %u\\n\", i,\n+\t\tPMD_DRV_LOG(INFO, \"\\tVSI TC%u:share credits %u\", i,\n \t\t\t    ets_sla_config.share_credits[i]);\n-\t\tPMD_DRV_LOG(INFO, \"\\tVSI TC%u:credits %u\\n\", i,\n+\t\tPMD_DRV_LOG(INFO, \"\\tVSI TC%u:credits %u\", i,\n \t\t\t    rte_le_to_cpu_16(ets_sla_config.credits[i]));\n \t\tPMD_DRV_LOG(INFO, \"\\tVSI TC%u: max credits: %u\", i,\n \t\t\t    rte_le_to_cpu_16(ets_sla_config.credits[i / 4]) >>\n@@ -2548,13 +2548,13 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \n \tif (type != I40E_VSI_MAIN && uplink_vsi == NULL) {\n \t\tPMD_DRV_LOG(ERR, \"VSI setup failed, \"\n-\t\t\t    \"VSI link shouldn't be NULL\\n\");\n+\t\t\t    \"VSI link shouldn't be NULL\");\n \t\treturn NULL;\n \t}\n \n \tif (type == I40E_VSI_MAIN && uplink_vsi != NULL) {\n \t\tPMD_DRV_LOG(ERR, \"VSI setup failed, MAIN VSI \"\n-\t\t\t    \"uplink VSI should be NULL\\n\");\n+\t\t\t    \"uplink VSI should be NULL\");\n \t\treturn NULL;\n \t}\n \n@@ -2563,14 +2563,14 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\tuplink_vsi->veb = i40e_veb_setup(pf, uplink_vsi);\n \n \t\tif (NULL == uplink_vsi->veb) {\n-\t\t\tPMD_DRV_LOG(ERR, \"VEB setup failed\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"VEB setup failed\");\n \t\t\treturn NULL;\n \t\t}\n \t}\n \n \tvsi = rte_zmalloc(\"i40e_vsi\", sizeof(struct i40e_vsi), 0);\n \tif (!vsi) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for vsi\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for vsi\");\n \t\treturn NULL;\n \t}\n \tTAILQ_INIT(&vsi->mac_list);\n@@ -2628,7 +2628,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\tctxt.vf_num = 0;\n \t\tret = i40e_aq_get_vsi_params(hw, &ctxt, NULL);\n \t\tif (ret != I40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to get VSI params\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to get VSI params\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \t\t(void)rte_memcpy(&vsi->info, &ctxt.info,\n@@ -2639,7 +2639,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\t/* Configure tc, enabled TC0 only */\n \t\tif (i40e_vsi_update_tc_bandwidth(vsi, I40E_DEFAULT_TCMAP) !=\n \t\t\tI40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to update TC bandwidth\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to update TC bandwidth\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \n@@ -2655,7 +2655,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\t\t\t\t\tI40E_DEFAULT_TCMAP);\n \t\tif (ret != I40E_SUCCESS) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to configure \"\n-\t\t\t\t    \"TC queue mapping\\n\");\n+\t\t\t\t    \"TC queue mapping\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \t\tctxt.seid = vsi->seid;\n@@ -2666,7 +2666,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\t/* Update VSI parameters */\n \t\tret = i40e_aq_update_vsi_params(hw, &ctxt, NULL);\n \t\tif (ret != I40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to update VSI params\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to update VSI params\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \n@@ -2718,7 +2718,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\t\t\t\t\tI40E_DEFAULT_TCMAP);\n \t\tif (ret != I40E_SUCCESS) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to configure \"\n-\t\t\t\t    \"TC queue mapping\\n\");\n+\t\t\t\t    \"TC queue mapping\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \t\tctxt.info.up_enable_bits = I40E_DEFAULT_TCMAP;\n@@ -2730,14 +2730,14 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\t */\n \t}\n \telse {\n-\t\tPMD_DRV_LOG(ERR, \"VSI: Not support other type VSI yet\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"VSI: Not support other type VSI yet\");\n \t\tgoto fail_msix_alloc;\n \t}\n \n \tif (vsi->type != I40E_VSI_MAIN) {\n \t\tret = i40e_aq_add_vsi(hw, &ctxt, NULL);\n \t\tif (ret) {\n-\t\t\tPMD_DRV_LOG(ERR, \"add vsi failed, aq_err=%d\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"add vsi failed, aq_err=%d\",\n \t\t\t\t    hw->aq.asq_last_status);\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n@@ -2753,7 +2753,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t/* MAC/VLAN configuration */\n \tret = i40e_vsi_add_mac(vsi, &broadcast);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to add MACVLAN filter\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to add MACVLAN filter\");\n \t\tgoto fail_msix_alloc;\n \t}\n \n@@ -2805,7 +2805,7 @@ i40e_vsi_config_vlan_stripping(struct i40e_vsi *vsi, bool on)\n \t(void)rte_memcpy(&ctxt.info, &vsi->info, sizeof(vsi->info));\n \tret = i40e_aq_update_vsi_params(hw, &ctxt, NULL);\n \tif (ret)\n-\t\tPMD_DRV_LOG(INFO, \"Update VSI failed to %s vlan stripping\\n\",\n+\t\tPMD_DRV_LOG(INFO, \"Update VSI failed to %s vlan stripping\",\n \t\t\t    on ? \"enable\" : \"disable\");\n \n \treturn ret;\n@@ -2826,7 +2826,7 @@ i40e_dev_init_vlan(struct rte_eth_dev *dev)\n \tret = i40e_vlan_pvid_set(dev, data->dev_conf.txmode.pvid,\n \t\t\t\tdata->dev_conf.txmode.hw_vlan_insert_pvid);\n \tif (ret)\n-\t\tPMD_DRV_LOG(INFO, \"Failed to update VSI params\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"Failed to update VSI params\");\n \n \treturn ret;\n }\n@@ -2851,13 +2851,13 @@ i40e_update_flow_control(struct i40e_hw *hw)\n \tmemset(&link_status, 0, sizeof(link_status));\n \tret = i40e_aq_get_link_info(hw, FALSE, &link_status, NULL);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to get link status information\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to get link status information\");\n \t\tgoto write_reg; /* Disable flow control */\n \t}\n \n \tan_info = hw->phy.link_info.an_info;\n \tif (!(an_info & I40E_AQ_AN_COMPLETED)) {\n-\t\tPMD_DRV_LOG(INFO, \"Link auto negotiation not completed\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"Link auto negotiation not completed\");\n \t\tret = I40E_ERR_NOT_READY;\n \t\tgoto write_reg; /* Disable flow control */\n \t}\n@@ -2995,7 +2995,7 @@ i40e_switch_tx_queue(struct i40e_hw *hw, uint16_t q_idx, bool on)\n \t}\n \t/* Check if it is timeout */\n \tif (j >= I40E_CHK_Q_ENA_COUNT) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to %s tx queue[%u]\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"Failed to %s tx queue[%u]\",\n \t\t\t    (on ? \"enable\" : \"disable\"), q_idx);\n \t\treturn I40E_ERR_TIMEOUT;\n \t}\n@@ -3074,7 +3074,7 @@ i40e_switch_rx_queue(struct i40e_hw *hw, uint16_t q_idx, bool on)\n \n \t/* Check if it is timeout */\n \tif (j >= I40E_CHK_Q_ENA_COUNT) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to %s rx queue[%u]\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"Failed to %s rx queue[%u]\",\n \t\t\t    (on ? \"enable\" : \"disable\"), q_idx);\n \t\treturn I40E_ERR_TIMEOUT;\n \t}\n@@ -3118,7 +3118,7 @@ i40e_vsi_switch_queues(struct i40e_vsi *vsi, bool on)\n \t\t/* enable rx queues before enabling tx queues */\n \t\tret = i40e_vsi_switch_rx_queues(vsi, on);\n \t\tif (ret) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch rx queues\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch rx queues\");\n \t\t\treturn ret;\n \t\t}\n \t\tret = i40e_vsi_switch_tx_queues(vsi, on);\n@@ -3126,7 +3126,7 @@ i40e_vsi_switch_queues(struct i40e_vsi *vsi, bool on)\n \t\t/* Stop tx queues before stopping rx queues */\n \t\tret = i40e_vsi_switch_tx_queues(vsi, on);\n \t\tif (ret) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch tx queues\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch tx queues\");\n \t\t\treturn ret;\n \t\t}\n \t\tret = i40e_vsi_switch_rx_queues(vsi, on);\n@@ -3167,7 +3167,7 @@ i40e_vsi_rx_init(struct i40e_vsi *vsi)\n \t\tret = i40e_rx_queue_init(data->rx_queues[i]);\n \t\tif (ret != I40E_SUCCESS) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to do RX queue \"\n-\t\t\t\t    \"initialization\\n\");\n+\t\t\t\t    \"initialization\");\n \t\t\tbreak;\n \t\t}\n \t}\n@@ -3183,12 +3183,12 @@ i40e_vsi_init(struct i40e_vsi *vsi)\n \n \terr = i40e_vsi_tx_init(vsi);\n \tif (err) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to do vsi TX initialization\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to do vsi TX initialization\");\n \t\treturn err;\n \t}\n \terr = i40e_vsi_rx_init(vsi);\n \tif (err) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to do vsi RX initialization\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to do vsi RX initialization\");\n \t\treturn err;\n \t}\n \n@@ -3317,14 +3317,14 @@ i40e_dev_handle_vfr_event(struct rte_eth_dev *dev)\n \t\t\t/* Clear the event first */\n \t\t\tI40E_WRITE_REG(hw, I40E_GLGEN_VFLRSTAT(index),\n \t\t\t\t\t\t\t(0x1 << offset));\n-\t\t\tPMD_DRV_LOG(INFO, \"VF %u reset occured\\n\", abs_vf_id);\n+\t\t\tPMD_DRV_LOG(INFO, \"VF %u reset occured\", abs_vf_id);\n \t\t\t/**\n \t\t\t * Only notify a VF reset event occured,\n \t\t\t * don't trigger another SW reset\n \t\t\t */\n \t\t\tret = i40e_pf_host_vf_reset(&pf->vfs[i], 0);\n \t\t\tif (ret != I40E_SUCCESS)\n-\t\t\t\tPMD_DRV_LOG(ERR, \"Failed to do VF reset\\n\");\n+\t\t\t\tPMD_DRV_LOG(ERR, \"Failed to do VF reset\");\n \t\t}\n \t}\n }\n@@ -3340,7 +3340,7 @@ i40e_dev_handle_aq_msg(struct rte_eth_dev *dev)\n \tinfo.msg_size = I40E_AQ_BUF_SZ;\n \tinfo.msg_buf = rte_zmalloc(\"msg_buffer\", I40E_AQ_BUF_SZ, 0);\n \tif (!info.msg_buf) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate mem\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate mem\");\n \t\treturn;\n \t}\n \n@@ -3350,7 +3350,7 @@ i40e_dev_handle_aq_msg(struct rte_eth_dev *dev)\n \n \t\tif (ret != I40E_SUCCESS) {\n \t\t\tPMD_DRV_LOG(INFO, \"Failed to read msg from AdminQ, \"\n-\t\t\t\t    \"aq_err: %u\\n\", hw->aq.asq_last_status);\n+\t\t\t\t    \"aq_err: %u\", hw->aq.asq_last_status);\n \t\t\tbreak;\n \t\t}\n \t\topcode = rte_le_to_cpu_16(info.desc.opcode);\n@@ -3366,7 +3366,7 @@ i40e_dev_handle_aq_msg(struct rte_eth_dev *dev)\n \t\t\t\t\tinfo.msg_size);\n \t\t\tbreak;\n \t\tdefault:\n-\t\t\tPMD_DRV_LOG(ERR, \"Request %u is not supported yet\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Request %u is not supported yet\",\n \t\t\t\t    opcode);\n \t\t\tbreak;\n \t\t}\n@@ -3404,38 +3404,38 @@ i40e_dev_interrupt_handler(__rte_unused struct rte_intr_handle *handle,\n \t/* Shared IRQ case, return */\n \tif (!(cause & I40E_PFINT_ICR0_INTEVENT_MASK)) {\n \t\tPMD_DRV_LOG(INFO, \"Port%d INT0:share IRQ case, \"\n-\t\t\t    \"no INT event to process\\n\", hw->pf_id);\n+\t\t\t    \"no INT event to process\", hw->pf_id);\n \t\tgoto done;\n \t}\n \n \tif (cause & I40E_PFINT_ICR0_LINK_STAT_CHANGE_MASK) {\n-\t\tPMD_DRV_LOG(INFO, \"INT:Link status changed\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:Link status changed\");\n \t\ti40e_dev_link_update(dev, 0);\n \t}\n \n \tif (cause & I40E_PFINT_ICR0_ECC_ERR_MASK)\n-\t\tPMD_DRV_LOG(INFO, \"INT:Unrecoverable ECC Error\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:Unrecoverable ECC Error\");\n \n \tif (cause & I40E_PFINT_ICR0_MAL_DETECT_MASK)\n-\t\tPMD_DRV_LOG(INFO, \"INT:Malicious programming detected\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:Malicious programming detected\");\n \n \tif (cause & I40E_PFINT_ICR0_GRST_MASK)\n-\t\tPMD_DRV_LOG(INFO, \"INT:Global Resets Requested\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:Global Resets Requested\");\n \n \tif (cause & I40E_PFINT_ICR0_PCI_EXCEPTION_MASK)\n-\t\tPMD_DRV_LOG(INFO, \"INT:PCI EXCEPTION occured\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:PCI EXCEPTION occured\");\n \n \tif (cause & I40E_PFINT_ICR0_HMC_ERR_MASK)\n-\t\tPMD_DRV_LOG(INFO, \"INT:HMC error occured\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:HMC error occured\");\n \n \t/* Add processing func to deal with VF reset vent */\n \tif (cause & I40E_PFINT_ICR0_VFLR_MASK) {\n-\t\tPMD_DRV_LOG(INFO, \"INT:VF reset detected\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:VF reset detected\");\n \t\ti40e_dev_handle_vfr_event(dev);\n \t}\n \t/* Find admin queue event */\n \tif (cause & I40E_PFINT_ICR0_ADMINQ_MASK) {\n-\t\tPMD_DRV_LOG(INFO, \"INT:ADMINQ event\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"INT:ADMINQ event\");\n \t\ti40e_dev_handle_aq_msg(dev);\n \t}\n \n@@ -3465,7 +3465,7 @@ i40e_add_macvlan_filters(struct i40e_vsi *vsi,\n \n \treq_list = rte_zmalloc(\"macvlan_add\", ele_buff_size, 0);\n \tif (req_list == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"Fail to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Fail to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -3487,7 +3487,7 @@ i40e_add_macvlan_filters(struct i40e_vsi *vsi,\n \t\tret = i40e_aq_add_macvlan(hw, vsi->seid, req_list,\n \t\t\t\t\t\tactual_num, NULL);\n \t\tif (ret != I40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to add macvlan filter\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to add macvlan filter\");\n \t\t\tgoto DONE;\n \t\t}\n \t\tnum += actual_num;\n@@ -3517,7 +3517,7 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,\n \n \treq_list = rte_zmalloc(\"macvlan_remove\", ele_buff_size, 0);\n \tif (req_list == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"Fail to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Fail to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -3537,7 +3537,7 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,\n \t\tret = i40e_aq_remove_macvlan(hw, vsi->seid, req_list,\n \t\t\t\t\t\tactual_num, NULL);\n \t\tif (ret != I40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to remove macvlan filter\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to remove macvlan filter\");\n \t\t\tgoto DONE;\n \t\t}\n \t\tnum += actual_num;\n@@ -3625,7 +3625,7 @@ i40e_find_all_vlan_for_mac(struct i40e_vsi *vsi,\n \t\t\t\tif (vsi->vfta[j] & (1 << k)) {\n \t\t\t\t\tif (i > num - 1) {\n \t\t\t\t\t\tPMD_DRV_LOG(ERR, \"vlan number \"\n-\t\t\t\t\t\t\t    \"not match\\n\");\n+\t\t\t\t\t\t\t    \"not match\");\n \t\t\t\t\t\treturn I40E_ERR_PARAM;\n \t\t\t\t\t}\n \t\t\t\t\t(void)rte_memcpy(&mv_f[i].macaddr,\n@@ -3654,7 +3654,7 @@ i40e_find_all_mac_for_vlan(struct i40e_vsi *vsi,\n \n \tTAILQ_FOREACH(f, &vsi->mac_list, next) {\n \t\tif (i > num - 1) {\n-\t\t\tPMD_DRV_LOG(ERR, \"buffer number not match\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"buffer number not match\");\n \t\t\treturn I40E_ERR_PARAM;\n \t\t}\n \t\t(void)rte_memcpy(&mv_f[i].macaddr, &f->macaddr, ETH_ADDR_LEN);\n@@ -3684,7 +3684,7 @@ i40e_vsi_remove_all_macvlan_filter(struct i40e_vsi *vsi)\n \n \tmv_f = rte_zmalloc(\"macvlan_data\", num * sizeof(*mv_f), 0);\n \tif (mv_f == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -3730,14 +3730,14 @@ i40e_vsi_add_vlan(struct i40e_vsi *vsi, uint16_t vlan)\n \tmac_num = vsi->mac_num;\n \n \tif (mac_num == 0) {\n-\t\tPMD_DRV_LOG(ERR, \"Error! VSI doesn't have a mac addr\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Error! VSI doesn't have a mac addr\");\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n \tmv_f = rte_zmalloc(\"macvlan_data\", mac_num * sizeof(*mv_f), 0);\n \n \tif (mv_f == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -3781,14 +3781,14 @@ i40e_vsi_delete_vlan(struct i40e_vsi *vsi, uint16_t vlan)\n \tmac_num = vsi->mac_num;\n \n \tif (mac_num == 0) {\n-\t\tPMD_DRV_LOG(ERR, \"Error! VSI doesn't have a mac addr\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Error! VSI doesn't have a mac addr\");\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n \tmv_f = rte_zmalloc(\"macvlan_data\", mac_num * sizeof(*mv_f), 0);\n \n \tif (mv_f == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -3848,7 +3848,7 @@ i40e_vsi_add_mac(struct i40e_vsi *vsi, struct ether_addr *addr)\n \n \tmv_f = rte_zmalloc(\"macvlan_data\", vlan_num * sizeof(*mv_f), 0);\n \tif (mv_f == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \n@@ -3863,7 +3863,7 @@ i40e_vsi_add_mac(struct i40e_vsi *vsi, struct ether_addr *addr)\n \t/* Add the mac addr into mac list */\n \tf = rte_zmalloc(\"macv_filter\", sizeof(*f), 0);\n \tif (f == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\tret = I40E_ERR_NO_MEMORY;\n \t\tgoto DONE;\n \t}\n@@ -3893,12 +3893,12 @@ i40e_vsi_delete_mac(struct i40e_vsi *vsi, struct ether_addr *addr)\n \n \tvlan_num = vsi->vlan_num;\n \tif (vlan_num == 0) {\n-\t\tPMD_DRV_LOG(ERR, \"VLAN number shouldn't be 0\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"VLAN number shouldn't be 0\");\n \t\treturn I40E_ERR_PARAM;\n \t}\n \tmv_f = rte_zmalloc(\"macvlan_data\", vlan_num * sizeof(*mv_f), 0);\n \tif (mv_f == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate memory\");\n \t\treturn I40E_ERR_NO_MEMORY;\n \t}\n \ndiff --git a/lib/librte_pmd_i40e/i40e_ethdev_vf.c b/lib/librte_pmd_i40e/i40e_ethdev_vf.c\nindex 17009bd..f6c4873 100644\n--- a/lib/librte_pmd_i40e/i40e_ethdev_vf.c\n+++ b/lib/librte_pmd_i40e/i40e_ethdev_vf.c\n@@ -205,21 +205,21 @@ i40evf_parse_pfmsg(struct i40e_vf *vf,\n \t\t\tvf->link_up =\n \t\t\t\tvpe->event_data.link_event.link_status;\n \t\t\tvf->pend_msg |= PFMSG_LINK_CHANGE;\n-\t\t\tPMD_DRV_LOG(INFO, \"Link status update:%s\\n\",\n+\t\t\tPMD_DRV_LOG(INFO, \"Link status update:%s\",\n \t\t\t\t    vf->link_up ? \"up\" : \"down\");\n \t\t\tbreak;\n \t\tcase I40E_VIRTCHNL_EVENT_RESET_IMPENDING:\n \t\t\tvf->vf_reset = true;\n \t\t\tvf->pend_msg |= PFMSG_RESET_IMPENDING;\n-\t\t\tPMD_DRV_LOG(INFO, \"vf is reseting\\n\");\n+\t\t\tPMD_DRV_LOG(INFO, \"vf is reseting\");\n \t\t\tbreak;\n \t\tcase I40E_VIRTCHNL_EVENT_PF_DRIVER_CLOSE:\n \t\t\tvf->dev_closed = true;\n \t\t\tvf->pend_msg |= PFMSG_DRIVER_CLOSE;\n-\t\t\tPMD_DRV_LOG(INFO, \"PF driver closed\\n\");\n+\t\t\tPMD_DRV_LOG(INFO, \"PF driver closed\");\n \t\t\tbreak;\n \t\tdefault:\n-\t\t\tPMD_DRV_LOG(ERR, \"%s: Unknown event %d from pf\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"%s: Unknown event %d from pf\",\n \t\t\t\t    __func__, vpe->event);\n \t\t}\n \t} else {\n@@ -314,7 +314,7 @@ _atomic_set_cmd(struct i40e_vf *vf, enum i40e_virtchnl_ops ops)\n \t\t\tI40E_VIRTCHNL_OP_UNKNOWN, ops);\n \n \tif (!ret)\n-\t\tPMD_DRV_LOG(ERR, \"There is incomplete cmd %d\\n\", vf->pend_cmd);\n+\t\tPMD_DRV_LOG(ERR, \"There is incomplete cmd %d\", vf->pend_cmd);\n \n \treturn !ret;\n }\n@@ -338,7 +338,7 @@ i40evf_execute_vf_cmd(struct rte_eth_dev *dev, struct vf_cmd_info *args)\n \terr = i40e_aq_send_msg_to_pf(hw, args->ops, I40E_SUCCESS,\n \t\t     args->in_args, args->in_args_size, NULL);\n \tif (err) {\n-\t\tPMD_DRV_LOG(ERR, \"fail to send cmd %d\\n\", args->ops);\n+\t\tPMD_DRV_LOG(ERR, \"fail to send cmd %d\", args->ops);\n \t\treturn err;\n \t}\n \n@@ -347,9 +347,9 @@ i40evf_execute_vf_cmd(struct rte_eth_dev *dev, struct vf_cmd_info *args)\n \tif (!err && args->ops == info.ops)\n \t\t_clear_cmd(vf);\n \telse if (err)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to read message from AdminQ\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to read message from AdminQ\");\n \telse if (args->ops != info.ops)\n-\t\tPMD_DRV_LOG(ERR, \"command mismatch, expect %u, get %u\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"command mismatch, expect %u, get %u\",\n \t\t\t    args->ops, info.ops);\n \n \treturn (err | info.result);\n@@ -377,7 +377,7 @@ i40evf_check_api_version(struct rte_eth_dev *dev)\n \n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err) {\n-\t\tPMD_INIT_LOG(ERR, \"fail to execute command OP_VERSION\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"fail to execute command OP_VERSION\");\n \t\treturn err;\n \t}\n \n@@ -385,13 +385,13 @@ i40evf_check_api_version(struct rte_eth_dev *dev)\n \t/* We are talking with DPDK host */\n \tif (pver->major == I40E_DPDK_VERSION_MAJOR) {\n \t\tvf->host_is_dpdk = TRUE;\n-\t\tPMD_DRV_LOG(INFO, \"Detect PF host is DPDK app\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"Detect PF host is DPDK app\");\n \t}\n \t/* It's linux host driver */\n \telse if ((pver->major != version.major) ||\n \t    (pver->minor != version.minor)) {\n \t\tPMD_INIT_LOG(ERR, \"pf/vf API version mismatch. \"\n-\t\t\t     \"(%u.%u)-(%u.%u)\\n\", pver->major, pver->minor,\n+\t\t\t     \"(%u.%u)-(%u.%u)\", pver->major, pver->minor,\n \t\t\t     version.major, version.minor);\n \t\treturn -1;\n \t}\n@@ -417,7 +417,7 @@ i40evf_get_vf_resource(struct rte_eth_dev *dev)\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \n \tif (err) {\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_VF_RESOURCE\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_VF_RESOURCE\");\n \t\treturn err;\n \t}\n \n@@ -460,7 +460,7 @@ i40evf_config_promisc(struct rte_eth_dev *dev,\n \n \tif (err)\n \t\tPMD_DRV_LOG(ERR, \"fail to execute command \"\n-\t\t\t    \"CONFIG_PROMISCUOUS_MODE\\n\");\n+\t\t\t    \"CONFIG_PROMISCUOUS_MODE\");\n \treturn err;\n }\n \n@@ -485,7 +485,7 @@ i40evf_config_vlan_offload(struct rte_eth_dev *dev,\n \n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command CFG_VLAN_OFFLOAD\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command CFG_VLAN_OFFLOAD\");\n \n \treturn err;\n }\n@@ -500,7 +500,7 @@ i40evf_config_vlan_pvid(struct rte_eth_dev *dev,\n \tstruct i40e_virtchnl_pvid_info tpid_info;\n \n \tif (dev == NULL || info == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"invalid parameters\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"invalid parameters\");\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n@@ -516,7 +516,7 @@ i40evf_config_vlan_pvid(struct rte_eth_dev *dev,\n \n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command CFG_VLAN_PVID\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command CFG_VLAN_PVID\");\n \n \treturn err;\n }\n@@ -540,7 +540,7 @@ i40evf_configure_queues(struct rte_eth_dev *dev)\n \tlen = sizeof(*queue_info) + sizeof(*queue_cfg) * nb_qpairs;\n \tqueue_info = rte_zmalloc(\"queue_info\", len, 0);\n \tif (queue_info == NULL) {\n-\t\tPMD_INIT_LOG(ERR, \"failed alloc memory for queue_info\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"failed alloc memory for queue_info\");\n \t\treturn -1;\n \t}\n \tqueue_info->vsi_id = vf->vsi_res->vsi_id;\n@@ -593,7 +593,7 @@ i40evf_configure_queues(struct rte_eth_dev *dev)\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n \t\tPMD_DRV_LOG(ERR, \"fail to execute command \"\n-\t\t\t    \"OP_CONFIG_VSI_QUEUES\\n\");\n+\t\t\t    \"OP_CONFIG_VSI_QUEUES\");\n \trte_free(queue_info);\n \n \treturn err;\n@@ -628,7 +628,7 @@ i40evf_config_irq_map(struct rte_eth_dev *dev)\n \targs.out_size = I40E_AQ_BUF_SZ;\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_ENABLE_QUEUES\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_ENABLE_QUEUES\");\n \n \treturn err;\n }\n@@ -659,7 +659,7 @@ i40evf_switch_queue(struct rte_eth_dev *dev, bool isrx, uint16_t qid,\n \targs.out_size = I40E_AQ_BUF_SZ;\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n-\t\tPMD_DRV_LOG(ERR, \"fail to switch %s %u %s\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"fail to switch %s %u %s\",\n \t\t\t    isrx ? \"RX\" : \"TX\", qid, on ? \"on\" : \"off\");\n \n \treturn err;\n@@ -678,7 +678,7 @@ i40evf_start_queues(struct rte_eth_dev *dev)\n \t\tif (rxq->start_rx_per_q)\n \t\t\tcontinue;\n \t\tif (i40evf_dev_rx_queue_start(dev, i) != 0) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -688,7 +688,7 @@ i40evf_start_queues(struct rte_eth_dev *dev)\n \t\tif (txq->start_tx_per_q)\n \t\t\tcontinue;\n \t\tif (i40evf_dev_tx_queue_start(dev, i) != 0) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -704,7 +704,7 @@ i40evf_stop_queues(struct rte_eth_dev *dev)\n \t/* Stop TX queues first */\n \tfor (i = 0; i < dev->data->nb_tx_queues; i++) {\n \t\tif (i40evf_dev_tx_queue_stop(dev, i) != 0) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -712,7 +712,7 @@ i40evf_stop_queues(struct rte_eth_dev *dev)\n \t/* Then stop RX queues */\n \tfor (i = 0; i < dev->data->nb_rx_queues; i++) {\n \t\tif (i40evf_dev_rx_queue_stop(dev, i) != 0) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -731,7 +731,7 @@ i40evf_add_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\n \tstruct vf_cmd_info args;\n \n \tif (i40e_validate_mac_addr(addr->addr_bytes) != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid mac:%x:%x:%x:%x:%x:%x\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"Invalid mac:%x:%x:%x:%x:%x:%x\",\n \t\t\t    addr->addr_bytes[0], addr->addr_bytes[1],\n \t\t\t    addr->addr_bytes[2], addr->addr_bytes[3],\n \t\t\t    addr->addr_bytes[4], addr->addr_bytes[5]);\n@@ -752,7 +752,7 @@ i40evf_add_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n \t\tPMD_DRV_LOG(ERR, \"fail to execute command \"\n-\t\t\t    \"OP_ADD_ETHER_ADDRESS\\n\");\n+\t\t\t    \"OP_ADD_ETHER_ADDRESS\");\n \n \treturn err;\n }\n@@ -768,7 +768,7 @@ i40evf_del_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\n \tstruct vf_cmd_info args;\n \n \tif (i40e_validate_mac_addr(addr->addr_bytes) != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid mac:%x-%x-%x-%x-%x-%x\\n\",\n+\t\tPMD_DRV_LOG(ERR, \"Invalid mac:%x-%x-%x-%x-%x-%x\",\n \t\t\t    addr->addr_bytes[0], addr->addr_bytes[1],\n \t\t\t    addr->addr_bytes[2], addr->addr_bytes[3],\n \t\t\t    addr->addr_bytes[4], addr->addr_bytes[5]);\n@@ -789,7 +789,7 @@ i40evf_del_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n \t\tPMD_DRV_LOG(ERR, \"fail to execute command \"\n-\t\t\t    \"OP_DEL_ETHER_ADDRESS\\n\");\n+\t\t\t    \"OP_DEL_ETHER_ADDRESS\");\n \n \treturn err;\n }\n@@ -813,7 +813,7 @@ i40evf_get_statics(struct rte_eth_dev *dev, struct rte_eth_stats *stats)\n \n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err) {\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_STATS\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_STATS\");\n \t\treturn err;\n \t}\n \tpstats = (struct i40e_eth_stats *)args.out_buffer;\n@@ -851,7 +851,7 @@ i40evf_add_vlan(struct rte_eth_dev *dev, uint16_t vlanid)\n \targs.out_size = I40E_AQ_BUF_SZ;\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_ADD_VLAN\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_ADD_VLAN\");\n \n \treturn err;\n }\n@@ -878,7 +878,7 @@ i40evf_del_vlan(struct rte_eth_dev *dev, uint16_t vlanid)\n \targs.out_size = I40E_AQ_BUF_SZ;\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err)\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_DEL_VLAN\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_DEL_VLAN\");\n \n \treturn err;\n }\n@@ -897,7 +897,7 @@ i40evf_get_link_status(struct rte_eth_dev *dev, struct rte_eth_link *link)\n \targs.out_size = I40E_AQ_BUF_SZ;\n \terr = i40evf_execute_vf_cmd(dev, &args);\n \tif (err) {\n-\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_LINK_STAT\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_LINK_STAT\");\n \t\treturn err;\n \t}\n \n@@ -933,7 +933,7 @@ i40evf_reset_vf(struct i40e_hw *hw)\n \tint i, reset;\n \n \tif (i40e_vf_reset(hw) != I40E_SUCCESS) {\n-\t\tPMD_INIT_LOG(ERR, \"Reset VF NIC failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"Reset VF NIC failed\");\n \t\treturn -1;\n \t}\n \t/**\n@@ -958,7 +958,7 @@ i40evf_reset_vf(struct i40e_hw *hw)\n \t}\n \n \tif (i >= MAX_RESET_WAIT_CNT) {\n-\t\tPMD_INIT_LOG(ERR, \"Reset VF NIC failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"Reset VF NIC failed\");\n \t\treturn -1;\n \t}\n \n@@ -974,49 +974,49 @@ i40evf_init_vf(struct rte_eth_dev *dev)\n \n \terr = i40evf_set_mac_type(hw);\n \tif (err) {\n-\t\tPMD_INIT_LOG(ERR, \"set_mac_type failed: %d\\n\", err);\n+\t\tPMD_INIT_LOG(ERR, \"set_mac_type failed: %d\", err);\n \t\tgoto err;\n \t}\n \n \ti40e_init_adminq_parameter(hw);\n \terr = i40e_init_adminq(hw);\n \tif (err) {\n-\t\tPMD_INIT_LOG(ERR, \"init_adminq failed: %d\\n\", err);\n+\t\tPMD_INIT_LOG(ERR, \"init_adminq failed: %d\", err);\n \t\tgoto err;\n \t}\n \n \n \t/* Reset VF and wait until it's complete */\n \tif (i40evf_reset_vf(hw)) {\n-\t\tPMD_INIT_LOG(ERR, \"reset NIC failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"reset NIC failed\");\n \t\tgoto err_aq;\n \t}\n \n \t/* VF reset, shutdown admin queue and initialize again */\n \tif (i40e_shutdown_adminq(hw) != I40E_SUCCESS) {\n-\t\tPMD_INIT_LOG(ERR, \"i40e_shutdown_adminq failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"i40e_shutdown_adminq failed\");\n \t\treturn -1;\n \t}\n \n \ti40e_init_adminq_parameter(hw);\n \tif (i40e_init_adminq(hw) != I40E_SUCCESS) {\n-\t\tPMD_INIT_LOG(ERR, \"init_adminq failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"init_adminq failed\");\n \t\treturn -1;\n \t}\n \tif (i40evf_check_api_version(dev) != 0) {\n-\t\tPMD_INIT_LOG(ERR, \"check_api version failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"check_api version failed\");\n \t\tgoto err_aq;\n \t}\n \tbufsz = sizeof(struct i40e_virtchnl_vf_resource) +\n \t\t(I40E_MAX_VF_VSI * sizeof(struct i40e_virtchnl_vsi_resource));\n \tvf->vf_res = rte_zmalloc(\"vf_res\", bufsz, 0);\n \tif (!vf->vf_res) {\n-\t\tPMD_INIT_LOG(ERR, \"unable to allocate vf_res memory\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"unable to allocate vf_res memory\");\n \t\t\tgoto err_aq;\n \t}\n \n \tif (i40evf_get_vf_resource(dev) != 0) {\n-\t\tPMD_INIT_LOG(ERR, \"i40evf_get_vf_config failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"i40evf_get_vf_config failed\");\n \t\tgoto err_alloc;\n \t}\n \n@@ -1027,7 +1027,7 @@ i40evf_init_vf(struct rte_eth_dev *dev)\n \t}\n \n \tif (!vf->vsi_res) {\n-\t\tPMD_INIT_LOG(ERR, \"no LAN VSI found\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"no LAN VSI found\");\n \t\tgoto err_alloc;\n \t}\n \n@@ -1086,7 +1086,7 @@ i40evf_dev_init(__rte_unused struct eth_driver *eth_drv,\n \thw->hw_addr = (void *)eth_dev->pci_dev->mem_resource[0].addr;\n \n \tif(i40evf_init_vf(eth_dev) != 0) {\n-\t\tPMD_INIT_LOG(ERR, \"Init vf failed\\n\");\n+\t\tPMD_INIT_LOG(ERR, \"Init vf failed\");\n \t\treturn -1;\n \t}\n \n@@ -1223,7 +1223,7 @@ i40evf_dev_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \n \t\terr = i40e_alloc_rx_queue_mbufs(rxq);\n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate RX queue mbuf\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate RX queue mbuf\");\n \t\t\treturn err;\n \t\t}\n \n@@ -1237,7 +1237,7 @@ i40evf_dev_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\terr = i40evf_switch_queue(dev, TRUE, rx_queue_id, TRUE);\n \n \t\tif (err)\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\",\n \t\t\t\t    rx_queue_id);\n \t}\n \n@@ -1256,7 +1256,7 @@ i40evf_dev_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\terr = i40evf_switch_queue(dev, TRUE, rx_queue_id, FALSE);\n \n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\",\n \t\t\t\t    rx_queue_id);\n \t\t\treturn err;\n \t\t}\n@@ -1281,7 +1281,7 @@ i40evf_dev_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \t\terr = i40evf_switch_queue(dev, FALSE, tx_queue_id, TRUE);\n \n \t\tif (err)\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u on\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u on\",\n \t\t\t\t    tx_queue_id);\n \t}\n \n@@ -1300,7 +1300,7 @@ i40evf_dev_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \t\terr = i40evf_switch_queue(dev, FALSE, tx_queue_id, FALSE);\n \n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u of\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u of\",\n \t\t\t\t    tx_queue_id);\n \t\t\treturn err;\n \t\t}\n@@ -1386,7 +1386,7 @@ i40evf_dev_start(struct rte_eth_dev *dev)\n \t\t\tvf->max_pkt_len > I40E_FRAME_SIZE_MAX) {\n \t\t\tPMD_DRV_LOG(ERR, \"maximum packet length must \"\n \t\t\t\t    \"be larger than %u and smaller than %u,\"\n-\t\t\t\t    \"as jumbo frame is enabled\\n\",\n+\t\t\t\t    \"as jumbo frame is enabled\",\n \t\t\t\t    (uint32_t)ETHER_MAX_LEN,\n \t\t\t\t    (uint32_t)I40E_FRAME_SIZE_MAX);\n \t\t\treturn I40E_ERR_CONFIG;\n@@ -1396,7 +1396,7 @@ i40evf_dev_start(struct rte_eth_dev *dev)\n \t\t\tvf->max_pkt_len > ETHER_MAX_LEN) {\n \t\t\tPMD_DRV_LOG(ERR, \"maximum packet length must be \"\n \t\t\t\t    \"larger than %u and smaller than %u, \"\n-\t\t\t\t    \"as jumbo frame is disabled\\n\",\n+\t\t\t\t    \"as jumbo frame is disabled\",\n \t\t\t\t    (uint32_t)ETHER_MIN_LEN,\n \t\t\t\t    (uint32_t)ETHER_MAX_LEN);\n \t\t\treturn I40E_ERR_CONFIG;\n@@ -1407,18 +1407,18 @@ i40evf_dev_start(struct rte_eth_dev *dev)\n \t\t\t\t\tdev->data->nb_tx_queues);\n \n \tif (i40evf_rx_init(dev) != 0){\n-\t\tPMD_DRV_LOG(ERR, \"failed to do RX init\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to do RX init\");\n \t\treturn -1;\n \t}\n \n \ti40evf_tx_init(dev);\n \n \tif (i40evf_configure_queues(dev) != 0) {\n-\t\tPMD_DRV_LOG(ERR, \"configure queues failed\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"configure queues failed\");\n \t\tgoto err_queue;\n \t}\n \tif (i40evf_config_irq_map(dev)) {\n-\t\tPMD_DRV_LOG(ERR, \"config_irq_map failed\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"config_irq_map failed\");\n \t\tgoto err_queue;\n \t}\n \n@@ -1426,12 +1426,12 @@ i40evf_dev_start(struct rte_eth_dev *dev)\n \t(void)rte_memcpy(mac_addr.addr_bytes, hw->mac.addr,\n \t\t\t\tsizeof(mac_addr.addr_bytes));\n \tif (i40evf_add_mac_addr(dev, &mac_addr)) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to add mac addr\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to add mac addr\");\n \t\tgoto err_queue;\n \t}\n \n \tif (i40evf_start_queues(dev) != 0) {\n-\t\tPMD_DRV_LOG(ERR, \"enable queues failed\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"enable queues failed\");\n \t\tgoto err_mac;\n \t}\n \n@@ -1555,7 +1555,7 @@ i40evf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)\n {\n \tmemset(stats, 0, sizeof(*stats));\n \tif (i40evf_get_statics(dev, stats))\n-\t\tPMD_DRV_LOG(ERR, \"Get statics failed\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Get statics failed\");\n }\n \n static void\ndiff --git a/lib/librte_pmd_i40e/i40e_pf.c b/lib/librte_pmd_i40e/i40e_pf.c\nindex ed9773a..682ff44 100644\n--- a/lib/librte_pmd_i40e/i40e_pf.c\n+++ b/lib/librte_pmd_i40e/i40e_pf.c\n@@ -158,7 +158,7 @@ i40e_pf_host_vf_reset(struct i40e_pf_vf *vf, bool do_hw_reset)\n \t}\n \n \tif (i >= VFRESET_MAX_WAIT_CNT) {\n-\t\tPMD_DRV_LOG(ERR, \"VF reset timeout\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"VF reset timeout\");\n \t\treturn -ETIMEDOUT;\n \t}\n \n@@ -171,7 +171,7 @@ i40e_pf_host_vf_reset(struct i40e_pf_vf *vf, bool do_hw_reset)\n \t\tqsel.tx_queues = qsel.rx_queues;\n \t\tret = i40e_pf_host_switch_queues(vf, &qsel, false);\n \t\tif (ret != I40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Disable VF queues failed\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Disable VF queues failed\");\n \t\t\treturn -EFAULT;\n \t\t}\n \n@@ -190,7 +190,7 @@ i40e_pf_host_vf_reset(struct i40e_pf_vf *vf, bool do_hw_reset)\n \t\t/* remove VSI */\n \t\tret = i40e_vsi_release(vf->vsi);\n \t\tif (ret != I40E_SUCCESS) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Release VSI failed\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Release VSI failed\");\n \t\t\treturn -EFAULT;\n \t\t}\n \t}\n@@ -209,7 +209,7 @@ i40e_pf_host_vf_reset(struct i40e_pf_vf *vf, bool do_hw_reset)\n \t}\n \n \tif (i >= VFRESET_MAX_WAIT_CNT) {\n-\t\tPMD_DRV_LOG(ERR, \"Wait VF PCI transaction end timeout\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Wait VF PCI transaction end timeout\");\n \t\treturn -ETIMEDOUT;\n \t}\n \n@@ -225,13 +225,13 @@ i40e_pf_host_vf_reset(struct i40e_pf_vf *vf, bool do_hw_reset)\n \tvf->vsi = i40e_vsi_setup(vf->pf, I40E_VSI_SRIOV,\n \t\t\tvf->pf->main_vsi, vf->vf_idx);\n \tif (vf->vsi == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"Add vsi failed\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Add vsi failed\");\n \t\treturn -EFAULT;\n \t}\n \n \tret = i40e_pf_vf_queues_mapping(vf);\n \tif (ret != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"queue mapping error\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"queue mapping error\");\n \t\ti40e_vsi_release(vf->vsi);\n \t\treturn -EFAULT;\n \t}\n@@ -295,7 +295,7 @@ i40e_pf_host_process_cmd_get_vf_resource(struct i40e_pf_vf *vf)\n \n \tvf_res = rte_zmalloc(\"i40e_vf_res\", len, 0);\n \tif (vf_res == NULL) {\n-\t\tPMD_DRV_LOG(ERR, \"failed to allocate mem\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"failed to allocate mem\");\n \t\tret = I40E_ERR_NO_MEMORY;\n \t\tvf_res = NULL;\n \t\tlen = 0;\n@@ -421,7 +421,7 @@ i40e_pf_host_process_cmd_config_vsi_queues(struct i40e_pf_vf *vf,\n \n \tif (msg == NULL || msglen <= sizeof(*qconfig) ||\n \t\tqconfig->num_queue_pairs > vsi->nb_qps) {\n-\t\tPMD_DRV_LOG(ERR, \"vsi_queue_config_info argument wrong\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"vsi_queue_config_info argument wrong\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n@@ -466,20 +466,20 @@ i40e_pf_host_process_cmd_config_irq_map(struct i40e_pf_vf *vf,\n \t    (struct i40e_virtchnl_irq_map_info *)msg;\n \n \tif (msg == NULL || msglen < sizeof(struct i40e_virtchnl_irq_map_info)) {\n-\t\tPMD_DRV_LOG(ERR, \"buffer too short\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"buffer too short\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n \n \t/* Assume VF only have 1 vector to bind all queues */\n \tif (irqmap->num_vectors != 1) {\n-\t\tPMD_DRV_LOG(ERR, \"DKDK host only support 1 vector\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"DKDK host only support 1 vector\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n \n \tif (irqmap->vecmap[0].vector_id == 0) {\n-\t\tPMD_DRV_LOG(ERR, \"DPDK host don't support use IRQ0\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"DPDK host don't support use IRQ0\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n@@ -601,7 +601,7 @@ i40e_pf_host_process_cmd_add_ether_address(struct i40e_pf_vf *vf,\n \tstruct ether_addr *mac;\n \n \tif (msg == NULL || msglen <= sizeof(*addr_list)) {\n-\t\tPMD_DRV_LOG(ERR, \"add_ether_address argument too short\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"add_ether_address argument too short\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n@@ -634,7 +634,7 @@ i40e_pf_host_process_cmd_del_ether_address(struct i40e_pf_vf *vf,\n \tstruct ether_addr *mac;\n \n \tif (msg == NULL || msglen <= sizeof(*addr_list)) {\n-\t\tPMD_DRV_LOG(ERR, \"delete_ether_address argument too short\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"delete_ether_address argument too short\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n@@ -667,7 +667,7 @@ i40e_pf_host_process_cmd_add_vlan(struct i40e_pf_vf *vf,\n \tuint16_t *vid;\n \n \tif (msg == NULL || msglen <= sizeof(*vlan_filter_list)) {\n-\t\tPMD_DRV_LOG(ERR, \"add_vlan argument too short\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"add_vlan argument too short\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n@@ -699,7 +699,7 @@ i40e_pf_host_process_cmd_del_vlan(struct i40e_pf_vf *vf,\n \tuint16_t *vid;\n \n \tif (msg == NULL || msglen <= sizeof(*vlan_filter_list)) {\n-\t\tPMD_DRV_LOG(ERR, \"delete_vlan argument too short\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"delete_vlan argument too short\");\n \t\tret = I40E_ERR_PARAM;\n \t\tgoto send_msg;\n \t}\n@@ -796,7 +796,7 @@ i40e_pf_host_process_cmd_cfg_vlan_offload(\n \tret = i40e_vsi_config_vlan_stripping(vf->vsi,\n \t\t\t\t\t\t!!offload->enable_vlan_strip);\n \tif (ret != 0)\n-\t\tPMD_DRV_LOG(ERR, \"Failed to configure vlan stripping\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to configure vlan stripping\");\n \n send_msg:\n \ti40e_pf_host_send_msg_to_vf(vf, I40E_VIRTCHNL_OP_CFG_VLAN_OFFLOAD,\n@@ -842,13 +842,13 @@ i40e_pf_host_handle_vf_msg(struct rte_eth_dev *dev,\n \tuint16_t vf_id = abs_vf_id - hw->func_caps.vf_base_id;\n \n \tif (!dev || vf_id > pf->vf_num - 1 || !pf->vfs) {\n-\t\tPMD_DRV_LOG(ERR, \"invalid argument\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"invalid argument\");\n \t\treturn;\n \t}\n \n \tvf = &pf->vfs[vf_id];\n \tif (!vf->vsi) {\n-\t\tPMD_DRV_LOG(ERR, \"NO VSI associated with VF found\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"NO VSI associated with VF found\");\n \t\ti40e_pf_host_send_msg_to_vf(vf, opcode,\n \t\t\tI40E_ERR_NO_AVAILABLE_VSI, NULL, 0);\n \t\treturn;\n@@ -856,81 +856,81 @@ i40e_pf_host_handle_vf_msg(struct rte_eth_dev *dev,\n \n \tswitch (opcode) {\n \tcase I40E_VIRTCHNL_OP_VERSION :\n-\t\tPMD_DRV_LOG(INFO, \"OP_VERSION received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_VERSION received\");\n \t\ti40e_pf_host_process_cmd_version(vf);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_RESET_VF :\n-\t\tPMD_DRV_LOG(INFO, \"OP_RESET_VF received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_RESET_VF received\");\n \t\ti40e_pf_host_process_cmd_reset_vf(vf);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_GET_VF_RESOURCES:\n-\t\tPMD_DRV_LOG(INFO, \"OP_GET_VF_RESOURCES received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_GET_VF_RESOURCES received\");\n \t\ti40e_pf_host_process_cmd_get_vf_resource(vf);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES:\n-\t\tPMD_DRV_LOG(INFO, \"OP_CONFIG_VSI_QUEUES received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_CONFIG_VSI_QUEUES received\");\n \t\ti40e_pf_host_process_cmd_config_vsi_queues(vf,\n \t\t\t\t\t\tmsg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_CONFIG_IRQ_MAP:\n-\t\tPMD_DRV_LOG(INFO, \"OP_CONFIG_IRQ_MAP received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_CONFIG_IRQ_MAP received\");\n \t\ti40e_pf_host_process_cmd_config_irq_map(vf, msg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_ENABLE_QUEUES:\n-\t\tPMD_DRV_LOG(INFO, \"OP_ENABLE_QUEUES received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_ENABLE_QUEUES received\");\n \t\ti40e_pf_host_process_cmd_enable_queues(vf,\n \t\t\t\t\t\tmsg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_DISABLE_QUEUES:\n-\t\tPMD_DRV_LOG(INFO, \"OP_DISABLE_QUEUE received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_DISABLE_QUEUE received\");\n \t\ti40e_pf_host_process_cmd_disable_queues(vf,\n \t\t\t\t\t\tmsg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_ADD_ETHER_ADDRESS:\n-\t\tPMD_DRV_LOG(INFO, \"OP_ADD_ETHER_ADDRESS received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_ADD_ETHER_ADDRESS received\");\n \t\ti40e_pf_host_process_cmd_add_ether_address(vf,\n \t\t\t\t\t\tmsg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_DEL_ETHER_ADDRESS:\n-\t\tPMD_DRV_LOG(INFO, \"OP_DEL_ETHER_ADDRESS received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_DEL_ETHER_ADDRESS received\");\n \t\ti40e_pf_host_process_cmd_del_ether_address(vf,\n \t\t\t\t\t\tmsg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_ADD_VLAN:\n-\t\tPMD_DRV_LOG(INFO, \"OP_ADD_VLAN received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_ADD_VLAN received\");\n \t\ti40e_pf_host_process_cmd_add_vlan(vf, msg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_DEL_VLAN:\n-\t\tPMD_DRV_LOG(INFO, \"OP_DEL_VLAN received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_DEL_VLAN received\");\n \t\ti40e_pf_host_process_cmd_del_vlan(vf, msg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE:\n-\t\tPMD_DRV_LOG(INFO, \"OP_CONFIG_PROMISCUOUS_MODE received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_CONFIG_PROMISCUOUS_MODE received\");\n \t\ti40e_pf_host_process_cmd_config_promisc_mode(vf, msg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_GET_STATS:\n-\t\tPMD_DRV_LOG(INFO, \"OP_GET_STATS received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_GET_STATS received\");\n \t\ti40e_pf_host_process_cmd_get_stats(vf);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_GET_LINK_STAT:\n-\t\tPMD_DRV_LOG(INFO, \"OP_GET_LINK_STAT received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_GET_LINK_STAT received\");\n \t\ti40e_pf_host_process_cmd_get_link_status(vf);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_CFG_VLAN_OFFLOAD:\n-\t\tPMD_DRV_LOG(INFO, \"OP_CFG_VLAN_OFFLOAD received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_CFG_VLAN_OFFLOAD received\");\n \t\ti40e_pf_host_process_cmd_cfg_vlan_offload(vf, msg, msglen);\n \t\tbreak;\n \tcase I40E_VIRTCHNL_OP_CFG_VLAN_PVID:\n-\t\tPMD_DRV_LOG(INFO, \"OP_CFG_VLAN_PVID received\\n\");\n+\t\tPMD_DRV_LOG(INFO, \"OP_CFG_VLAN_PVID received\");\n \t\ti40e_pf_host_process_cmd_cfg_pvid(vf, msg, msglen);\n \t\tbreak;\n \t /* Don't add command supported below, which will\n \t *  return an error code.\n \t */\n \tcase I40E_VIRTCHNL_OP_FCOE:\n-\t\tPMD_DRV_LOG(ERR, \"OP_FCOE received, not supported\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"OP_FCOE received, not supported\");\n \tdefault:\n-\t\tPMD_DRV_LOG(ERR, \"%u received, not supported\\n\", opcode);\n+\t\tPMD_DRV_LOG(ERR, \"%u received, not supported\", opcode);\n \t\ti40e_pf_host_send_msg_to_vf(vf, opcode,\n \t\t\t\tI40E_ERR_PARAM, NULL, 0);\n \t\tbreak;\ndiff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c\nindex 99a6572..22f9fd5 100644\n--- a/lib/librte_pmd_i40e/i40e_rxtx.c\n+++ b/lib/librte_pmd_i40e/i40e_rxtx.c\n@@ -420,13 +420,13 @@ i40e_txd_enable_checksum(uint32_t ol_flags,\n \t\t\tuint8_t l3_len)\n {\n \tif (!l2_len) {\n-\t\tPMD_DRV_LOG(DEBUG, \"L2 length set to 0\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"L2 length set to 0\");\n \t\treturn;\n \t}\n \t*td_offset |= (l2_len >> 1) << I40E_TX_DESC_LENGTH_MACLEN_SHIFT;\n \n \tif (!l3_len) {\n-\t\tPMD_DRV_LOG(DEBUG, \"L3 length set to 0\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"L3 length set to 0\");\n \t\treturn;\n \t}\n \n@@ -676,7 +676,7 @@ i40e_rx_alloc_bufs(struct i40e_rx_queue *rxq)\n \tdiag = rte_mempool_get_bulk(rxq->mp, (void *)rxep,\n \t\t\t\t\trxq->rx_free_thresh);\n \tif (unlikely(diag != 0)) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to get mbufs in bulk\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to get mbufs in bulk\");\n \t\treturn -ENOMEM;\n \t}\n \n@@ -728,7 +728,7 @@ rx_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)\n \t\t\tuint16_t i, j;\n \n \t\t\tPMD_RX_LOG(DEBUG, \"Rx mbuf alloc failed for \"\n-\t\t\t\t   \"port_id=%u, queue_id=%u\\n\",\n+\t\t\t\t   \"port_id=%u, queue_id=%u\",\n \t\t\t\t   rxq->port_id, rxq->queue_id);\n \t\t\trxq->rx_nb_avail = 0;\n \t\t\trxq->rx_tail = (uint16_t)(rxq->rx_tail - nb_rx);\n@@ -1440,7 +1440,7 @@ i40e_dev_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \n \t\terr = i40e_alloc_rx_queue_mbufs(rxq);\n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate RX queue mbuf\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate RX queue mbuf\");\n \t\t\treturn err;\n \t\t}\n \n@@ -1452,7 +1452,7 @@ i40e_dev_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\terr = i40e_switch_rx_queue(hw, rx_queue_id + q_base, TRUE);\n \n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\",\n \t\t\t\t    rx_queue_id);\n \n \t\t\ti40e_rx_queue_release_mbufs(rxq);\n@@ -1478,7 +1478,7 @@ i40e_dev_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\terr = i40e_switch_rx_queue(hw, rx_queue_id + q_base, FALSE);\n \n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\",\n \t\t\t\t    rx_queue_id);\n \t\t\treturn err;\n \t\t}\n@@ -1502,7 +1502,7 @@ i40e_dev_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \tif (tx_queue_id < dev->data->nb_tx_queues) {\n \t\terr = i40e_switch_tx_queue(hw, tx_queue_id + q_base, TRUE);\n \t\tif (err)\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u on\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u on\",\n \t\t\t\t    tx_queue_id);\n \t}\n \n@@ -1524,7 +1524,7 @@ i40e_dev_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \t\terr = i40e_switch_tx_queue(hw, tx_queue_id + q_base, FALSE);\n \n \t\tif (err) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u of\\n\",\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u of\",\n \t\t\t\t    tx_queue_id);\n \t\t\treturn err;\n \t\t}\n@@ -1553,14 +1553,14 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \n \tif (!vsi || queue_idx >= vsi->nb_qps) {\n \t\tPMD_DRV_LOG(ERR, \"VSI not available or queue \"\n-\t\t\t    \"index exceeds the maximum\\n\");\n+\t\t\t    \"index exceeds the maximum\");\n \t\treturn I40E_ERR_PARAM;\n \t}\n \tif (((nb_desc * sizeof(union i40e_rx_desc)) % I40E_ALIGN) != 0 ||\n \t\t\t\t\t(nb_desc > I40E_MAX_RING_DESC) ||\n \t\t\t\t\t(nb_desc < I40E_MIN_RING_DESC)) {\n \t\tPMD_DRV_LOG(ERR, \"Number (%u) of receive descriptors is \"\n-\t\t\t    \"invalid\\n\", nb_desc);\n+\t\t\t    \"invalid\", nb_desc);\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n@@ -1577,7 +1577,7 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t socket_id);\n \tif (!rxq) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for \"\n-\t\t\t    \"rx queue data structure\\n\");\n+\t\t\t    \"rx queue data structure\");\n \t\treturn (-ENOMEM);\n \t}\n \trxq->mp = mp;\n@@ -1602,7 +1602,7 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t\tsocket_id);\n \tif (!rz) {\n \t\ti40e_dev_rx_queue_release(rxq);\n-\t\tPMD_DRV_LOG(ERR, \"Failed to reserve DMA memory for RX\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to reserve DMA memory for RX\");\n \t\treturn (-ENOMEM);\n \t}\n \n@@ -1631,7 +1631,7 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t   socket_id);\n \tif (!rxq->sw_ring) {\n \t\ti40e_dev_rx_queue_release(rxq);\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for SW ring\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for SW ring\");\n \t\treturn (-ENOMEM);\n \t}\n \n@@ -1645,7 +1645,7 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n #ifdef RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC\n \t\tPMD_INIT_LOG(DEBUG, \"Rx Burst Bulk Alloc Preconditions are \"\n \t\t\t     \"satisfied. Rx Burst Bulk Alloc function will be \"\n-\t\t\t     \"used on port=%d, queue=%d.\\n\",\n+\t\t\t     \"used on port=%d, queue=%d.\",\n \t\t\t     rxq->port_id, rxq->queue_id);\n \t\tdev->rx_pkt_burst = i40e_recv_pkts_bulk_alloc;\n #endif /* RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC */\n@@ -1653,7 +1653,7 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \t\tPMD_INIT_LOG(DEBUG, \"Rx Burst Bulk Alloc Preconditions are \"\n \t\t\t     \"not satisfied, Scattered Rx is requested, \"\n \t\t\t     \"or RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC is \"\n-\t\t\t     \"not enabled on port=%d, queue=%d.\\n\",\n+\t\t\t     \"not enabled on port=%d, queue=%d.\",\n \t\t\t     rxq->port_id, rxq->queue_id);\n \t}\n \n@@ -1666,7 +1666,7 @@ i40e_dev_rx_queue_release(void *rxq)\n \tstruct i40e_rx_queue *q = (struct i40e_rx_queue *)rxq;\n \n \tif (!q) {\n-\t\tPMD_DRV_LOG(DEBUG, \"Pointer to rxq is NULL\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"Pointer to rxq is NULL\");\n \t\treturn;\n \t}\n \n@@ -1684,7 +1684,7 @@ i40e_dev_rx_queue_count(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \tuint16_t desc = 0;\n \n \tif (unlikely(rx_queue_id >= dev->data->nb_rx_queues)) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid RX queue id %u\\n\", rx_queue_id);\n+\t\tPMD_DRV_LOG(ERR, \"Invalid RX queue id %u\", rx_queue_id);\n \t\treturn 0;\n \t}\n \n@@ -1718,7 +1718,7 @@ i40e_dev_rx_descriptor_done(void *rx_queue, uint16_t offset)\n \tint ret;\n \n \tif (unlikely(offset >= rxq->nb_rx_desc)) {\n-\t\tPMD_DRV_LOG(ERR, \"Invalid RX queue id %u\\n\", offset);\n+\t\tPMD_DRV_LOG(ERR, \"Invalid RX queue id %u\", offset);\n \t\treturn 0;\n \t}\n \n@@ -1750,7 +1750,7 @@ i40e_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \n \tif (!vsi || queue_idx >= vsi->nb_qps) {\n \t\tPMD_DRV_LOG(ERR, \"VSI is NULL, or queue index (%u) \"\n-\t\t\t    \"exceeds the maximum\\n\", queue_idx);\n+\t\t\t    \"exceeds the maximum\", queue_idx);\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n@@ -1758,7 +1758,7 @@ i40e_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t\t(nb_desc > I40E_MAX_RING_DESC) ||\n \t\t\t\t\t(nb_desc < I40E_MIN_RING_DESC)) {\n \t\tPMD_DRV_LOG(ERR, \"Number (%u) of transmit descriptors is \"\n-\t\t\t    \"invalid\\n\", nb_desc);\n+\t\t\t    \"invalid\", nb_desc);\n \t\treturn I40E_ERR_PARAM;\n \t}\n \n@@ -1847,7 +1847,7 @@ i40e_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t  socket_id);\n \tif (!txq) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for \"\n-\t\t\t    \"tx queue structure\\n\");\n+\t\t\t    \"tx queue structure\");\n \t\treturn (-ENOMEM);\n \t}\n \n@@ -1861,7 +1861,7 @@ i40e_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t\tsocket_id);\n \tif (!tz) {\n \t\ti40e_dev_tx_queue_release(txq);\n-\t\tPMD_DRV_LOG(ERR, \"Failed to reserve DMA memory for TX\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to reserve DMA memory for TX\");\n \t\treturn (-ENOMEM);\n \t}\n \n@@ -1893,7 +1893,7 @@ i40e_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t\t   socket_id);\n \tif (!txq->sw_ring) {\n \t\ti40e_dev_tx_queue_release(txq);\n-\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for SW TX ring\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for SW TX ring\");\n \t\treturn (-ENOMEM);\n \t}\n \n@@ -1904,10 +1904,10 @@ i40e_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t/* Use a simple TX queue without offloads or multi segs if possible */\n \tif (((txq->txq_flags & I40E_SIMPLE_FLAGS) == I40E_SIMPLE_FLAGS) &&\n \t\t\t\t(txq->tx_rs_thresh >= I40E_TX_MAX_BURST)) {\n-\t\tPMD_INIT_LOG(INFO, \"Using simple tx path\\n\");\n+\t\tPMD_INIT_LOG(INFO, \"Using simple tx path\");\n \t\tdev->tx_pkt_burst = i40e_xmit_pkts_simple;\n \t} else {\n-\t\tPMD_INIT_LOG(INFO, \"Using full-featured tx path\\n\");\n+\t\tPMD_INIT_LOG(INFO, \"Using full-featured tx path\");\n \t\tdev->tx_pkt_burst = i40e_xmit_pkts;\n \t}\n \n@@ -1920,7 +1920,7 @@ i40e_dev_tx_queue_release(void *txq)\n \tstruct i40e_tx_queue *q = (struct i40e_tx_queue *)txq;\n \n \tif (!q) {\n-\t\tPMD_DRV_LOG(DEBUG, \"Pointer to TX queue is NULL\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"Pointer to TX queue is NULL\");\n \t\treturn;\n \t}\n \n@@ -1961,7 +1961,7 @@ i40e_rx_queue_release_mbufs(struct i40e_rx_queue *rxq)\n \tuint16_t i;\n \n \tif (!rxq || !rxq->sw_ring) {\n-\t\tPMD_DRV_LOG(DEBUG, \"Pointer to rxq or sw_ring is NULL\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"Pointer to rxq or sw_ring is NULL\");\n \t\treturn;\n \t}\n \n@@ -2021,7 +2021,7 @@ i40e_tx_queue_release_mbufs(struct i40e_tx_queue *txq)\n \tuint16_t i;\n \n \tif (!txq || !txq->sw_ring) {\n-\t\tPMD_DRV_LOG(DEBUG, \"Pointer to rxq or sw_ring is NULL\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"Pointer to rxq or sw_ring is NULL\");\n \t\treturn;\n \t}\n \n@@ -2040,7 +2040,7 @@ i40e_reset_tx_queue(struct i40e_tx_queue *txq)\n \tuint16_t i, prev, size;\n \n \tif (!txq) {\n-\t\tPMD_DRV_LOG(DEBUG, \"Pointer to txq is NULL\\n\");\n+\t\tPMD_DRV_LOG(DEBUG, \"Pointer to txq is NULL\");\n \t\treturn;\n \t}\n \n@@ -2091,13 +2091,13 @@ i40e_tx_queue_init(struct i40e_tx_queue *txq)\n \n \terr = i40e_clear_lan_tx_queue_context(hw, pf_q);\n \tif (err != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failure of clean lan tx queue context\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failure of clean lan tx queue context\");\n \t\treturn err;\n \t}\n \n \terr = i40e_set_lan_tx_queue_context(hw, pf_q, &tx_ctx);\n \tif (err != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failure of set lan tx queue context\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failure of set lan tx queue context\");\n \t\treturn err;\n \t}\n \n@@ -2125,7 +2125,7 @@ i40e_alloc_rx_queue_mbufs(struct i40e_rx_queue *rxq)\n \t\tstruct rte_mbuf *mbuf = rte_rxmbuf_alloc(rxq->mp);\n \n \t\tif (unlikely(!mbuf)) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate mbuf for RX\\n\");\n+\t\t\tPMD_DRV_LOG(ERR, \"Failed to allocate mbuf for RX\");\n \t\t\treturn -ENOMEM;\n \t\t}\n \n@@ -2193,7 +2193,7 @@ i40e_rx_queue_config(struct i40e_rx_queue *rxq)\n \t\t\trxq->max_pkt_len > I40E_FRAME_SIZE_MAX) {\n \t\t\tPMD_DRV_LOG(ERR, \"maximum packet length must \"\n \t\t\t\t    \"be larger than %u and smaller than %u,\"\n-\t\t\t\t    \"as jumbo frame is enabled\\n\",\n+\t\t\t\t    \"as jumbo frame is enabled\",\n \t\t\t\t    (uint32_t)ETHER_MAX_LEN,\n \t\t\t\t    (uint32_t)I40E_FRAME_SIZE_MAX);\n \t\t\treturn I40E_ERR_CONFIG;\n@@ -2203,7 +2203,7 @@ i40e_rx_queue_config(struct i40e_rx_queue *rxq)\n \t\t\trxq->max_pkt_len > ETHER_MAX_LEN) {\n \t\t\tPMD_DRV_LOG(ERR, \"maximum packet length must be \"\n \t\t\t\t    \"larger than %u and smaller than %u, \"\n-\t\t\t\t    \"as jumbo frame is disabled\\n\",\n+\t\t\t\t    \"as jumbo frame is disabled\",\n \t\t\t\t    (uint32_t)ETHER_MIN_LEN,\n \t\t\t\t    (uint32_t)ETHER_MAX_LEN);\n \t\t\treturn I40E_ERR_CONFIG;\n@@ -2228,7 +2228,7 @@ i40e_rx_queue_init(struct i40e_rx_queue *rxq)\n \n \terr = i40e_rx_queue_config(rxq);\n \tif (err < 0) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to config RX queue\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to config RX queue\");\n \t\treturn err;\n \t}\n \n@@ -2260,12 +2260,12 @@ i40e_rx_queue_init(struct i40e_rx_queue *rxq)\n \n \terr = i40e_clear_lan_rx_queue_context(hw, pf_q);\n \tif (err != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to clear LAN RX queue context\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to clear LAN RX queue context\");\n \t\treturn err;\n \t}\n \terr = i40e_set_lan_rx_queue_context(hw, pf_q, &rx_ctx);\n \tif (err != I40E_SUCCESS) {\n-\t\tPMD_DRV_LOG(ERR, \"Failed to set LAN RX queue context\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to set LAN RX queue context\");\n \t\treturn err;\n \t}\n \n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "11/20"
    ]
}