net/tap: fix max queues redefinition
authorPascal Mazon <pascal.mazon@6wind.com>
Thu, 6 Apr 2017 14:18:04 +0000 (16:18 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 6 Apr 2017 14:29:32 +0000 (16:29 +0200)
commit947d949de7de5e554e51f5fd48a6e989d80b7675
tree84f0a4999f5f5436dc9744f787e036d96b0ac0bd
parent4e66a6fef321d8015f6bde1aac5018c9ec91721c
net/tap: fix max queues redefinition

The macro RTE_PMD_TAP_MAX_QUEUES was defined twice.
On machines with kernel < 3.8, IFF_MULTI_QUEUE didn't exist, and thus
both definitions used different values.

Fixes: cf5643661161 ("net/tap: move private elements to external header")

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
drivers/net/tap/rte_eth_tap.c
drivers/net/tap/rte_eth_tap.h