[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090608.002221.128580344.davem@davemloft.net>
Date: Mon, 08 Jun 2009 00:22:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] net: num_dma_maps is not used
From: David Miller <davem@...emloft.net>
Date: Fri, 05 Jun 2009 18:09:49 -0700 (PDT)
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Fri, 05 Jun 2009 16:03:35 +0200
>
>> Get rid of num_dma_maps in struct skb_shared_info, as it seems unused.
>>
>> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
>
> It's going to be used when architectures implement optimized
> versions of skb_dma_map(), which can thus virtually map
> page vectors via IOMMU's and thus the resulting number of
> DMA address/length pairs will be smaller than (num_frags + 1)
>
> Similarly to how dma_map_sg() works.
But we aren't doing that yet and I have no idea when I'll get
to it, so I've applied your patch for now, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists