All of lore.kernel.org
 help / color / mirror / Atom feed
* question about traffic control in for input (ingress) traffic
@ 2013-07-03 10:08 Kevin Wilson
  2013-07-03 22:49 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wilson @ 2013-07-03 10:08 UTC (permalink / raw)
  To: lartc

Hello,
I know that traffic control is usually used for output.
I want to learn  traffic control kernel implementation for input
(ingress) traffic
I made several tries with the tc userspace tool to add
traffic control entries, but I did not succeed.
What I mean is that in the kernel, in the ingress filter method
ing_filter(), I always reach with noop_qdisc, no matter what I try
with the  tc tool:

Any ideas?  can I register the route scheduler for the Rx path ?

In http://lxr.free-electrons.com/source/net/core/dev.c
 static int ing_filter(struct sk_buff *skb, struct netdev_queue *rxq)
 {
  ...
  struct Qdisc *q;


         q = rxq->qdisc;
         if (q != &noop_qdisc) {
         }

         return result;
 }

regards,
Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-03 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03 10:08 question about traffic control in for input (ingress) traffic Kevin Wilson
2013-07-03 22:49 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.