[dpdk-dev] [PATCH v2] examples/l2fwd: check if user portmask is valid

2018-02-01 Thread Vipin Varghese
User can pass portmask with any value, even invalid mask. The code checks against actual portmask. Signed-off-by: Vipin Varghese --- V2 Changes: - correct the spelling in comment - Vipin --- examples/l2fwd/main.c | 5 + 1 file changed, 5 insertions(+) diff --git a/examples/l2fwd/main.c b/

Re: [dpdk-dev] [PATCH v2] examples/l2fwd: check if user portmask is valid

2018-02-06 Thread De Lara Guarch, Pablo
> -Original Message- > From: Varghese, Vipin > Sent: Thursday, February 1, 2018 6:59 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; De Lara Guarch, Pablo > ; Richardson, Bruce > ; Varghese, Vipin > > Subject: [PATCH v2] examples/l2fwd: check if user portmask is valid > > User can pass por

Re: [dpdk-dev] [PATCH v2] examples/l2fwd: check if user portmask is valid

2018-02-06 Thread Thomas Monjalon
> > User can pass portmask with any value, even invalid mask. The code checks > > against actual portmask. > > > > Signed-off-by: Vipin Varghese > > --- > > > > V2 Changes: > > - correct the spelling in comment - Vipin > > I think there is no need to CC stable here, so I will remove it from th