Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bnxt_re/lib: Fix incorrect transfer length in bnxt_re_post_send
library is incorrectly setting transfer length/qkey_len in bnxt_re_post_send handler if chain of Work Request is posted by application. It doesn't update length when wr->num_sge is zero and hence qkey_len is updated with stale data from length variable. Initialize the bytes variable to zero in the loop. Signed-off-by: Saravanan Vajravel <[email protected]> Signed-off-by: Selvin Xavier <[email protected]>
- Loading branch information