[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-21 Thread Wiles, Keith
Regards, Keith > On Sep 21, 2016, at 4:24 AM, Thomas Monjalon > wrote: > > 2016-09-21 10:13, Yuanhan Liu: >> On Wed, Sep 21, 2016 at 01:32:15AM +, Wiles, Keith wrote: >>> I only assumed this to work for Linux and not FreeBSD/NetBSD as the >>> handling of the opens on the tun device are di

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-21 Thread Thomas Monjalon
2016-09-21 10:13, Yuanhan Liu: > On Wed, Sep 21, 2016 at 01:32:15AM +, Wiles, Keith wrote: > > I only assumed this to work for Linux and not FreeBSD/NetBSD as the > > handling of the opens on the tun device are different then linux. I also > > only added it to the common_linux configuration f

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-21 Thread Yuanhan Liu
On Wed, Sep 21, 2016 at 01:32:15AM +, Wiles, Keith wrote: > The concern I am having is on my standard Ubuntu 16.04 system these errors do > not appear. Yes, that's really weird. To me, it's such a solid error that could be triggered on all linux platforms. Anyway, I saw you removed the incl

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-21 Thread Wiles, Keith
Regards, Keith > On Sep 20, 2016, at 12:05 AM, Yuanhan Liu > wrote: > > [ just got few more comments after some fiddling with the build issue ] > > On Fri, Sep 16, 2016 at 11:22:13AM -0500, Keith Wiles wrote: >> diff --git a/drivers/net/tap/Makefile b/drivers/net/tap/Makefile >> new file mode

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-20 Thread Yuanhan Liu
[ just got few more comments after some fiddling with the build issue ] On Fri, Sep 16, 2016 at 11:22:13AM -0500, Keith Wiles wrote: > diff --git a/drivers/net/tap/Makefile b/drivers/net/tap/Makefile > new file mode 100644 > index 000..442a2fe > --- /dev/null > +++ b/drivers/net/tap/Makefile >

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-20 Thread Yuanhan Liu
On Mon, Sep 19, 2016 at 03:56:03PM +, Wiles, Keith wrote: > All of the below errors are from Linux header files and not the Tap > driver. > > > Yes, but you are referencing them, so ... > > > Yes I am referencing them, but still they are not interacting with the tap >

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-19 Thread Wiles, Keith
Sent from my iPhone On Sep 18, 2016, at 7:28 PM, Yuanhan Liu mailto:yuanhan.liu at linux.intel.com>> wrote: On Sun, Sep 18, 2016 at 04:20:12PM +, Wiles, Keith wrote: Regards, Keith On Sep 18, 2016, at 8:25 AM, Yuanhan Liu mailto:yuanhan.liu at linux.intel.com>> wrote: On Fri, Sep 16, 2016

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-19 Thread Yuanhan Liu
On Sun, Sep 18, 2016 at 04:20:12PM +, Wiles, Keith wrote: > > Regards, > Keith > > > On Sep 18, 2016, at 8:25 AM, Yuanhan Liu > > wrote: > > > > On Fri, Sep 16, 2016 at 11:22:13AM -0500, Keith Wiles wrote: > >> The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces > >> on the loc

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-18 Thread Yuanhan Liu
On Fri, Sep 16, 2016 at 11:22:13AM -0500, Keith Wiles wrote: > The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces > on the local host. The PMD allows for DPDK and the host to > communicate using a raw device interface on the host and in > the DPDK application. The device created is a T

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-18 Thread Wiles, Keith
Regards, Keith > On Sep 18, 2016, at 8:25 AM, Yuanhan Liu > wrote: > > On Fri, Sep 16, 2016 at 11:22:13AM -0500, Keith Wiles wrote: >> The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces >> on the local host. The PMD allows for DPDK and the host to >> communicate using a raw device

[dpdk-dev] [PATCH v2] drivers/net:new PMD using tun/tap host interface

2016-09-16 Thread Keith Wiles
The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces on the local host. The PMD allows for DPDK and the host to communicate using a raw device interface on the host and in the DPDK application. The device created is a Tap device with a L2 packet header. v2 - merge all of the patches int