xref: /linux/drivers/net/ethernet/cisco/enic/enic_rq.h (revision d9e1cc087a55286fe028e0f078159b30d7da90bd)
1 /* SPDX-License-Identifier: GPL-2.0-only
2  * Copyright 2024 Cisco Systems, Inc.  All rights reserved.
3  */
4 
5 int enic_rq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, u8 type,
6 		    u16 q_number, u16 completed_index, void *opaque);
7 void enic_rq_indicate_buf(struct vnic_rq *rq, struct cq_desc *cq_desc,
8 			  struct vnic_rq_buf *buf, int skipped, void *opaque);
9 int enic_rq_alloc_buf(struct vnic_rq *rq);
10 void enic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf);
11