Haiyue Wang 6247f281e3 common/iavf: support VLAN filtering
In order to support enable/disable VLAN filtering the VF has to
negotiate the capability via VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2. If
VIRTCHNL_VLAN_TOGGLE is allowed for the VLAN filtering capabilities,
then there needs to be a method to allow this. Make the necessary
changes to support this.

Also, since the virtchnl_vlan_offload message has the desired format,
change the structure name to virtchnl_vlan_setting so it can be used for
VIRTCHNL_OP_ENABLE_VLAN_FILTERING_V2 and
VIRTCHNL_OP_DISABLE_VLAN_FILTERING_V2.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
2021-01-29 18:16:07 +01:00
..
2021-01-13 18:51:58 +01:00
2021-01-13 18:51:58 +01:00
2021-01-13 18:51:58 +01:00
2021-01-13 18:51:58 +01:00
2021-01-29 18:16:07 +01:00

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2019-2021 Intel Corporation
 */

Intel® IAVF driver
=================

This directory contains source code of FreeBSD IAVF driver of version
cid-avf.2021.01.12.tar.gz released by the team which develops
basic drivers for any IAVF NIC. The directory of base/ contains the
original source package.

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    iavf_osdep.h
    iavf_impl.c