DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Pktgen port mapping error
@ 2021-04-02 16:36 Danushka Menikkumbura
  2021-04-02 17:24 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: Danushka Menikkumbura @ 2021-04-02 16:36 UTC (permalink / raw)
  To: users

Hello,

When I run pktget using the command line:

sudo pktgen -l 0-1 -n 3 -- -P -m 1.0

I get the following error:

PANIC in pktgen_main_rxtx_loop():

*** port 0 on socket ID 0 has different socket ID on lcore 1 socket ID 1

I have just one port on my machine. Please help me understand what I might
be missing here.

Thanks,
Danushka

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] Pktgen port mapping error
  2021-04-02 16:36 [dpdk-users] Pktgen port mapping error Danushka Menikkumbura
@ 2021-04-02 17:24 ` Wiles, Keith
  2021-04-02 17:44   ` Danushka Menikkumbura
  0 siblings, 1 reply; 3+ messages in thread
From: Wiles, Keith @ 2021-04-02 17:24 UTC (permalink / raw)
  To: Danushka Menikkumbura, users

You should pick a lcore that is on the same socket as the NIC (socket 0). It appears that lcore 1 is on socket 1. Please use the cpu_layout.py script in the DPDK tools directory to determine which lcores to use.

From: users <users-bounces@dpdk.org> on behalf of Danushka Menikkumbura <danushka.menikkumbura@gmail.com>
Date: Friday, April 2, 2021 at 11:37 AM
To: users@dpdk.org <users@dpdk.org>
Subject: [dpdk-users] Pktgen port mapping error
Hello,

When I run pktget using the command line:

sudo pktgen -l 0-1 -n 3 -- -P -m 1.0

I get the following error:

PANIC in pktgen_main_rxtx_loop():

*** port 0 on socket ID 0 has different socket ID on lcore 1 socket ID 1

I have just one port on my machine. Please help me understand what I might
be missing here.

Thanks,
Danushka

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] Pktgen port mapping error
  2021-04-02 17:24 ` Wiles, Keith
@ 2021-04-02 17:44   ` Danushka Menikkumbura
  0 siblings, 0 replies; 3+ messages in thread
From: Danushka Menikkumbura @ 2021-04-02 17:44 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

Perfect! That solved the problem.

Thanks,
Danushka

On Fri, Apr 2, 2021 at 1:24 PM Wiles, Keith <keith.wiles@intel.com> wrote:

> You should pick a lcore that is on the same socket as the NIC (socket 0).
> It appears that lcore 1 is on socket 1. Please use the cpu_layout.py script
> in the DPDK tools directory to determine which lcores to use.
>
>
>
> *From: *users <users-bounces@dpdk.org> on behalf of Danushka Menikkumbura
> <danushka.menikkumbura@gmail.com>
> *Date: *Friday, April 2, 2021 at 11:37 AM
> *To: *users@dpdk.org <users@dpdk.org>
> *Subject: *[dpdk-users] Pktgen port mapping error
>
> Hello,
>
> When I run pktget using the command line:
>
> sudo pktgen -l 0-1 -n 3 -- -P -m 1.0
>
> I get the following error:
>
> PANIC in pktgen_main_rxtx_loop():
>
> *** port 0 on socket ID 0 has different socket ID on lcore 1 socket ID 1
>
> I have just one port on my machine. Please help me understand what I might
> be missing here.
>
> Thanks,
> Danushka
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-02 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 16:36 [dpdk-users] Pktgen port mapping error Danushka Menikkumbura
2021-04-02 17:24 ` Wiles, Keith
2021-04-02 17:44   ` Danushka Menikkumbura

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git