From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: l3fwd error, port 0 is not present on the board Date: Tue, 06 Jan 2015 10:02:25 +0100 Message-ID: <1613023.VipzgMKAkl@xps13> References: <20150101040032.GA11645@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Lyn M Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-01-02 09:07, Lyn M: > In my original post, I thought my choice of hex portmask -p 0x3 was causing > this issue -- now I know that was not the case. But, I am still curious > about how the hex portmask is determined. Since I only have two ports > bound to igb_uio, my hex postmask will always be 0x3? What if I choose to > bind other ports to igb_uio? Is there a Linux command I can run to > determine what mask to use with the -p option? That's something which could be done. Port numbering is defined by probing order. Does a tool showing the (dry-run) probed devices, their number and mask, would help you? By the way, you are welcome to try developing it. -- Thomas