drivers/net/ethernet/intel/ice/virt/allowlist.h
raw| 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 | |
| 8 | bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode); |
| 9 | |
| 10 | void ice_vc_set_default_allowlist(struct ice_vf *vf); |
| 11 | void ice_vc_set_working_allowlist(struct ice_vf *vf); |
| 12 | void ice_vc_set_caps_allowlist(struct ice_vf *vf); |
| 13 | #endif /* _ICE_VIRTCHNL_ALLOWLIST_H_ */ |