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 6B3FC456E5; Mon, 29 Jul 2024 18:49:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B88C40DF8; Mon, 29 Jul 2024 18:49:01 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id DF51540A6D for ; Mon, 29 Jul 2024 18:48:59 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2ef1c12ae23so43777361fa.0 for ; Mon, 29 Jul 2024 09:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722271739; x=1722876539; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=iTY313t4zuUC+dMB3i95HOwAiANB+Z2ZDrhG+xKTnT4=; b=OsFQmineZtLVQ+8Bw/1b72zn+YtRcZq5GQOYSZKbz9j0HWEYlztWbUrAdX1T9+Yi+q yU12aRFTLEdwndoFXsAfSRHijyjaPatNjaro0SErRITrNm7t1JKvM2FP08uvWYRYpbeA X6LDgDQG+cl02Cjext+dEKNKpg5LmKY44qfeyzW+O8EdoCTblifPFMFn6J34LP/3tsDq bya5LxTJOfovhyS5CKF6vk1vS+lhzeab8t2Lk8jj3opM90uycXEg4iV5ki5HgFXsqdwG btyCqLy//UEXVbNHLQ7qE9wggbcx9/qtu4Vo9RszXUuZ8mKxw2XKGWTWnt0m8gdw/6Kn OkCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722271739; x=1722876539; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iTY313t4zuUC+dMB3i95HOwAiANB+Z2ZDrhG+xKTnT4=; b=lot1bCBaUBaCVnA2m6bW+xYFOG6VtBS1GLrzxO1TQNRyGRUCyUJ97uPn2e2sLkvbiV 26rwF31ogksympS4x/XDj30IT8FgPQF8LeAHYZpMD1nOBpiLUcSi0fAWBbLIx62LHnw4 oiMHXGZwNPpiH3cadHoc4aytpSYLtIM3HcHVpavvcQwOHIqGpR7P13Gy+r4KcXuTZlNf rFzKImAFgeO9nU6cb8nN0wVfwTyYHOrMrRWxD6Wf1EVFAuBaKqrDtUdwKnWKCv0CWjVn dekPMx+PgQjDqL0BIz7sgdnWjXS1EgDwcpnNvAK2UnFfnCDvfAnzRC7My+H20cMYwt+A RYzg== X-Gm-Message-State: AOJu0YxC7A89KhB3MNAp2OMWhC8cbNsJfYOhIBri2Nvqgs86GLwT36yB igcOBHvxj+AfJfSXFcM+evRYNQc3fvV+sWqqXVBlVNIxClzkBkWACtdWl1mCiLGCyD4OW5e9elh WaAoNvJlXagyb3rA6/VuGC/paaIsmHNw/ X-Google-Smtp-Source: AGHT+IHFBu6cTPtQ7cvKtL1zoq8jyO3i0LwkxXAiY/z66+eevIz7X8r4I4WvZf7Iff/w1UW8drAn3foNiEOSTs6tI8Y= X-Received: by 2002:a2e:94d0:0:b0:2ef:316e:8930 with SMTP id 38308e7fff4ca-2f12ee69261mr55070961fa.42.1722271738649; Mon, 29 Jul 2024 09:48:58 -0700 (PDT) MIME-Version: 1.0 From: Prashant Upadhyaya Date: Mon, 29 Jul 2024 22:18:46 +0530 Message-ID: Subject: Regarding port numbers assigned by DPDK for PCI devices To: dev@dpdk.org Content-Type: multipart/alternative; boundary="0000000000003067a7061e65a324" 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 --0000000000003067a7061e65a324 Content-Type: text/plain; charset="UTF-8" Hi, I have 4 ethernet interfaces available as PCI devices. The PCI addresses are known. When I start my DPDK application, it starts up properly and assigns the port numbers to them as 0, 1, 2, 3 expectedly. However, is there a way I can force that a particular PCI address should be identified as port 0 by DPDK, another one as port 1 and so forth ? Does passing the arguments like -a -a to rte_eal_init ensure that, or is there any other way, or is there no way ? I am on 24.03 Regards -Prashant --0000000000003067a7061e65a324 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have 4 ethernet interfaces availa= ble as PCI devices.
The PCI addresses are known.
When I= start my DPDK application, it starts up properly and assigns the port numb= ers to them as 0, 1, 2, 3 expectedly.

However, is = there a way I can force that a particular PCI address should be identified = as port 0 by DPDK, another one as port 1 and so forth ?
Does pass= ing the arguments like -a <address1> -a <address2> to rte_eal_i= nit ensure that, or is there any other way, or is there no way ?
=
I am on 24.03

Regards
-Pr= ashant

--0000000000003067a7061e65a324--