From: Emil Tantilov Date: Sat, 18 Jan 2014 02:30:04 +0000 (-0800) Subject: ixgbevf: redo dma mapping using the tx buffer info X-Git-Tag: v3.14-rc1~94^2~97^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bdfefd21afdd6efcc40aa009fb0f97c4179a2a5;p=pandora-kernel.git ixgbevf: redo dma mapping using the tx buffer info This patch takes advantage of the dma buffer always being present in the first descriptor and mapped as single. As such we can call dma_unmap_single and don't need to check for DMA mapping in ixgbevf_clean_tx_irq(). In addition this patch makes use of the DMA API. Signed-off-by: Emil Tantilov Signed-off-by: Alexander Duyck Tested-by: Phil Schmitt Signed-off-by: Aaron Brown Signed-off-by: David S. Miller --- Reading git-diff-tree failed