-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turns off emulated inject rdma write, and enables real inject rdma write. Inject rdma write is special for two reasons: 1. The user gets to re-use their immediately after we return 2. RDMA operations require MR's, and the inject write interfaces do not provide a memory descritpor In order to handle both cases, the users data is copied into a pre-registered bounce buffer. The bounce buffer is allocated to be the sizeof(struct efa_rdm_pke) + ep->mtu_size, where the wire data starts at ep->mtu_size. The RDMA operations use part of the wire data for a RDMA header struct efa_rdm_rma_context_pkt. This change needs to lower the maximum inject size to never be more than mtu_size - sizeof(struct efa_rdm_rma_context_pkt). I created a github issue for libfabric 2.0 API to seperate inject sizes for send/recv, atomic, and rdma operations (issue 9510). Signed-off-by: Seth Zegelstein <szegel@amazon.com>
- Loading branch information
Showing
3 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters