[v2 3/3] examples/l3fwd: enhance valid ports checking
Thomas Monjalon
thomas at monjalon.net
Tue Nov 19 18:13:17 CET 2024
13/11/2024 20:39, Stephen Hemminger:
> On Tue, 6 Aug 2024 09:11:20 +0530
> Gagandeep Singh <g.singh at nxp.com> wrote:
>
> > The current port ID validation logic in the routes add code has
> > two issues:
> >
> > - It can pass if port ID in route is 31+.
> > - It silently skips rules with disabled or invalid
> > port IDs
> >
> > This patch is:
> > - Improving the enabled port IDs check logic.
> > - Introducing a user option, "exit_on_failure", to control
> > the behavior when attempting to add rules for disabled or
> > invalid port IDs (either exit or skip)
> > - Creating a port ID validation function for use across
> > various setup functions
> >
> > Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
>
> Patch looks fine, but other changes in the intervening time have
> caused conflicts with this patch. Needs to be rebased.
Waiting for a rebase please?
More information about the dev
mailing list