From: Hemant Agrawal Date: Sat, 16 Sep 2017 10:52:37 +0000 (+0530) Subject: net/dpaa2: log that VLAN extend offload not supported X-Git-Tag: spdx-start~1752 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=acb95928e7a13de17713e9b930f8f420159d3168;p=dpdk.git net/dpaa2: log that VLAN extend offload not supported Signed-off-by: Hemant Agrawal --- diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 7b09a87498..611f59bff9 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -182,6 +182,12 @@ dpaa2_vlan_offload_set(struct rte_eth_dev *dev, int mask) RTE_LOG(ERR, PMD, "Unable to set vlan filter = %d\n", ret); } + + if (mask & ETH_VLAN_EXTEND_MASK) { + if (dev->data->dev_conf.rxmode.hw_vlan_extend) + RTE_LOG(INFO, PMD, + "VLAN extend offload not supported\n"); + } } static int