[dpdk-dev] [PATCH v4 3/4] net/tap: add netlink back-end for flow API

Wiles, Keith keith.wiles at intel.com
Tue Mar 14 15:03:54 CET 2017


> On Mar 14, 2017, at 4:29 PM, Pascal Mazon <pascal.mazon at 6wind.com> wrote:
> 
> Each kernel netdevice may have queueing disciplines set for it, which
> determine how to handle the packet (mostly on egress). That's part of
> the TC (Traffic Control) mechanism.
> 
> Through TC, it is possible to set filter rules that match specific
> packets, and act according to what is in the rule. This is a perfect
> candidate to implement the flow API for the tap PMD, as it has an
> associated kernel netdevice automatically.
> 
> Each flow API rule will be translated into its TC counterpart.
> 
> To leverage TC, it is necessary to communicate with the kernel using
> netlink. This patch introduces a library to help that communication.
> 
> Inside netlink.c, functions are generic for any netlink messaging.
> Inside tcmsgs.c, functions are specific to deal with TC rules.
> 
> Signed-off-by: Pascal Mazon <pascal.mazon at 6wind.com>
> Acked-by: Olga Shern <olgas at mellanox.com>

Acked-by: Keith Wiles <keith.wiles at intel.com>


Regards,
Keith



More information about the dev mailing list