[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180529.095108.1565765638395915319.davem@davemloft.net>
Date: Tue, 29 May 2018 09:51:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jakub.kicinski@...ronome.com
Cc: jiri@...nulli.us, xiyou.wangcong@...il.com,
john.fastabend@...il.com, netdev@...r.kernel.org,
oss-drivers@...ronome.com, alexei.starovoitov@...il.com,
nogahf@...lanox.com, yuvalm@...lanox.com, gerlitz.or@...il.com
Subject: Re: [PATCH net-next 00/14] nfp: abm: RED/MQ qdisc offload
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
Date: Fri, 25 May 2018 21:53:24 -0700
> This is second batch of advanced buffer management nfp driver
> changes. This series adds the qdisc offload. Support for
> a very simple subset of RED qdisc offload is added as needed
> for DCTCP ECN marking (min and max thresholds set to the same
> value).
>
> The first two patches fix glitches introduced by the previous
> series. We have to be careful about phys_port_name handling,
> because VFs share the same code path, and some user space may
> get confused by the names we chose.
>
> Since unlike previous offloads we can report the queue backlog
> both in bytes and packets we need to adjust how statistics are
> added up in the core (patch 6).
>
> There are some extra statistics we want to expose which don't
> fit into TC stats, namely counts of packets which have been fast-
> -forwarded without getting enqueued because there was no
> contention and number of packets that were ever queued (sum of
> all momentary backlogs). We expose those through ethtool stats
> (patches 8 and 9).
>
> Remaining 5 patches add MQ offload - to be able to set different
> configurations on different queues. Representors are made multi-
> -queue and we add offload support to MQ. MQ stats are added up
> before calling ->dump qdiscs on the children, and therefore don't
> include updated offload values. To avoid clearly incorrect stats
> MQ is made to also request stats update from offloads. This way
> we can correct the diff at the driver level.
Series applied, thanks Jakub.
Powered by blists - more mailing lists