Re: [net-next 01/12] net/mlx5: E-Switch, add ingress rate support

2019-08-02 Thread Saeed Mahameed
On Fri, 2019-08-02 at 12:44 -0700, Alexei Starovoitov wrote: > On Fri, Aug 02, 2019 at 07:22:21PM +, Saeed Mahameed wrote: > > On Fri, 2019-08-02 at 10:37 -0700, Alexei Starovoitov wrote: > > > On Thu, Aug 1, 2019 at 6:30 PM Saeed Mahameed < > > > sae...@mellanox.com> > > > wrote: > > > > From:

Re: [net-next 01/12] net/mlx5: E-Switch, add ingress rate support

2019-08-02 Thread Alexei Starovoitov
On Fri, Aug 02, 2019 at 07:22:21PM +, Saeed Mahameed wrote: > On Fri, 2019-08-02 at 10:37 -0700, Alexei Starovoitov wrote: > > On Thu, Aug 1, 2019 at 6:30 PM Saeed Mahameed > > wrote: > > > From: Eli Cohen > > > > > > Use the scheduling elements to implement ingress rate limiter on an > > >

Re: [net-next 01/12] net/mlx5: E-Switch, add ingress rate support

2019-08-02 Thread Saeed Mahameed
On Fri, 2019-08-02 at 10:37 -0700, Alexei Starovoitov wrote: > On Thu, Aug 1, 2019 at 6:30 PM Saeed Mahameed > wrote: > > From: Eli Cohen > > > > Use the scheduling elements to implement ingress rate limiter on an > > eswitch ports ingress traffic. Since the ingress of eswitch port is > > the >

Re: [net-next 01/12] net/mlx5: E-Switch, add ingress rate support

2019-08-02 Thread Alexei Starovoitov
On Thu, Aug 1, 2019 at 6:30 PM Saeed Mahameed wrote: > > From: Eli Cohen > > Use the scheduling elements to implement ingress rate limiter on an > eswitch ports ingress traffic. Since the ingress of eswitch port is the > egress of VF port, we control eswitch ingress by controlling VF egress. Loo

[net-next 01/12] net/mlx5: E-Switch, add ingress rate support

2019-08-01 Thread Saeed Mahameed
From: Eli Cohen Use the scheduling elements to implement ingress rate limiter on an eswitch ports ingress traffic. Since the ingress of eswitch port is the egress of VF port, we control eswitch ingress by controlling VF egress. Configuration is done using the ports' representor net devices. Ple