OSDN Git Service

IPoIB: Add high DMA feature flag
authorEli Cohen <eli@mellanox.co.il>
Wed, 30 Jan 2008 16:30:46 +0000 (18:30 +0200)
committerRoland Dreier <rolandd@cisco.com>
Fri, 8 Feb 2008 21:39:26 +0000 (13:39 -0800)
commiteb14032f9eb595621270f3269f40094adb3144e8
tree88c837fe13a5415e26e2744fd309a01e034832e2
parentea54b10c7773007e173da31fe7adcc049da33331
IPoIB: Add high DMA feature flag

All current InfiniBand devices can handle all DMA addresses, and it's
hard to imagine anyone would be silly enough to build a new device
that couldn't.  Therefore, enable the NETIF_F_HIGHDMA feature for IPoIB.

This has no effect for no, but is needed when we enable gather/scatter
support and checksum stateless offloads.

Signed-off-by: Eli Cohen <eli@mellnaox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c