]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-dpdk.c
dpdk: New module with some code from netdev-dpdk.
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 5 Oct 2016 00:58:05 +0000 (17:58 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Wed, 12 Oct 2016 23:31:06 +0000 (16:31 -0700)
commit01961bbdd34a9d0be03315401319ef0851a21364
tree4d75ef61a1a050a284ae8e0d77f1deda745cac66
parent05b49df6e5dac7e40cb286a0eb627965910e0d19
dpdk: New module with some code from netdev-dpdk.

There's a lot of code in netdev-dpdk which is not at all related to the
netdev interface, mostly the library initialization code.

This commit moves it to a new 'dpdk' module, to simplify 'netdev-dpdk'.

Also a new module 'dpdk-stub' is introduced to implement some functions
when DPDK is not available.  This replaces the old 'netdev-nodpdk'
module.

Some redundant includes are removed or reorganized as a consequence.

No functional change.

CC: Aaron Conole <aconole@redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Tested-by: Aaron Conole <aconole@redhat.com>
12 files changed:
lib/automake.mk
lib/dp-packet.c
lib/dp-packet.h
lib/dpdk-stub.c [new file with mode: 0644]
lib/dpdk.c [new file with mode: 0644]
lib/dpdk.h [new file with mode: 0644]
lib/dpif-netdev.c
lib/dpif.h
lib/netdev-dpdk.c
lib/netdev-dpdk.h
lib/netdev-nodpdk.c [deleted file]
vswitchd/bridge.c