Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions prov/efa/src/rdm/efa_rdm_pke.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ struct efa_rdm_pke *efa_rdm_pke_alloc(struct efa_rdm_ep *ep,
* should be adjusted according to the actual data size.
*/
pkt_entry->pkt_size = pkt_pool->attr.size - sizeof(struct efa_rdm_pke);
pkt_entry->addr = FI_ADDR_NOTAVAIL;
pkt_entry->alloc_type = alloc_type;
pkt_entry->flags = EFA_RDM_PKE_IN_USE;
pkt_entry->next = NULL;
Expand Down
2 changes: 2 additions & 0 deletions prov/efa/test/efa_unit_test_cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ void test_ibv_cq_ex_read_bad_recv_status(struct efa_resource **state)
numaddr = fi_av_insert(resource->av, &raw_addr, 1, &peer_addr, 0, NULL);
assert_int_equal(numaddr, 1);

pkt_entry->addr = peer_addr;

ibv_cqx->start_poll = &efa_mock_ibv_start_poll_return_mock;
ibv_cqx->end_poll = &efa_mock_ibv_end_poll_check_mock;
ibv_cqx->read_opcode = &efa_mock_ibv_read_opcode_return_mock;
Expand Down