net/dpaa2: fix VLAN filter enablement
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 12 Oct 2018 10:04:13 +0000 (15:34 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Oct 2018 12:54:25 +0000 (14:54 +0200)
commit24f3c9a6f874a8b961644d3bd9ad7d5c2bf04bca
treeda630cbc3a891383e68c02a9fb347d64c14f6441
parent543dbfec6e85ede9943679cc9b6e99319111256e
net/dpaa2: fix VLAN filter enablement

Enable the VLAN filters only when requested in rx offload.

Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c