Thread (59 messages) 59 messages, 10 authors, 2017-01-20

Re: [PATCH v2] drivers/net:new PMD using tun/tap host interface

From: Yuanhan Liu <hidden>
Date: 2016-09-19 00:28:45

On Sun, Sep 18, 2016 at 04:20:12PM +0000, Wiles, Keith wrote:
Regards,
Keith
quoted
On Sep 18, 2016, at 8:25 AM, Yuanhan Liu [off-list ref] wrote:

On Fri, Sep 16, 2016 at 11:22:13AM -0500, Keith Wiles wrote:
quoted
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 into one patch.
    Fix a typo on naming the tap device.
    Update the maintainers list

Signed-off-by: Keith Wiles <redacted>
Hi,

FYI, my robot caught some build errors with this patch applied.
All of the below errors are from Linux header files and not the Tap driver.
Yes, but you are referencing them, so ...
How are you building DPDK, which config file are you using, OS version, .... Some details would be nice to understand how these errors are being generated and how I can recreate them.
My bad. I should have included all of them: my robot is still at a very
rough stage: those info should be included automatically in future (badly,
I don't even have time to enhance it).

However, for this issue, I think it can be triggered on most (if not any)
linux platforms: I got the report from ubuntu-16.04, and I have just tried
it on my dev box, which is fedora 20: I got the same error.

	--yliu
quoted
---
In file included from /yeti/vm/ubuntu-initrd-16.04-x86_64-build/dpdk/drivers/net/tap/rte_eth_tap.c:50:
/usr/include/linux/if.h:71:2: error: redefinition of enumerator 'IFF_UP'
       IFF_UP                          = 1<<0,  /* sysfs */
       ^
/usr/include/net/if.h:45:17: note: expanded from macro 'IFF_UP'
# define IFF_UP IFF_UP
               ^
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help