On Thu, Jul 20, 2023 at 9:22 PM Rakesh Kudurumalla
<[email protected]> wrote:
>
>
>
> > -----Original Message-----
> > From: Vamsi Krishna Attunuru <[email protected]>
> > Sent: Thursday, June 1, 2023 8:14 AM
> > To: Jerin Jacob <[email protected]>
> > Cc: Yan, Zhirun <[email protected]>; [email protected];
> > [email protected]; Jerin Jacob Kollanukkaran <[email protected]>;
> > Nithin Kumar Dabilpuram <[email protected]>; Liang, Cunming
> > <[email protected]>; Wang, Haiyue <[email protected]>; Sunil
> > Kumar Kori <[email protected]>
> > Subject: RE: [EXT] Re: [PATCH v2 4/4] app: add testgraph application
> >

>
>
> Example use case: l3fwd
> ================
> ;Configure usecase
> graph l3fwd default 0xff
>
> ;global specific configuration
> mempool mempool0 size 2046 buffers 32000 cache 256 cpu 0
> ethdev 0002:02:00.0 rxq 1 txq 1 mempool0 promiscuous off
> ethdev 0002:03:00.0 rxq 1 txq 1 mempool0 promiscuous off
> ip4 addr add 10.0.2.1/24 0002:02:00.0
> ip4 addr add 10.0.3.1/24 0002:03:00.0
> neigh add ipv4 10.0.2.2 52:20:DA:4F:68:70
> neigh add ipv4 10.0.2.5 62:20:DA:4F:68:70
> neigh add ipv4 10.0.3.2 72:20:DA:4F:68:70
> neigh add ipv4 10.0.3.5 82:20:DA:4F:68:70
>
> ;node specific configuration
> route add ipv4 ipv4_lookup 10.0.2.0 netmask 255.255.255.0 via 10.0.2.1
> route add ipv4 ipv4_lookup  10.0.3.0 netmask 255.255.255.0 via 10.0.3.1

I prefer to use node name first.

>
>
> map ethdev_rx  port 0002:02:00.0 queue 0 core 6
> map ethdev_rx  port 0002:03:00.0 queue 1 core 5

I prefer to use node name first.

Rest looks good to me.

>
> ;Run usecase
> graph start

Reply via email to