From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 037A37CE7 for ; Fri, 24 Aug 2018 18:46:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2018 09:46:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,283,1531810800"; d="scan'208";a="67618926" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.237.221.56]) ([10.237.221.56]) by orsmga007.jf.intel.com with ESMTP; 24 Aug 2018 09:46:21 -0700 To: Tomasz Duszynski , dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com, Liron Himi References: <1535113006-9393-1-git-send-email-tdu@semihalf.com> <1535122494-30249-1-git-send-email-tdu@semihalf.com> <1535122494-30249-3-git-send-email-tdu@semihalf.com> From: Ferruh Yigit Openpgp: preference=signencrypt Message-ID: <1d3a475c-1111-1ccc-d365-bfce148fc8f8@intel.com> Date: Fri, 24 Aug 2018 17:46:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1535122494-30249-3-git-send-email-tdu@semihalf.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 2/6] net/mvpp2: use common code to initialize DMA X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 16:46:25 -0000 On 8/24/2018 3:54 PM, Tomasz Duszynski wrote: > From: Liron Himi > > Use common code to initialize MUSDK DMA memory buffers. > > Signed-off-by: Liron Himi > Reviewed-by: Natalie Samsonov <...> > @@ -2653,24 +2651,17 @@ rte_pmd_mrvl_probe(struct rte_vdev_device *vdev) > if (mrvl_dev_num) > goto init_devices; > > - MRVL_LOG(INFO, "Perform MUSDK initializations"); > - /* > - * ret == -EEXIST is correct, it means DMA > - * has been already initialized (by another PMD). > - */ > - ret = mv_sys_dma_mem_init(MRVL_MUSDK_DMA_MEMSIZE); > - if (ret < 0) { > - if (ret != -EEXIST) > - goto out_free_kvlist; > - else > - MRVL_LOG(INFO, > - "DMA memory has been already initialized by a different driver."); > - } > + MRVL_LOG(INFO, "Perform MUSDK initializations\n"); MRVL_LOG already adding "\n", no need to change original log, a few more below.