[dpdk-dev] Error while running basic forward sample application

Bruce Richardson bruce.richardson at intel.com
Thu Apr 16 16:38:04 CEST 2020


On Thu, Apr 16, 2020 at 05:19:34PM +0530, Sahil Khandelwal wrote:
> I am trying to run the basic forwarding sample application with following
> arguments
> 
> sudo ./build/basicfwd -l 1 -n 4
> 
> The error says number of ports must be even
> 
> By ports does it mean by number of nic in my system?

In many cases, yes. However, some some nics have multiple ports/interfaces on
them. Testpmd, and some other sample apps, don't have this restriction -
the basicfwd app does just to keep the code as short and as simple as
possible.

/Bruce


More information about the dev mailing list