1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2020 Broadcom
6 #ifndef _BCMFS_DEV_MSG_H_
7 #define _BCMFS_DEV_MSG_H_
9 #define MAX_SRC_ADDR_BUFFERS 8
10 #define MAX_DST_ADDR_BUFFERS 3
12 struct bcmfs_qp_message {
13 /** Physical address of each source */
14 uint64_t srcs_addr[MAX_SRC_ADDR_BUFFERS];
15 /** Length of each sources */
16 uint32_t srcs_len[MAX_SRC_ADDR_BUFFERS];
17 /** Total number of sources */
18 unsigned int srcs_count;
19 /** Physical address of each destination */
20 uint64_t dsts_addr[MAX_DST_ADDR_BUFFERS];
21 /** Length of each destination */
22 uint32_t dsts_len[MAX_DST_ADDR_BUFFERS];
23 /** Total number of destinations */
24 unsigned int dsts_count;
29 #endif /* _BCMFS_DEV_MSG_H_ */