diff options
author | alfred <alfred@FreeBSD.org> | 2013-09-29 00:35:03 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2013-09-29 00:35:03 +0000 |
commit | 91eb2b78a7e56a727c14039b1a0e05969398f2b5 (patch) | |
tree | 2c8631892ad121ada16a812ddbfd631e44299298 /sys/ofed/include/linux/dma-mapping.h | |
parent | 7e9b42c4d312afe32b30e8c1e60ccd6a47158fe3 (diff) | |
download | FreeBSD-src-91eb2b78a7e56a727c14039b1a0e05969398f2b5.zip FreeBSD-src-91eb2b78a7e56a727c14039b1a0e05969398f2b5.tar.gz |
Update OFED to Linux 3.7 and update Mellanox drivers.
Update the OFED Infiniband core to the version supplied in Linux
version 3.7.
The update to OFED is nearly all additional defines and functions
with the exception of the addition of additional parameters to
ib_register_device() and the reg_user_mr callback.
In addition the ibcore (Infiniband core) and ipoib (IP over Infiniband)
have both been made into completely loadable modules to facilitate
testing of the OFED stack in FreeBSD.
Finally the Mellanox Infiniband drivers are now updated to the
latest version shipping with Linux 3.7.
Submitted by: Mellanox FreeBSD driver team:
Oded Shanoon (odeds mellanox.com),
Meny Yossefi (menyy mellanox.com),
Orit Moskovich (oritm mellanox.com)
Approved by: re
Diffstat (limited to 'sys/ofed/include/linux/dma-mapping.h')
-rw-r--r-- | sys/ofed/include/linux/dma-mapping.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/ofed/include/linux/dma-mapping.h b/sys/ofed/include/linux/dma-mapping.h index 0f0ad9d..065745c 100644 --- a/sys/ofed/include/linux/dma-mapping.h +++ b/sys/ofed/include/linux/dma-mapping.h @@ -245,6 +245,13 @@ dma_mapping_error(struct device *dev, dma_addr_t dma_addr) return (0); } +static inline unsigned int dma_set_max_seg_size(struct device *dev, + unsigned int size) +{ + return (0); +} + + #define dma_map_single(d, a, s, r) dma_map_single_attrs(d, a, s, r, NULL) #define dma_unmap_single(d, a, s, r) dma_unmap_single_attrs(d, a, s, r, NULL) #define dma_map_sg(d, s, n, r) dma_map_sg_attrs(d, s, n, r, NULL) |