mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-17 03:56:33 +07:00
9b6ee3cf95
PBL chain elements are actually DMA addresses stored in __le64, but currently their size is hardcoded to 8, and DMA addresses are assigned via cast to variable-sized dma_addr_t without any bitwise conversions. Change the type of pbl_virt array to match the actual one, add a new field to store the size of allocated DMA memory and sanitize elements assignment. Misc: give more logic names to the members of qed_chain::pbl_sp embedded struct. Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
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 |