net/avf: fix missing compiler error flags
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 19 Sep 2018 10:04:16 +0000 (11:04 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commitbfd38e4d708bc2479e70329ce242ce2e13c8da5d
tree19123c293a8d2fa728366b0ddf7377f80fff50e0
parent584798f8e8abd403e01dd8579ccfc3a4f3d1e83b
net/avf: fix missing compiler error flags

The AVF driver was missing $(WERROR_FLAGS) in it's cflags, which means
that a number of compilation errors were getting missed. This patch adds
in the flag and fixes most of the errors, just disabling the
strict-aliasing ones.

Fixes: 22b123a36d07 ("net/avf: initialize PMD")
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Fixes: a2b29a7733ef ("net/avf: enable basic Rx Tx")
Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx")

CC: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/avf/Makefile
drivers/net/avf/avf_ethdev.c
drivers/net/avf/avf_rxtx.h
drivers/net/avf/avf_rxtx_vec_sse.c