Re: [Patch net-next] net_sched: add hit counter for matchall

2019-01-18 Thread David Miller
From: Cong Wang Date: Thu, 17 Jan 2019 12:44:25 -0800 > Although matchall always matches packets, however, it still > relies on a protocol match first. So it is still useful to have > such a counter for matchall. Of course, unlike u32, every time > we hit a matchall filter, it is always a success

[Patch net-next] net_sched: add hit counter for matchall

2019-01-17 Thread Cong Wang
Although matchall always matches packets, however, it still relies on a protocol match first. So it is still useful to have such a counter for matchall. Of course, unlike u32, every time we hit a matchall filter, it is always a success, so we don't have to distinguish them. Sample output: filter