1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (C) 2021, Intel Corporation. */
3
4#ifndef _ICE_VIRTCHNL_ALLOWLIST_H_
5#define _ICE_VIRTCHNL_ALLOWLIST_H_
6#include "ice.h"
7
8bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode);
9
10void ice_vc_set_default_allowlist(struct ice_vf *vf);
11void ice_vc_set_working_allowlist(struct ice_vf *vf);
12void ice_vc_set_caps_allowlist(struct ice_vf *vf);
13#endif /* _ICE_VIRTCHNL_ALLOWLIST_H_ */
14

source code of linux/drivers/net/ethernet/intel/ice/ice_virtchnl_allowlist.h