RE: [v3 3/3] examples/l3fwd: enhance valid ports checking

2024-11-20 Thread Konstantin Ananyev
> 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,

[v3 3/3] examples/l3fwd: enhance valid ports checking

2024-11-19 Thread Gagandeep Singh
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