forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/infiniband/hw/cxgb4/t4.h
....@@ -35,6 +35,7 @@
3535 #include "t4_regs.h"
3636 #include "t4_values.h"
3737 #include "t4_msg.h"
38
+#include "t4_tcb.h"
3839 #include "t4fw_ri_api.h"
3940
4041 #define T4_MAX_NUM_PD 65536
....@@ -397,7 +398,7 @@
397398 struct t4_srq {
398399 union t4_recv_wr *queue;
399400 dma_addr_t dma_addr;
400
- DECLARE_PCI_UNMAP_ADDR(mapping);
401
+ DEFINE_DMA_UNMAP_ADDR(mapping);
401402 struct t4_swrqe *sw_rq;
402403 void __iomem *bar2_va;
403404 u64 bar2_pa;