Hi Kevin,
If you only need access to this linked list for iterating through it, you can
add a new function: struct link *link_next(struct link *) that gets you the
next element in the list (for first element, invoke with link = NULL; at and of
list, it returns NULL). Makes sense?
Are there oth
Hi Cristian,
> > +
> > + link_list = links_get();
>
> We don't need this function, the lined list of links is a global public
> object,
> please access it directly.
link_list is declared as a static struct in link.c so it is not accessible from
cli.c
I can either leave this function in to p
> -Original Message-
> From: Laatz, Kevin
> Sent: Friday, June 8, 2018 5:31 PM
> To: dev@dpdk.org
> Cc: Dumitrescu, Cristian ; Singh, Jasvinder
> ; Laatz, Kevin
> Subject: [PATCH] examples/ip_pipeline: add link show to the cli
>
> Add the functionality to track links in the application
Add the functionality to track links in the application. This enables the
user to print the name, mac address and per-port statistics for each link
in the application.
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/cli.c | 103
examples/ip_pipel
4 matches
Mail list logo