[ofa-general] [PATCH 1/11] IB/ipoib: high dma support
Or Gerlitz
ogerlitz at voltaire.com
Tue Sep 25 03:22:24 PDT 2007
Eli Cohen wrote:
> Add high dma support to ipoib
>
> This patch assumes all IB devices support 64 bit DMA.
On some architectures DMA addresses are 32 bit, so I am not sure to
follow your comment. This capability states that the network device can
dma to high memory.
Or.
>
> Signed-off-by: Eli Cohen <eli at mellnaox.co.il>
>
> ---
>
> Index: linux-2.6.23-rc1/drivers/infiniband/ulp/ipoib/ipoib_main.c
> ===================================================================
> --- linux-2.6.23-rc1.orig/drivers/infiniband/ulp/ipoib/ipoib_main.c 2007-08-15 20:50:16.000000000 +0300
> +++ linux-2.6.23-rc1/drivers/infiniband/ulp/ipoib/ipoib_main.c 2007-08-15 20:50:27.000000000 +0300
> @@ -1079,6 +1079,8 @@ static struct net_device *ipoib_add_port
>
> SET_NETDEV_DEV(priv->dev, hca->dma_device);
>
> + priv->dev->features |= NETIF_F_HIGHDMA;
More information about the general
mailing list