ena: fix FreeBSD build
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Tue, 29 Mar 2016 12:43:54 +0000 (14:43 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 30 Mar 2016 17:22:17 +0000 (19:22 +0200)
commitb990c617dfd3349b004aabfcad5411639ea3f403
treeb3a49b5fd9a13eb31ea8acdadca066fe9c3565ec
parent23a707467f7f8b784ce00beaf2c8e0979c6a2e8e
ena: fix FreeBSD build

FreeBSD was not defined in ena_plat.h
ETIME is not defined in FreeBSD.

In file included from DPDK/drivers/net/ena/base/ena_com.h:37:0,
                 from DPDK/drivers/net/ena/ena_ethdev.h:39,
                 from DPDK/drivers/net/ena/ena_ethdev.c:41:
DPDK/drivers/net/ena/base/ena_plat.h:48:2: error: #error "Invalid platform"

Fixes: 99ecfbf845b3 ("ena: import communication layer")
Fixes: 9ba7981ec992 ("ena: add communication layer for DPDK")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/ena/base/ena_plat.h
drivers/net/ena/base/ena_plat_dpdk.h