mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 03:22:27 -04:00
Introduce virt/ directory to collect virtchnl files. We are going to implement a few sizable extensions soon, each of them increasing virt/ size, so it looks sensible to introduce a new dir. Suggested-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
14 lines
435 B
C
14 lines
435 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2021, Intel Corporation. */
|
|
|
|
#ifndef _ICE_VIRTCHNL_ALLOWLIST_H_
|
|
#define _ICE_VIRTCHNL_ALLOWLIST_H_
|
|
#include "ice.h"
|
|
|
|
bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode);
|
|
|
|
void ice_vc_set_default_allowlist(struct ice_vf *vf);
|
|
void ice_vc_set_working_allowlist(struct ice_vf *vf);
|
|
void ice_vc_set_caps_allowlist(struct ice_vf *vf);
|
|
#endif /* _ICE_VIRTCHNL_ALLOWLIST_H_ */
|