Re: [PATCH 1/1] ixgbe: sync the first fragment unconditionally

2019-08-06 Thread Alexander Duyck
On Tue, Aug 6, 2019 at 2:38 AM Firo Yang wrote: > > In Xen environment, if Xen-swiotlb is enabled, ixgbe driver > could possibly allocate a page, DMA memory buffer, for the first > fragment which is not suitable for Xen-swiotlb to do DMA operations. > Xen-swiotlb will internally allocate another p

Re: [Intel-wired-lan] [PATCH 1/1] ixgbe: sync the first fragment unconditionally

2019-08-06 Thread Alexander Duyck
On Tue, Aug 6, 2019 at 11:36 AM David Miller wrote: > > From: Firo Yang > Date: Tue, 6 Aug 2019 09:29:51 + > > > In Xen environment, if Xen-swiotlb is enabled, ixgbe driver > > could possibly allocate a page, DMA memory buffer, for the first > > fragment which is not suitable for Xen-swiotlb

Re: [PATCH 1/1] ixgbe: sync the first fragment unconditionally

2019-08-06 Thread David Miller
From: Firo Yang Date: Tue, 6 Aug 2019 09:29:51 + > In Xen environment, if Xen-swiotlb is enabled, ixgbe driver > could possibly allocate a page, DMA memory buffer, for the first > fragment which is not suitable for Xen-swiotlb to do DMA operations. > Xen-swiotlb will internally allocate anoth

[PATCH 1/1] ixgbe: sync the first fragment unconditionally

2019-08-06 Thread Firo Yang
In Xen environment, if Xen-swiotlb is enabled, ixgbe driver could possibly allocate a page, DMA memory buffer, for the first fragment which is not suitable for Xen-swiotlb to do DMA operations. Xen-swiotlb will internally allocate another page for doing DMA operations. It requires syncing between t