26 #ifndef DPA_ALL_TO_ALL_CORE_H_
27 #define DPA_ALL_TO_ALL_CORE_H_
39 #define MAX_DEVICES (2)
40 #define MAX_USER_IB_DEVICE_NAME_LEN (256)
41 #define MAX_IB_DEVICE_NAME_LEN (MAX_USER_IB_DEVICE_NAME_LEN + 1)
42 #define IB_DEVICE_DEFAULT_NAME "NOT_SET"
43 #define MAX_NUM_THREADS (8)
44 #define MESSAGE_SIZE_DEFAULT_LEN (-1)
45 #define MAX_NUM_PROC (16)
46 #define SYNC_EVENT_MASK_FFS (0xFFFFFFFFFFFFFFFF)
179 MPI_Datatype sendtype,
182 MPI_Datatype recvtype,
200 MPI_Datatype sendtype,
203 MPI_Datatype recvtype,
bool rdma_device_exists_check(const char *device_name)
doca_error_t dpa_a2a_req_finalize(struct dpa_a2a_request *req)
doca_error_t dpa_ialltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, struct dpa_a2a_request *req)
doca_error_t dpa_a2a(int argc, char **argv, struct a2a_config *cfg)
doca_error_t dpa_a2a_req_wait(struct dpa_a2a_request *req)
doca_error_t dpa_a2a_init(struct a2a_resources *resources)
doca_error_t dpa_alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
bool dpa_device_exists_check(const char *device_name)
doca_error_t dpa_a2a_destroy(struct a2a_resources *resources)
#define MAX_IB_DEVICE_NAME_LEN
struct rdma_resources resources
uint64_t doca_dpa_dev_t
DPA context handle type definition.
uint64_t doca_dpa_dev_uintptr_t
DPA pointer type definition.
enum doca_error doca_error_t
DOCA API return codes.
uint32_t doca_dpa_dev_mmap_t
Handle on the DPA for a doca_mmap instance.
uint64_t doca_dpa_dev_sync_event_t
DOCA Sync Event DPA handle.
uint64_t doca_dpa_dev_sync_event_remote_net_t
DOCA Sync Event remote DPA handle.
const struct ip_frag_config * cfg
char pf_device2_name[MAX_IB_DEVICE_NAME_LEN]
char pf_device1_name[MAX_IB_DEVICE_NAME_LEN]
char rdma_device1_name[MAX_IB_DEVICE_NAME_LEN]
char rdma_device2_name[MAX_IB_DEVICE_NAME_LEN]
struct doca_sync_event_remote_net ** rp_kernel_events
struct doca_rdma ** rdmas
const uint8_t ** rp_remote_kernel_events_export_data
struct doca_mmap ** export_mmaps
struct doca_dpa * pf_doca_dpa
char rdma_device_name[MAX_IB_DEVICE_NAME_LEN]
struct doca_dpa * rdma_doca_dpa
doca_dpa_dev_sync_event_remote_net_t * rp_kernel_events_dpa_handles
struct doca_mmap * sendbuf_mmap
doca_dpa_dev_t rdma_doca_dpa_handle
doca_dpa_dev_uintptr_t devptr_recvbufs_mmap_handles
size_t * lp_remote_kernel_events_export_sizes
doca_dpa_dev_uintptr_t devptr_kernel_events_handle
doca_dpa_dev_sync_event_t * kernel_events_handle
char pf_device_name[MAX_IB_DEVICE_NAME_LEN]
struct doca_dev * pf_doca_device
size_t * rp_remote_kernel_events_export_sizes
struct doca_sync_event ** kernel_events
doca_dpa_dev_mmap_t * export_mmaps_dpa_handle
doca_dpa_dev_mmap_t sendbuf_dpa_mmap_handle
doca_dpa_dev_uintptr_t devptr_rp_remote_kernel_events
struct doca_dev * rdma_doca_device
struct doca_mmap * recvbuf_mmap
uint8_t * lp_remote_kernel_events_export_data
struct doca_dpa_completion ** dpa_completions
doca_dpa_dev_uintptr_t devptr_recvbufs
struct doca_sync_event * comp_event
doca_dpa_dev_uintptr_t devptr_rdmas
struct a2a_resources * resources