>-----Original Message-----
>From: Simon Horman [mailto:[email protected]]
>Sent: Tuesday, January 24, 2017 10:33 AM
>To: Jiri Pirko <[email protected]>
>Cc: [email protected]; [email protected]; Yotam Gigi
><[email protected]>; Ido Schimmel <[email protected]>; Elad Raz
><[email protected]>; Nogah Frankel <[email protected]>; Or Gerlitz
><[email protected]>; [email protected]; [email protected];
>[email protected]; [email protected]; [email protected];
>[email protected]; [email protected]; [email protected]
>Subject: Re: [patch net-next v2 2/4] net/sched: Introduce sample tc action
>
>On Mon, Jan 23, 2017 at 11:07:09AM +0100, Jiri Pirko wrote:
>> From: Yotam Gigi <[email protected]>
>>
>> This action allows the user to sample traffic matched by tc classifier.
>> The sampling consists of choosing packets randomly and sampling them using
>> the psample module. The user can configure the psample group number, the
>> sampling rate and the packet's truncation (to save kernel-user traffic).
>>
>> Example:
>> To sample ingress traffic from interface eth1, one may use the commands:
>>
>> tc qdisc add dev eth1 handle ffff: ingress
>>
>> tc filter add dev eth1 parent ffff: \
>>         matchall action sample rate 12 group 4
>>
>> Where the first command adds an ingress qdisc and the second starts
>> sampling randomly with an average of one sampled packet per 12 packets on
>> dev eth1 to psample group 4.
>>
>> Signed-off-by: Yotam Gigi <[email protected]>
>> Signed-off-by: Jiri Pirko <[email protected]>
>> Acked-by: Jamal Hadi Salim <[email protected]>
>
>Reviewed-by: Simon Horman <[email protected]>
>
>Is the tc user-space (iproute2) code available yet?

Yes it is. I thought about sending it the moment the kernel patches gets 
accepted.

Do you want it to send it directly to you?

Reply via email to