[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJieiUi=W1jJBkMXTnFYL=Cw4ZWCv5zeg1vtveW5TyfJ2noe9w@mail.gmail.com>
Date: Wed, 2 Aug 2017 11:41:57 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: Amritha Nambiar <amritha.nambiar@...el.com>
Cc: "stephen@...workplumber.org" <stephen@...workplumber.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Alexander Duyck <alexander.h.duyck@...el.com>,
kiran.patil@...el.com,
"Samudrala, Sridhar" <sridhar.samudrala@...el.com>,
mitch.a.williams@...el.com,
Alexander Duyck <alexander.duyck@...il.com>,
neerav.parikh@...el.com, carolyn.wyborny@...el.com,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Subject: Re: [PATCH RFC, iproute2] tc/mirred: Extend the mirred/redirect
action to accept additional traffic class parameter
On Mon, Jul 31, 2017 at 5:40 PM, Amritha Nambiar
<amritha.nambiar@...el.com> wrote:
> The Mirred/redirect action is extended to accept a traffic
> class on the device in addition to the device's ifindex.
>
> Usage: mirred <DIRECTION> <ACTION> <dev DEVICENAME> <tc TC_INDEX>
>
> Example:
> # tc qdisc add dev eth0 ingress
>
> # tc filter add dev eth0 protocol ip parent ffff: prio 1 flower\
> dst_ip 192.168.1.1/32 ip_proto udp dst_port 22\
> indev eth0 action mirred ingress redirect dev eth0 tc 1
Can we call the new parameter tclass or something else ?.
with this 'tc' appears twice in the command :)
Powered by blists - more mailing lists