On Tue, Jul 24, 2018 at 1:38 PM Cong Wang <xiyou.wangc...@gmail.com> wrote: > > On Tue, Jul 24, 2018 at 1:07 PM Paolo Abeni <pab...@redhat.com> wrote: > > +static inline void skb_tc_reinject(struct sk_buff *skb, struct tcf_result > > *res) > > +{ > > + struct gnet_stats_queue *stats = res->qstats; > > + int ret; > > + > > + if (res->ingress) > > + ret = netif_receive_skb(skb); > > + else > > + ret = dev_queue_xmit(skb); > > + if (ret && stats) > > + qstats_overlimit_inc(res->qstats); > > Why increasing overlimit? Overlimit is typically increased > by traffic shapers to indicate there is no bandwidth to send > out the packet. > > I fail to understand why overlimit is increased in your case > here. I guess you want to increase 'drops' instead.
Hmm, actually the current mirred code increases overlimit too. But I still don't think it makes sense.