mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 09:46:45 +07:00
d7037ad73d
Fix bad alignment of SQ buffer in fragmented QP allocation.
It should start directly after RQ buffer ends.
Take special care of the end case where the RQ buffer does not occupy
a whole page. RQ size is a power of two, so would be the case only for
small RQ sizes (RQ size < PAGE_SIZE).
Fix wrong assignments for sqb->size (mistakenly assigned RQ size),
and for npages value of RQ and SQ.
Fixes:
|
||
---|---|---|
.. | ||
accel.h | ||
cmd.h | ||
cq.h | ||
device.h | ||
doorbell.h | ||
driver.h | ||
eswitch.h | ||
fs_helpers.h | ||
fs.h | ||
mlx5_ifc_fpga.h | ||
mlx5_ifc.h | ||
port.h | ||
qp.h | ||
srq.h | ||
transobj.h | ||
vport.h |