mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
97dd1abd02
qed_chain_get_element_left{,_u32} returned 0 when the difference
between producer and consumer page count was equal to the total
page count.
Fix this by conditional expanding of producer value (vs
unconditional). This allowed to eliminate normalizaton against
total page count, which was the cause of this bug.
Misc: replace open-coded constants with common defines.
Fixes:
|
||
---|---|---|
.. | ||
common_hsi.h | ||
eth_common.h | ||
fcoe_common.h | ||
iscsi_common.h | ||
iwarp_common.h | ||
qed_chain.h | ||
qed_eth_if.h | ||
qed_fcoe_if.h | ||
qed_if.h | ||
qed_iov_if.h | ||
qed_iscsi_if.h | ||
qed_ll2_if.h | ||
qed_rdma_if.h | ||
qede_rdma.h | ||
rdma_common.h | ||
roce_common.h | ||
storage_common.h | ||
tcp_common.h |