Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167434901
D55390.id172294.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D55390.id172294.diff
View Options
diff --git a/sys/ofed/include/rdma/ib_verbs.h b/sys/ofed/include/rdma/ib_verbs.h
--- a/sys/ofed/include/rdma/ib_verbs.h
+++ b/sys/ofed/include/rdma/ib_verbs.h
@@ -3539,7 +3539,7 @@
struct dma_attrs *dma_attrs)
{
return dma_map_single_attrs(dev->dma_device, cpu_addr, size,
- direction, dma_attrs);
+ direction, dma_attrs->flags);
}
static inline void ib_dma_unmap_single_attrs(struct ib_device *dev,
@@ -3548,7 +3548,7 @@
struct dma_attrs *dma_attrs)
{
return dma_unmap_single_attrs(dev->dma_device, addr, size,
- direction, dma_attrs);
+ direction, dma_attrs->flags);
}
/**
@@ -3630,7 +3630,7 @@
dma_attrs);
else
return dma_map_sg_attrs(dev->dma_device, sg, nents, direction,
- dma_attrs);
+ dma_attrs->flags);
}
static inline void ib_dma_unmap_sg_attrs(struct ib_device *dev,
@@ -3643,7 +3643,7 @@
dma_attrs);
else
dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction,
- dma_attrs);
+ dma_attrs->flags);
}
/**
* ib_sg_dma_address - Return the DMA address from a scatter/gather entry
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 22, 5:33 PM (2 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37100730
Default Alt Text
D55390.id172294.diff (1 KB)
Attached To
Mode
D55390: ofed: reduce usage of struct dma_attrs *dma_attrs
Attached
Detach File
Event Timeline
Log In to Comment