table: fix incorrect initialization

During initialization of rte_hash_table_ext and rte_hash_table_lru,
t->data_size_shl is calculated.  This member contains the number of
bits to shift left during calculation of the location of entries in
the hash table.  To determine the number of bits to shift left, the
size of the entry (as provided to the rte_table_hash_ext_create and
rte_table_hash_lru_create) has to be used instead of the size of the
key.

Signed-off-by: Balazs Nemeth <balazs.nemeth@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
(cherry picked from commit 8595428e50e70d982e4a47784557d345913c4a56)
kni: create interface in current network namespace

With this patch, KNI interface (e.g. vEth0) is created in the
network namespace where the DPDK application is running.
Otherwise, all interfaces are created in the default namespace
in the host.

put_net() is required, since get_net_ns_by_pid() increments
the reference counter of the network namespace with get_net().

Signed-off-by: Takayuki Usui <takayuki@midokura.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
(cherry picked from commit 999284fcc3043cf1c1d15e825ed7d77cf491f2fe)
pcap: support pseudo multiple tx queues

Signed-off-by: Takayuki Usui <takayuki@midokura.com>
mk: Work around build failure on Ubuntu 12.04

Signed-off-by: Takayuki Usui <takayuki@midokura.com>
current: Add x86_64-ivshmem-linuxapp-gcc/.config