The library abi structures are not matching with the
upstream driver abi code. The mismatch is causing
stack curruption on some platforms while running
user application.
This patch has a fix for stack curruption.
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
uint32_t ah_tbl_len;
uint32_t rqe_size;
uint8_t fw_ver[32];
- uint32_t rsvd1;
+ uint64_t rsvd1;
uint64_t rsvd2;
};
uint32_t db_sq_offset;
uint32_t db_rq_offset;
uint32_t db_shift;
- uint64_t rsvd2;
- uint64_t rsvd3;
+ uint64_t rsvd[11]; /* 8*8 + 4*4 + 8 */
};
struct ocrdma_create_srq_cmd {