[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1383836068.9412.71.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 07 Nov 2013 06:54:28 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: John Fastabend <john.r.fastabend@...el.com>
Cc: Anton 'EvilMan' Danilov <littlesmilingcloud@...il.com>,
netdev@...r.kernel.org
Subject: Re: Using HTB over MultiQ
On Thu, 2013-11-07 at 06:39 -0800, John Fastabend wrote:
>
> With the multiq qdisc you could attach filter to the root qdisc and use
> skbedit to set the queue_mapping field,
>
> #tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
> match ip dst 192.168.0.3 \
> action skbedit queue_mapping 3
>
Oh right, this is the way ;)
I wonder if we can have 'action skbedit rxhash 34' ?
> if you configure the filters to map to the correct classes this would
> work.
>
> Or another way would be use mqprio and steer packets to HTB classes
> using the skb->priority. The priority can be set by iptables/nftables
> or an ingress filter.
Yes, but this might duplicate the 'customer' tree Anton has to put on
the filters anyway ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists