Show a patch.

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

{
    "id": 407,
    "url": "https://patches.dpdk.org/api/patches/407/",
    "web_url": "https://patches.dpdk.org/patch/407/",
    "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-11-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-17T13:46:42",
    "name": "[dpdk-dev,v3,10/20] i40e: indent logs sections",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8bed7070e0b12acafc46f73e416a7513ca0731b3",
    "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/407/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/407/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/407/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=yn2FUQsF7JKDBeHixldnleFvRHEbs/Y6HLgs74zdZjA=;\n\tb=caX3eSFPbCgUFtcXvnkL2On7K9L0suQHOTv6Q15QG5rKJY3+S9/DxooLoJEtmklcQR\n\tAsy1M2nydzJsNd6gBS18DNExTM3KN3Aa6w6p5dmCck2nHtCVLG0bFRk7ghdce7tzwCkH\n\tsQPo9/LxwPV2x4AHCtDUtQTK9tXNQnfC44jKb4zmTHo08xJUOtEBbaC5IvAPvtb4tL86\n\t2Gjy+xwiN3bfRyFWpRIoiSQ97csUdNNIFAkSOKwAhfEo3A61BSfz/plCcV/ZJMqIms9R\n\tcY7AS+anrgFNHbAdO0kXL5FouSarhMWdlIG2bisr1STnl3ZV1BELsCBhTWEFjp1qi97b\n\tL8Rg==",
        "In-Reply-To": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "Precedence": "list",
        "Date": "Wed, 17 Sep 2014 15:46:42 +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": "ALoCoQkkzQ5svWY52P4zin1HzyQz1TC3bkwcU2w5qEZM78ZGYaOB5MaKDPeKeqKJ6glT1l25ZqUm",
        "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 8B2DDB3D1;\n\tWed, 17 Sep 2014 15:41:41 +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 367C3B3CC\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 15:41:38 +0200 (CEST)",
            "by mail-we0-f170.google.com with SMTP id u57so1470193wes.1\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 06:47:19 -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.17 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 17 Sep 2014 06:47:18 -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-11-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 10/20] i40e: indent logs sections",
        "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.181.27.197 with SMTP id ji5mr29650055wid.54.1410961639361; \n\tWed, 17 Sep 2014 06:47:19 -0700 (PDT)",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Prepare for next commit, indent sections where log messages will be modified so\nthat next patch is only about \\n.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_pmd_i40e/i40e_ethdev.c    |  101 +++++++++++++++++-----------------\n lib/librte_pmd_i40e/i40e_ethdev_vf.c |   76 ++++++++++++-------------\n lib/librte_pmd_i40e/i40e_pf.c        |    3 +-\n lib/librte_pmd_i40e/i40e_rxtx.c      |   54 +++++++++---------\n 4 files changed, 113 insertions(+), 121 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c\nindex af2e1cb..aadb548 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\t\t\"as address is NULL\\n\");\n+\t\t\t     \"as address is NULL\\n\");\n \t\treturn -ENODEV;\n \t}\n \n@@ -406,13 +406,12 @@ 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 \"\n-\t\t\t\"%02d.%02d.%02d eetrack %04x\\n\",\n-\t\t\thw->aq.fw_maj_ver, hw->aq.fw_min_ver,\n-\t\t\thw->aq.api_maj_ver, hw->aq.api_min_ver,\n-\t\t\t((hw->nvm.version >> 12) & 0xf),\n-\t\t\t((hw->nvm.version >> 4) & 0xff),\n-\t\t\t(hw->nvm.version & 0xf), hw->nvm.eetrack);\n+\tPMD_INIT_LOG(INFO, \"FW %d.%d API %d.%d NVM %02d.%02d.%02d eetrack %04x\\n\",\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+\t\t     ((hw->nvm.version >> 4) & 0xff),\n+\t\t     (hw->nvm.version & 0xf), hw->nvm.eetrack);\n \n \t/* Disable LLDP */\n \tret = i40e_aq_stop_lldp(hw, true, NULL);\n@@ -764,8 +763,8 @@ i40e_dev_start(struct rte_eth_dev *dev)\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\t\t\tdev->data->dev_conf.link_duplex,\n-\t\t\t\tdev->data->port_id);\n+\t\t\t     dev->data->dev_conf.link_duplex,\n+\t\t\t     dev->data->port_id);\n \t\treturn -EINVAL;\n \t}\n \n@@ -1844,21 +1843,22 @@ i40e_pf_parameter_init(struct rte_eth_dev *dev)\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\", dev->pci_dev->max_vfs,\n-\t\t\t\t\t\thw->func_caps.num_vfs);\n+\t\t\t\t     \"max supported %u.\\n\",\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\", pf->vf_nb_qps,\n-\t\t\t\t\t\tI40E_MAX_QP_NUM_PER_VF);\n+\t\t\t\t     \"max support %u queues.\\n\",\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\t\t\t\t\tpf->vf_num, pf->vf_nb_qps);\n+\t\t\t     pf->vf_num, pf->vf_nb_qps);\n \t} else\n \t\tpf->vf_num = 0;\n \n@@ -1883,16 +1883,17 @@ i40e_pf_parameter_init(struct rte_eth_dev *dev)\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\t\t\tpf->max_num_vsi, sum_vsis);\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\t\t\thw->func_caps.num_rx_qp, sum_queues);\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 \tif (sum_vsis > hw->func_caps.num_msix_vectors - 1) {\n-\t\tPMD_INIT_LOG(ERR, \"Too many VSIs(%u), MSIX intr(%u) not enough\\n\",\n-\t\t\t\tsum_vsis, hw->func_caps.num_msix_vectors);\n+\t\tPMD_INIT_LOG(ERR, \"Too many VSIs(%u), \"\n+\t\t\t     \"MSIX intr(%u) not enough\\n\",\n+\t\t\t     sum_vsis, hw->func_caps.num_msix_vectors);\n \t\treturn -EINVAL;\n \t}\n \treturn I40E_SUCCESS;\n@@ -1952,8 +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 \"\n-\t\t\t\t\t\t\"resource pool\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"Failed to allocate memory for resource pool\\n\");\n \t\treturn -ENOMEM;\n \t}\n \n@@ -2097,7 +2097,7 @@ i40e_res_pool_alloc(struct i40e_res_pool_info *pool,\n \n \tif (pool->num_free < num) {\n \t\tPMD_DRV_LOG(ERR, \"No resource. ask:%u, available:%u\\n\",\n-\t\t\t\tnum, pool->num_free);\n+\t\t\t    num, pool->num_free);\n \t\treturn -ENOMEM;\n \t}\n \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\t\"resource pool\\n\");\n+\t\t\t\t    \"resource pool\\n\");\n \t\t\treturn -ENOMEM;\n \t\t}\n \t\tentry->base = valid_entry->base;\n@@ -2170,15 +2170,14 @@ 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, \"\n-\t\t\t\t\"only TC0 is supported\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"DCB is not enabled, only TC0 is supported\\n\");\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\t\t\t\tenabled_tcmap);\n+\t\t\t    \"HW support 0x%x\\n\", hw->func_caps.enabled_tcmap,\n+\t\t\t    enabled_tcmap);\n \t\treturn -EINVAL;\n \t}\n \treturn I40E_SUCCESS;\n@@ -2357,7 +2356,7 @@ 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\");\n \t\treturn NULL;\n \t}\n \thw = I40E_PF_TO_HW(pf);\n@@ -2377,7 +2376,7 @@ i40e_veb_setup(struct i40e_pf *pf, struct i40e_vsi *vsi)\n \n \tif (ret != I40E_SUCCESS) {\n \t\tPMD_DRV_LOG(ERR, \"Add veb failed, aq_err: %d\\n\",\n-\t\t\t\t\thw->aq.asq_last_status);\n+\t\t\t    hw->aq.asq_last_status);\n \t\tgoto fail;\n \t}\n \n@@ -2386,7 +2385,7 @@ i40e_veb_setup(struct i40e_pf *pf, struct i40e_vsi *vsi)\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\t\t\t\t\thw->aq.asq_last_status);\n+\t\t\t    hw->aq.asq_last_status);\n \t\tgoto fail;\n \t}\n \n@@ -2473,7 +2472,7 @@ 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\t\t\t\"macvlan filter\\n\");\n+\t\t\t    \"macvlan filter\\n\");\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@@ -2503,8 +2502,8 @@ 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 \"\n-\t\t\t\"configuration %u\\n\", hw->aq.asq_last_status);\n+\t\tPMD_DRV_LOG(ERR, \"VSI failed to get bandwidth configuration %u\\n\",\n+\t\t\t    hw->aq.asq_last_status);\n \t\treturn ret;\n \t}\n \n@@ -2513,7 +2512,7 @@ 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\\n\", hw->aq.asq_last_status);\n \t\treturn ret;\n \t}\n \n@@ -2522,12 +2521,12 @@ i40e_vsi_dump_bw_config(struct i40e_vsi *vsi)\n \tPMD_DRV_LOG(INFO, \"VSI max_bw:%u\\n\", 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\t\t\t\tets_sla_config.share_credits[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\t\trte_le_to_cpu_16(ets_sla_config.credits[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\trte_le_to_cpu_16(ets_sla_config.credits[i / 4]) >>\n-\t\t\t\t\t\t\t\t(i * 4));\n+\t\t\t    rte_le_to_cpu_16(ets_sla_config.credits[i / 4]) >>\n+\t\t\t    (i * 4));\n \t}\n \n \treturn 0;\n@@ -2549,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\");\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\t\"uplink VSI should be NULL\\n\");\n+\t\t\t    \"uplink VSI should be NULL\\n\");\n \t\treturn NULL;\n \t}\n \n@@ -2656,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\t\"TC queue mapping\\n\");\n+\t\t\t\t    \"TC queue mapping\\n\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \t\tctxt.seid = vsi->seid;\n@@ -2719,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\t\"TC queue mapping\\n\");\n+\t\t\t\t    \"TC queue mapping\\n\");\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \t\tctxt.info.up_enable_bits = I40E_DEFAULT_TCMAP;\n@@ -2739,7 +2738,7 @@ i40e_vsi_setup(struct i40e_pf *pf,\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\t\t hw->aq.asq_last_status);\n+\t\t\t\t    hw->aq.asq_last_status);\n \t\t\tgoto fail_msix_alloc;\n \t\t}\n \t\tmemcpy(&vsi->info, &ctxt.info, sizeof(ctxt.info));\n@@ -2807,7 +2806,7 @@ i40e_vsi_config_vlan_stripping(struct i40e_vsi *vsi, bool on)\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\t\t\t\t\ton ? \"enable\" : \"disable\");\n+\t\t\t    on ? \"enable\" : \"disable\");\n \n \treturn ret;\n }\n@@ -2997,7 +2996,7 @@ i40e_switch_tx_queue(struct i40e_hw *hw, uint16_t q_idx, bool on)\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\t\t(on ? \"enable\" : \"disable\"), q_idx);\n+\t\t\t    (on ? \"enable\" : \"disable\"), q_idx);\n \t\treturn I40E_ERR_TIMEOUT;\n \t}\n \n@@ -3076,7 +3075,7 @@ i40e_switch_rx_queue(struct i40e_hw *hw, uint16_t q_idx, bool on)\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\t\t(on ? \"enable\" : \"disable\"), q_idx);\n+\t\t\t    (on ? \"enable\" : \"disable\"), q_idx);\n \t\treturn I40E_ERR_TIMEOUT;\n \t}\n \n@@ -3168,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\t\"initialization\\n\");\n+\t\t\t\t    \"initialization\\n\");\n \t\t\tbreak;\n \t\t}\n \t}\n@@ -3351,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\\n\", hw->aq.asq_last_status);\n \t\t\tbreak;\n \t\t}\n \t\topcode = rte_le_to_cpu_16(info.desc.opcode);\n@@ -3368,7 +3367,7 @@ i40e_dev_handle_aq_msg(struct rte_eth_dev *dev)\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tPMD_DRV_LOG(ERR, \"Request %u is not supported yet\\n\",\n-\t\t\t\topcode);\n+\t\t\t\t    opcode);\n \t\t\tbreak;\n \t\t}\n \t\t/* Reset the buffer after processing one */\n@@ -3405,7 +3404,7 @@ 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\\n\", hw->pf_id);\n \t\tgoto done;\n \t}\n \n@@ -3626,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\t\"not match\\n\");\n+\t\t\t\t\t\t\t    \"not match\\n\");\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,\ndiff --git a/lib/librte_pmd_i40e/i40e_ethdev_vf.c b/lib/librte_pmd_i40e/i40e_ethdev_vf.c\nindex ed62668..17009bd 100644\n--- a/lib/librte_pmd_i40e/i40e_ethdev_vf.c\n+++ b/lib/librte_pmd_i40e/i40e_ethdev_vf.c\n@@ -206,7 +206,7 @@ i40evf_parse_pfmsg(struct i40e_vf *vf,\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\t\t\tvf->link_up ? \"up\" : \"down\");\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@@ -219,9 +219,8 @@ i40evf_parse_pfmsg(struct i40e_vf *vf,\n \t\t\tPMD_DRV_LOG(INFO, \"PF driver closed\\n\");\n \t\t\tbreak;\n \t\tdefault:\n-\t\t\tPMD_DRV_LOG(ERR,\n-\t\t\t\t\"%s: Unknown event %d from pf\\n\",\n-\t\t\t\t__func__, vpe->event);\n+\t\t\tPMD_DRV_LOG(ERR, \"%s: Unknown event %d from pf\\n\",\n+\t\t\t\t    __func__, vpe->event);\n \t\t}\n \t} else {\n \t\t/* async reply msg on command issued by vf previously */\n@@ -351,7 +350,7 @@ i40evf_execute_vf_cmd(struct rte_eth_dev *dev, struct vf_cmd_info *args)\n \t\tPMD_DRV_LOG(ERR, \"Failed to read message from AdminQ\\n\");\n \telse if (args->ops != info.ops)\n \t\tPMD_DRV_LOG(ERR, \"command mismatch, expect %u, get %u\\n\",\n-\t\t\t\targs->ops, info.ops);\n+\t\t\t    args->ops, info.ops);\n \n \treturn (err | info.result);\n }\n@@ -392,8 +391,8 @@ i40evf_check_api_version(struct rte_eth_dev *dev)\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\t\tversion.major, version.minor);\n+\t\t\t     \"(%u.%u)-(%u.%u)\\n\", pver->major, pver->minor,\n+\t\t\t     version.major, version.minor);\n \t\treturn -1;\n \t}\n \n@@ -418,8 +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 \"\n-\t\t\t\t\t\"OP_GET_VF_RESOURCE\\n\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to execute command OP_GET_VF_RESOURCE\\n\");\n \t\treturn err;\n \t}\n \n@@ -462,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\t\"CONFIG_PROMISCUOUS_MODE\\n\");\n+\t\t\t    \"CONFIG_PROMISCUOUS_MODE\\n\");\n \treturn err;\n }\n \n@@ -595,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\t\"OP_CONFIG_VSI_QUEUES\\n\");\n+\t\t\t    \"OP_CONFIG_VSI_QUEUES\\n\");\n \trte_free(queue_info);\n \n \treturn err;\n@@ -661,8 +659,8 @@ 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\", isrx ? \"RX\" : \"TX\",\n-\t\t\tqid, on ? \"on\" : \"off\");\n+\t\tPMD_DRV_LOG(ERR, \"fail to switch %s %u %s\\n\",\n+\t\t\t    isrx ? \"RX\" : \"TX\", qid, on ? \"on\" : \"off\");\n \n \treturn err;\n }\n@@ -680,8 +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\",\n-\t\t\t\ti);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -691,8 +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\",\n-\t\t\t\ti);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -708,8 +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\",\n-\t\t\t\ti);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -717,8 +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\",\n-\t\t\t\ti);\n+\t\t\tPMD_DRV_LOG(ERR, \"Fail to start queue %u\\n\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n@@ -738,9 +732,9 @@ i40evf_add_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\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\t\taddr->addr_bytes[0], addr->addr_bytes[1],\n-\t\t\taddr->addr_bytes[2], addr->addr_bytes[3],\n-\t\t\taddr->addr_bytes[4], addr->addr_bytes[5]);\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 \t\treturn -1;\n \t}\n \n@@ -758,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\t\"OP_ADD_ETHER_ADDRESS\\n\");\n+\t\t\t    \"OP_ADD_ETHER_ADDRESS\\n\");\n \n \treturn err;\n }\n@@ -775,9 +769,9 @@ i40evf_del_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\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\t\taddr->addr_bytes[0], addr->addr_bytes[1],\n-\t\t\taddr->addr_bytes[2], addr->addr_bytes[3],\n-\t\t\taddr->addr_bytes[4], addr->addr_bytes[5]);\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 \t\treturn -1;\n \t}\n \n@@ -795,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\t\"OP_DEL_ETHER_ADDRESS\\n\");\n+\t\t\t    \"OP_DEL_ETHER_ADDRESS\\n\");\n \n \treturn err;\n }\n@@ -1244,7 +1238,7 @@ i40evf_dev_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \n \t\tif (err)\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\\n\",\n-\t\t\t\trx_queue_id);\n+\t\t\t\t    rx_queue_id);\n \t}\n \n \treturn err;\n@@ -1263,7 +1257,7 @@ i40evf_dev_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \n \t\tif (err) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\\n\",\n-\t\t\t\trx_queue_id);\n+\t\t\t\t    rx_queue_id);\n \t\t\treturn err;\n \t\t}\n \n@@ -1288,7 +1282,7 @@ i40evf_dev_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \n \t\tif (err)\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u on\\n\",\n-\t\t\t\ttx_queue_id);\n+\t\t\t\t    tx_queue_id);\n \t}\n \n \treturn err;\n@@ -1307,7 +1301,7 @@ i40evf_dev_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \n \t\tif (err) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u of\\n\",\n-\t\t\t\ttx_queue_id);\n+\t\t\t\t    tx_queue_id);\n \t\t\treturn err;\n \t\t}\n \n@@ -1391,20 +1385,20 @@ i40evf_dev_start(struct rte_eth_dev *dev)\n \t\tif (vf->max_pkt_len <= ETHER_MAX_LEN ||\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\t\"as jumbo frame is enabled\\n\",\n-\t\t\t\t\t\t(uint32_t)ETHER_MAX_LEN,\n-\t\t\t\t\t(uint32_t)I40E_FRAME_SIZE_MAX);\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    (uint32_t)ETHER_MAX_LEN,\n+\t\t\t\t    (uint32_t)I40E_FRAME_SIZE_MAX);\n \t\t\treturn I40E_ERR_CONFIG;\n \t\t}\n \t} else {\n \t\tif (vf->max_pkt_len < ETHER_MIN_LEN ||\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\t\"larger than %u and smaller than %u, \"\n-\t\t\t\t\t\"as jumbo frame is disabled\\n\",\n-\t\t\t\t\t\t(uint32_t)ETHER_MIN_LEN,\n-\t\t\t\t\t\t(uint32_t)ETHER_MAX_LEN);\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    (uint32_t)ETHER_MIN_LEN,\n+\t\t\t\t    (uint32_t)ETHER_MAX_LEN);\n \t\t\treturn I40E_ERR_CONFIG;\n \t\t}\n \t}\ndiff --git a/lib/librte_pmd_i40e/i40e_pf.c b/lib/librte_pmd_i40e/i40e_pf.c\nindex 4e1e043..ed9773a 100644\n--- a/lib/librte_pmd_i40e/i40e_pf.c\n+++ b/lib/librte_pmd_i40e/i40e_pf.c\n@@ -930,8 +930,7 @@ i40e_pf_host_handle_vf_msg(struct rte_eth_dev *dev,\n \tcase I40E_VIRTCHNL_OP_FCOE:\n \t\tPMD_DRV_LOG(ERR, \"OP_FCOE received, not supported\\n\");\n \tdefault:\n-\t\tPMD_DRV_LOG(ERR, \"%u received, not supported\\n\",\n-\t\t\t\t\t\t\topcode);\n+\t\tPMD_DRV_LOG(ERR, \"%u received, not supported\\n\", 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 70e2bd4..99a6572 100644\n--- a/lib/librte_pmd_i40e/i40e_rxtx.c\n+++ b/lib/librte_pmd_i40e/i40e_rxtx.c\n@@ -728,8 +728,8 @@ 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\t\"port_id=%u, queue_id=%u\\n\",\n-\t\t\t\t\trxq->port_id, rxq->queue_id);\n+\t\t\t\t   \"port_id=%u, queue_id=%u\\n\",\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 \t\t\tfor (i = 0, j = rxq->rx_tail; i < nb_rx; i++, j++)\n@@ -1453,7 +1453,7 @@ i40e_dev_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \n \t\tif (err) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\\n\",\n-\t\t\t\trx_queue_id);\n+\t\t\t\t    rx_queue_id);\n \n \t\t\ti40e_rx_queue_release_mbufs(rxq);\n \t\t\ti40e_reset_rx_queue(rxq);\n@@ -1479,7 +1479,7 @@ i40e_dev_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \n \t\tif (err) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\\n\",\n-\t\t\t\trx_queue_id);\n+\t\t\t\t    rx_queue_id);\n \t\t\treturn err;\n \t\t}\n \t\ti40e_rx_queue_release_mbufs(rxq);\n@@ -1503,7 +1503,7 @@ i40e_dev_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)\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\t\ttx_queue_id);\n+\t\t\t\t    tx_queue_id);\n \t}\n \n \treturn err;\n@@ -1525,7 +1525,7 @@ i40e_dev_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \n \t\tif (err) {\n \t\t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u of\\n\",\n-\t\t\t\ttx_queue_id);\n+\t\t\t\t    tx_queue_id);\n \t\t\treturn err;\n \t\t}\n \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\t\"index exceeds the maximum\\n\");\n+\t\t\t    \"index exceeds the maximum\\n\");\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\t\t\t\"invalid\\n\", nb_desc);\n+\t\t\t    \"invalid\\n\", 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\t\t\"rx queue data structure\\n\");\n+\t\t\t    \"rx queue data structure\\n\");\n \t\treturn (-ENOMEM);\n \t}\n \trxq->mp = mp;\n@@ -1644,17 +1644,17 @@ i40e_dev_rx_queue_setup(struct rte_eth_dev *dev,\n \tif (!use_def_burst_func && !dev->data->scattered_rx) {\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\t\t\"used on port=%d, queue=%d.\\n\",\n-\t\t\t\t\trxq->port_id, rxq->queue_id);\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     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 \t} else {\n \t\tPMD_INIT_LOG(DEBUG, \"Rx Burst Bulk Alloc Preconditions are \"\n-\t\t\t\t\"not satisfied, Scattered Rx is requested, \"\n-\t\t\t\t\"or RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC is \"\n-\t\t\t\t\t\"not enabled on port=%d, queue=%d.\\n\",\n-\t\t\t\t\t\trxq->port_id, rxq->queue_id);\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     rxq->port_id, rxq->queue_id);\n \t}\n \n \treturn 0;\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\t\"exceeds the maximum\\n\", queue_idx);\n+\t\t\t    \"exceeds the maximum\\n\", 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-                                                \"invalid\\n\", nb_desc);\n+\t\t\t    \"invalid\\n\", 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\t\t\"tx queue structure\\n\");\n+\t\t\t    \"tx queue structure\\n\");\n \t\treturn (-ENOMEM);\n \t}\n \n@@ -2192,20 +2192,20 @@ i40e_rx_queue_config(struct i40e_rx_queue *rxq)\n \t\tif (rxq->max_pkt_len <= ETHER_MAX_LEN ||\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\t\"as jumbo frame is enabled\\n\",\n-\t\t\t\t\t\t(uint32_t)ETHER_MAX_LEN,\n-\t\t\t\t\t(uint32_t)I40E_FRAME_SIZE_MAX);\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    (uint32_t)ETHER_MAX_LEN,\n+\t\t\t\t    (uint32_t)I40E_FRAME_SIZE_MAX);\n \t\t\treturn I40E_ERR_CONFIG;\n \t\t}\n \t} else {\n \t\tif (rxq->max_pkt_len < ETHER_MIN_LEN ||\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\t\"larger than %u and smaller than %u, \"\n-\t\t\t\t\t\"as jumbo frame is disabled\\n\",\n-\t\t\t\t\t\t(uint32_t)ETHER_MIN_LEN,\n-\t\t\t\t\t\t(uint32_t)ETHER_MAX_LEN);\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    (uint32_t)ETHER_MIN_LEN,\n+\t\t\t\t    (uint32_t)ETHER_MAX_LEN);\n \t\t\treturn I40E_ERR_CONFIG;\n \t\t}\n \t}\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "10/20"
    ]
}