1d08b8680SEric Joyner /* SPDX-License-Identifier: BSD-3-Clause */ 2015f8cc5SEric Joyner /* Copyright (c) 2024, Intel Corporation 3d08b8680SEric Joyner * All rights reserved. 4d08b8680SEric Joyner * 5d08b8680SEric Joyner * Redistribution and use in source and binary forms, with or without 6d08b8680SEric Joyner * modification, are permitted provided that the following conditions are met: 7d08b8680SEric Joyner * 8d08b8680SEric Joyner * 1. Redistributions of source code must retain the above copyright notice, 9d08b8680SEric Joyner * this list of conditions and the following disclaimer. 10d08b8680SEric Joyner * 11d08b8680SEric Joyner * 2. Redistributions in binary form must reproduce the above copyright 12d08b8680SEric Joyner * notice, this list of conditions and the following disclaimer in the 13d08b8680SEric Joyner * documentation and/or other materials provided with the distribution. 14d08b8680SEric Joyner * 15d08b8680SEric Joyner * 3. Neither the name of the Intel Corporation nor the names of its 16d08b8680SEric Joyner * contributors may be used to endorse or promote products derived from 17d08b8680SEric Joyner * this software without specific prior written permission. 18d08b8680SEric Joyner * 19d08b8680SEric Joyner * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20d08b8680SEric Joyner * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21d08b8680SEric Joyner * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22d08b8680SEric Joyner * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 23d08b8680SEric Joyner * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24d08b8680SEric Joyner * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25d08b8680SEric Joyner * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26d08b8680SEric Joyner * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27d08b8680SEric Joyner * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28d08b8680SEric Joyner * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29d08b8680SEric Joyner * POSSIBILITY OF SUCH DAMAGE. 30d08b8680SEric Joyner */ 31d08b8680SEric Joyner 32d08b8680SEric Joyner #ifndef _ICE_VLAN_MODE_H_ 33d08b8680SEric Joyner #define _ICE_VLAN_MODE_H_ 34d08b8680SEric Joyner 359cf1841cSEric Joyner #include "ice_osdep.h" 369cf1841cSEric Joyner 37d08b8680SEric Joyner struct ice_hw; 38d08b8680SEric Joyner 399cf1841cSEric Joyner bool ice_is_dvm_ena(struct ice_hw *hw); 40*f2635e84SEric Joyner int ice_set_vlan_mode(struct ice_hw *hw); 4156429daeSEric Joyner void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw); 42d08b8680SEric Joyner 43d08b8680SEric Joyner #endif /* _ICE_VLAN_MODE_H */ 44