I can't find any reason why an 8 byte alignment should be enforced on rx
and tx buffers. Fix it there, and also don't have it be overridden by the parent tag.
This commit is contained in:
parent
48e569ed45
commit
e06c706542
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163501
@ -2175,7 +2175,7 @@ bce_dma_alloc(device_t dev)
|
||||
* Allocate the parent bus DMA tag appropriate for PCI.
|
||||
*/
|
||||
if (bus_dma_tag_create(NULL, /* parent */
|
||||
BCE_DMA_ALIGN, /* alignment */
|
||||
1, /* alignment */
|
||||
BCE_DMA_BOUNDARY, /* boundary */
|
||||
sc->max_bus_addr, /* lowaddr */
|
||||
BUS_SPACE_MAXADDR, /* highaddr */
|
||||
@ -2378,7 +2378,7 @@ bce_dma_alloc(device_t dev)
|
||||
/* Create a DMA tag for TX mbufs. */
|
||||
if (bus_dma_tag_create(
|
||||
sc->parent_tag, /* parent */
|
||||
BCE_DMA_ALIGN, /* alignment */
|
||||
1, /* alignment */
|
||||
BCE_DMA_BOUNDARY, /* boundary */
|
||||
sc->max_bus_addr, /* lowaddr */
|
||||
BUS_SPACE_MAXADDR, /* highaddr */
|
||||
@ -2476,7 +2476,7 @@ bce_dma_alloc(device_t dev)
|
||||
*/
|
||||
if (bus_dma_tag_create(
|
||||
sc->parent_tag, /* parent */
|
||||
BCE_DMA_ALIGN, /* alignment */
|
||||
1, /* alignment */
|
||||
BCE_DMA_BOUNDARY, /* boundary */
|
||||
sc->max_bus_addr, /* lowaddr */
|
||||
BUS_SPACE_MAXADDR, /* highaddr */
|
||||
|
Loading…
Reference in New Issue
Block a user