4b4d2affbd
Add new opcode VIRTCHNL_OP_DCF_VLAN_OFFLOAD to set VLAN offload by DCF, the virtchnl message includes: 1. A valid target VF 2. Type of VLAN to be supported: outer or inner 3. Ethertype of the VLAN (either 0x8100 or 0x88A8 or 0x9100) 4. VLAN insert settings a). No insert offload, VLAN ID in the packet (default) b). Offload via transmit descriptor c). Insert as a port VLAN (via VSI) 5. VLAN strip settings a). Strip (and discard) b). Strip and place in descriptor c). No Strip 6. VLAN ID for the target VF Signed-off-by: Qiming Yang <qiming.yang@intel.com> Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2019-2020 Intel Corporation */ Intel® IAVF driver ================= This directory contains source code of FreeBSD IAVF driver of version cid-avf.2020.10.14.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