Files
linux/drivers/net/ethernet/intel/ice/virt/queues.h
Przemek Kitszel c762b0a537 ice: finish virtchnl.c split into queues.c
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>
2025-08-27 09:20:04 +02:00

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_ */