From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3AE8AA00C5; Tue, 15 Feb 2022 13:21:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09AF8410F3; Tue, 15 Feb 2022 13:21:58 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 591E440E78 for ; Tue, 15 Feb 2022 13:21:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644927716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4kZmLnLFmhPRPlQoEk0lL0bj5/PN2DhAaWDOwk4y+gU=; b=MWbZW7aqPGKPXA13H+9aJePVR9O7I/QyswHBXiIQBaufNDsXV4EVBMXWX3B1JVH7UqPMlg t5b1wqO8q5sANnXOJvY+Je2q/oVZiEnytgiUvKLsED5MBjjGPpS+vY8preDbP8FMXra/Ay EEYF3zUUkLrXz7TpPIyHnkIPv4/6lHA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-544-xCT8nm8UPWOOfUr9zz_DzQ-1; Tue, 15 Feb 2022 07:21:53 -0500 X-MC-Unique: xCT8nm8UPWOOfUr9zz_DzQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A3314835B4B; Tue, 15 Feb 2022 12:21:52 +0000 (UTC) Received: from [10.39.208.17] (unknown [10.39.208.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4ACD74D709; Tue, 15 Feb 2022 12:21:51 +0000 (UTC) Message-ID: <013e2e2f-ce11-12f4-7ace-40792658ed37@redhat.com> Date: Tue, 15 Feb 2022 13:21:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3] vdpa/sfc: make MCDI memzone name unique To: abhimanyu.saini@xilinx.com, dev@dpdk.org Cc: chenbo.xia@intel.com, andrew.rybchenko@oktetlabs.ru, Abhimanyu Saini References: <20220117112906.23823-1-asaini@xilinx.com> <20220214105148.18414-1-asaini@xilinx.com> From: Maxime Coquelin In-Reply-To: <20220214105148.18414-1-asaini@xilinx.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 2/14/22 11:51, abhimanyu.saini@xilinx.com wrote: > From: Abhimanyu Saini > > Buffer for MCDI channel is allocated using rte_memzone_reserve_aligned > with zone name 'mcdi'. Since multiple MCDI channels are needed to > support multiple VF(s) and rte_memzone_reserve_aligned expects unique > zone names, append PCI address to zone name to make it unique. > > Signed-off-by: Abhimanyu Saini > --- > v2: > - Formatting changes > v3: > - Formatting changes > > drivers/vdpa/sfc/sfc_vdpa_hw.c | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime