port: support file descriptor
authorJasvinder Singh <jasvinder.singh@intel.com>
Thu, 13 Oct 2016 09:17:47 +0000 (10:17 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Oct 2016 09:42:37 +0000 (11:42 +0200)
commit5a99f20868576496534f0cea0f5266d75b1cf0ce
tree0e790d9eb997ac3dd22482788ab9e8bf2aa370cc
parent33aa4f077d7d04ecc00ddcc0ed2de998cb1eb242
port: support file descriptor

This patch adds File Descriptor(FD) port type (e.g. TAP port) to the
packet framework library that allows interface with the kernel network
stack. The FD port APIs are defined that allow port creation, writing
and reading packet from the kernel interface.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_port/Makefile
lib/librte_port/rte_port_fd.c [new file with mode: 0644]
lib/librte_port/rte_port_fd.h [new file with mode: 0644]
lib/librte_port/rte_port_version.map