diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-12-02 11:45:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 22:57:10 -0500 |
commit | 03b1320dfceeb093890cdd7433e910dca6225ddb (patch) | |
tree | 1cdb866369e0f3f05c7933df72f63dfed552f5ba /drivers/net/e1000e/e1000.h | |
parent | 614c12a1581687501f1b0fc721feff69b47abd92 (diff) |
e1000e: remove use of skb_dma_map from e1000e driver
In testing we have found that skb_dma_map/unmap is incompatible with HW
IOMMU due to the fact that multiple mappings will return different results.
In order to correct this we need to remove skb_dma_map/unmap calls from the
e1000e driver.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index c4e861fb3862..b9f9e7836fad 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h | |||
@@ -194,12 +194,15 @@ struct e1000_buffer { | |||
194 | unsigned long time_stamp; | 194 | unsigned long time_stamp; |
195 | u16 length; | 195 | u16 length; |
196 | u16 next_to_watch; | 196 | u16 next_to_watch; |
197 | u16 mapped_as_page; | ||
197 | }; | 198 | }; |
198 | /* Rx */ | 199 | /* Rx */ |
199 | /* arrays of page information for packet split */ | 200 | struct { |
200 | struct e1000_ps_page *ps_pages; | 201 | /* arrays of page information for packet split */ |
202 | struct e1000_ps_page *ps_pages; | ||
203 | struct page *page; | ||
204 | }; | ||
201 | }; | 205 | }; |
202 | struct page *page; | ||
203 | }; | 206 | }; |
204 | 207 | ||
205 | struct e1000_ring { | 208 | struct e1000_ring { |