net: move ethernet definitions to the net library
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 3 Oct 2016 08:38:43 +0000 (10:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Oct 2016 16:16:22 +0000 (18:16 +0200)
commit57668ed7bc086811ee2a8ca093cffcd0962c84e7
tree08b435ffd616e12384b36962de78f500785119d3
parentb84110e7baa2c133a4af090471e988e19fa5760b
net: move ethernet definitions to the net library

The proper place for rte_ether.h is in librte_net because it defines
network headers.

Moving it will also prevent to have circular references in the following
patches that will require the Ethernet header definition in rte_mbuf.c.
By the way, fix minor checkpatch issues.

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_ether/Makefile
lib/librte_ether/rte_ether.h [deleted file]
lib/librte_net/Makefile
lib/librte_net/rte_ether.h [new file with mode: 0644]