From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 71D1D727A for ; Tue, 23 Jan 2018 09:23:51 +0100 (CET) Received: by mail-wr0-f169.google.com with SMTP id d9so11497520wre.3 for ; Tue, 23 Jan 2018 00:23:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Fpz+kh/mQxevOCUY+Vpy0674AsWZgVS/Z4nM6eQL5c8=; b=NxkOCUmr6195QaFAqUyevpb5Jp0/Q3a/mhjVOMU0fqjGJvilIcScedOeVMl+cJ5Cyd pySahLp23C1TGpWoOROFzDaPD2As6pnfMiIUl7sF5ZXdtwnovs3irC8Ekz8865jQ+Lx7 wneA4J8g/rewOh6uM/NVuEK/QmZU0P8vLSN8cMuWlpLq2AEDgsShjpOzksPLlgt0VEI0 gNf6lPTm3grYOp/tRigQoTcaH8KqDTiTLvYzQbLqnagl9UJVV0dCXDamhrOht5rfWgoJ SeaFzlFUQNPdNcrV7/KTfV+RFqBCCsY5urb7kpIJpqnG2+tA5KNmueCThEt8xx+xgAfu 6i4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Fpz+kh/mQxevOCUY+Vpy0674AsWZgVS/Z4nM6eQL5c8=; b=ted/3DHi4GerEU3MKG3clfaDalCHa//HQDTmUV4SfzQ8kZhHcBYGCBbatSwP5vM79f fa3PetGTpt1E2Sz3FH4LkTJX0GtVjzQ7BaZ94P+MZ0hETMy6TgfRwyhbqPTfmn6e2co0 kEHQj5r4zz0G7LM8EAxbIbOzWZJDKGUoHm1epYhLaWCC9UgIIey23/GYqhIqaH2/oPMH wRvK0BjlHzxKxUX497iooM0UkvXNEegK3xFztbtwgy1rPSj6RGzXLLIKnwbUGiRUtyCH NKfZHT68G73VjGhPcgRGncSKZ3O2Adz5jMjorMvLCVzE8aNnL+cIVPB67dvGQVxbkoy6 khAA== X-Gm-Message-State: AKwxytchCy547PGxy3F3cV8lTBJXeMzHL0ACarKT6eMzawUI/Q10fmEV s/L7w1x/4JgACX/l1kf1ur6YCCPJtQ== X-Google-Smtp-Source: AH8x22683npYlF25MGu0H+exfi5YbZ+5Z57YkHvwN+KNutYV691ARjQ+BXy+//4RJAjz/wktor02jg== X-Received: by 10.223.191.15 with SMTP id p15mr1419526wrh.76.1516695831200; Tue, 23 Jan 2018 00:23:51 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id z39sm14744368wrz.20.2018.01.23.00.23.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2018 00:23:50 -0800 (PST) Date: Tue, 23 Jan 2018 09:23:48 +0100 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Yuanhan Liu Cc: dev@dpdk.org, Adrien Mazarguil , Yongseok Koh Message-ID: <20180123082348.btfz5hbk72aitosk@laranjeiro-vm.dev.6wind.com> References: <1516613406-21257-1-git-send-email-yliu@fridaylinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1516613406-21257-1-git-send-email-yliu@fridaylinux.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] net/mlx5: use PCI BDF as the port name 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: Tue, 23 Jan 2018 08:23:51 -0000 Hi Yuanhan, On Mon, Jan 22, 2018 at 05:30:06PM +0800, Yuanhan Liu wrote: > It is suggested to use PCI BDF to identify a port for port addition > in OVS-DPDK. While mlx5 has its own naming style: name it by ib dev > name. This breaks the typical OVS DPDK use case and brings more puzzle > to the end users. > > To fix it, this patch changes it to use PCI BDF as the name, too. > Also, a postfix " port %u" is added, just in case their might be more > than 1 port assoicated with a PCI device. Seems only ixgbe, sfc, szedata2 use it whereas ark, bnxt, mlx4, mlx5, mrvl, softnic don't. Why not addressing all drivers at once? > Signed-off-by: Yuanhan Liu Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND