diff options
author | Ioana Radulescu <ruxandra.radulescu@freescale.com> | 2013-09-18 12:42:18 (GMT) |
---|---|---|
committer | Rivera Jose-B46482 <German.Rivera@freescale.com> | 2013-09-20 19:03:41 (GMT) |
commit | 85badb75e0c504b5b9b8c575b69cd4a6eb42fe4c (patch) | |
tree | 95b40ed4da3c597781262e464f833a896d97ad25 /drivers/net/ethernet/freescale/dpa | |
parent | 962704315ce021e0cac8166e2c6959bff18d7ac4 (diff) | |
download | linux-fsl-qoriq-85badb75e0c504b5b9b8c575b69cd4a6eb42fe4c.tar.xz |
dpaa_eth: Fix bug in buffer layout settings
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I3cc85c746ac1449e1d8a4192ba680c3083adebb8
Reviewed-on: http://git.am.freescale.net:8181/4842
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c index 43b27a9..892b333 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c @@ -646,7 +646,7 @@ void dpa_set_buffers_layout(struct mac_device *mac_dev, #endif fm_port_get_buff_layout_ext_params(mac_dev->port_dev[TX], ¶ms); layout[TX].manip_extra_space = params.manip_extra_space; - layout[RX].data_align = params.data_align ? : DPA_FD_DATA_ALIGNMENT; + layout[TX].data_align = params.data_align ? : DPA_FD_DATA_ALIGNMENT; } int __attribute__((nonnull)) |