File: bcmfs_dev_msg.h

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (29 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2020 Broadcom
 * All rights reserved.
 */

#ifndef _BCMFS_DEV_MSG_H_
#define _BCMFS_DEV_MSG_H_

#define MAX_SRC_ADDR_BUFFERS    8
#define MAX_DST_ADDR_BUFFERS    3

struct bcmfs_qp_message {
	/** Physical address of each source */
	uint64_t srcs_addr[MAX_SRC_ADDR_BUFFERS];
	/** Length of each sources */
	uint32_t srcs_len[MAX_SRC_ADDR_BUFFERS];
	/** Total number of sources */
	unsigned int srcs_count;
	/** Physical address of each destination */
	uint64_t dsts_addr[MAX_DST_ADDR_BUFFERS];
	/** Length of each destination */
	uint32_t dsts_len[MAX_DST_ADDR_BUFFERS];
	/** Total number of destinations */
	unsigned int dsts_count;

	void *ctx;
};

#endif /* _BCMFS_DEV_MSG_H_ */