Re: [patch net-next] net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath

2017-10-24 Thread Jiri Pirko
Tue, Oct 24, 2017 at 12:50:21PM CEST, dan...@iogearbox.net wrote: >On 10/23/2017 11:28 PM, Jiri Pirko wrote: >[...] >> diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h >> index 031dffd..c7ddbdb 100644 >> --- a/include/net/sch_generic.h >> +++ b/include/net/sch_generic.h >> @@ -143

Re: [patch net-next] net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath

2017-10-24 Thread Daniel Borkmann
On 10/23/2017 11:28 PM, Jiri Pirko wrote: [...] diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 031dffd..c7ddbdb 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -143,6 +143,36 @@ static inline int qdisc_avail_bulklimit(const struct netdev_queue

[patch net-next] net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath

2017-10-23 Thread Jiri Pirko
From: Jiri Pirko In sch_handle_egress and sch_handle_ingress tp->q is used only in order to update stats. So stats and filter list are the only things that are needed in clsact qdisc fastpath processing. Introduce new mini_Qdisc struct to hold those items. This removes need for tp->q usage withou