RE: [PATCH 2/3] ocelot_ace: fix ingress ports setting for rule

2019-08-12 Thread Y.b. Lu
Hi Allan, > -Original Message- > From: Allan W. Nielsen > Sent: Monday, August 12, 2019 8:38 PM > To: Y.b. Lu > Cc: netdev@vger.kernel.org; David S . Miller ; > Alexandre Belloni ; Microchip Linux Driver > Support > Subject: Re: [PATCH 2/3] ocelot_ace: fix i

Re: [PATCH 2/3] ocelot_ace: fix ingress ports setting for rule

2019-08-12 Thread Allan W. Nielsen
The 08/12/2019 18:48, Yangbo Lu wrote: > The ingress ports setting of rule should support covering all ports. > This patch is to use u16 ingress_port for ingress port mask setting > for ace rule. One bit corresponds one port. That is how the HW is working, and it would be nice if we could operate o