From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <kamilx.chalupnik@intel.com> Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7DDFE2C72 for <dev@dpdk.org>; Thu, 24 May 2018 11:20:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 May 2018 02:20:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,436,1520924400"; d="scan'208";a="58086530" Received: from kchalupx-mobl.ger.corp.intel.com ([10.103.104.151]) by fmsmga001.fm.intel.com with ESMTP; 24 May 2018 02:20:42 -0700 From: Kamil Chalupnik <kamilx.chalupnik@intel.com> To: dev@dpdk.org Cc: amr.mokhtar@intel.com, pablo.de.lara.guarch@intel.com, Kamil Chalupnik <kamilx.chalupnik@intel.com> Date: Thu, 24 May 2018 11:20:17 +0200 Message-Id: <20180524092017.12464-1-kamilx.chalupnik@intel.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20180524074658.12848-1-kamilx.chalupnik@intel.com> References: <20180524074658.12848-1-kamilx.chalupnik@intel.com> Subject: [dpdk-dev] [PATCH v2] baseband/turbo_sw: internal buffers names changed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Thu, 24 May 2018 09:20:46 -0000 Internal buffers names have been shortened to meet ring names size requirements after device name changed. Signed-off-by: Kamil Chalupnik <kamilx.chalupnik@intel.com> --- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c index d3e5103..05e95ed 100644 --- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c +++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c @@ -227,7 +227,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id, } /* Allocate memory for encoder output. */ - ret = snprintf(name, RTE_RING_NAMESIZE, RTE_STR(DRIVER_NAME)"_enc_out%u:%u", + ret = snprintf(name, RTE_RING_NAMESIZE, RTE_STR(DRIVER_NAME)"_enc_o%u:%u", dev->data->dev_id, q_id); if ((ret < 0) || (ret >= (int)RTE_RING_NAMESIZE)) { rte_bbdev_log(ERR, @@ -247,7 +247,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id, /* Allocate memory for rate matching output. */ ret = snprintf(name, RTE_RING_NAMESIZE, - RTE_STR(DRIVER_NAME)"_enc_in%u:%u", dev->data->dev_id, + RTE_STR(DRIVER_NAME)"_enc_i%u:%u", dev->data->dev_id, q_id); if ((ret < 0) || (ret >= (int)RTE_RING_NAMESIZE)) { rte_bbdev_log(ERR, @@ -302,7 +302,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id, /* Allocate memory for Deinterleaver input. */ ret = snprintf(name, RTE_RING_NAMESIZE, - RTE_STR(DRIVER_NAME)"_deint_input%u:%u", + RTE_STR(DRIVER_NAME)"_de_i%u:%u", dev->data->dev_id, q_id); if ((ret < 0) || (ret >= (int)RTE_RING_NAMESIZE)) { rte_bbdev_log(ERR, @@ -321,7 +321,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id, /* Allocate memory for Deinterleaver output. */ ret = snprintf(name, RTE_RING_NAMESIZE, - RTE_STR(DRIVER_NAME)"_deint_output%u:%u", + RTE_STR(DRIVER_NAME)"_de_o%u:%u", dev->data->dev_id, q_id); if ((ret < 0) || (ret >= (int)RTE_RING_NAMESIZE)) { rte_bbdev_log(ERR, @@ -340,7 +340,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id, /* Allocate memory for Adapter output. */ ret = snprintf(name, RTE_RING_NAMESIZE, - RTE_STR(DRIVER_NAME)"_adapter_output%u:%u", + RTE_STR(DRIVER_NAME)"_ada_o%u:%u", dev->data->dev_id, q_id); if ((ret < 0) || (ret >= (int)RTE_RING_NAMESIZE)) { rte_bbdev_log(ERR, -- 2.5.5