mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 03:22:27 -04:00
Move queue configuration functions out of virtchnl.c to queues.c. Technically the move was started by an earlier commit of the series, that was duplicating virtchnl.c as queues.c (what forces git to nicely show blame when asked), followed by a couple of cleanup commits (that removed stuff that is not moved from the new file, again - multiple commits, to avoid git saving on changes lines by reusing removed lines as a content of some kept function), with this final commit actually enabling compilation of the new file, removing stuff from the virtchnl.c, and making some moved functions visible (via static keyword removal). Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
21 lines
634 B
C
21 lines
634 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2022, Intel Corporation. */
|
|
|
|
#ifndef _ICE_VIRT_QUEUES_H_
|
|
#define _ICE_VIRT_QUEUES_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct ice_vf;
|
|
|
|
u16 ice_vc_get_max_frame_size(struct ice_vf *vf);
|
|
int ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg);
|
|
int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg);
|
|
int ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg);
|
|
int ice_vc_cfg_q_bw(struct ice_vf *vf, u8 *msg);
|
|
int ice_vc_cfg_q_quanta(struct ice_vf *vf, u8 *msg);
|
|
int ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg);
|
|
int ice_vc_request_qs_msg(struct ice_vf *vf, u8 *msg);
|
|
|
|
#endif /* _ICE_VIRT_QUEUES_H_ */
|