diff options
author | Marian-Cristian Rotariu <marian.rotariu@freescale.com> | 2015-01-15 15:02:48 (GMT) |
---|---|---|
committer | Olivia Yin <r63875@freescale.com> | 2015-01-26 10:36:22 (GMT) |
commit | fa2b857e85998a6843c1a6843446ff00067fa3a4 (patch) | |
tree | 3c45e7fd44d8eed9657f59fa5a4e1f43bcaf117a /include/net/tcp.h | |
parent | 6619b8b55796cdf0cec04b66a71288edd3057229 (diff) | |
download | linux-fsl-qoriq-fa2b857e85998a6843c1a6843446ff00067fa3a4.tar.xz |
dpaa_eth: add VSP compatibility for eth ports
This patch provides compatibility for the Ethernet driver ports with the VSP
capability. Until now, the FMan ports managed by the Ethernet driver were not
able to properly configure VSP because of the buffer layout of the FMan ports
used.
When VSPs are not enabled, the RX and TX path buffer layout are different, the
Ethernet driver maintains separate buffer layouts for transmission and
reception. When VSPs are enabled on a certain FMan port, the buffer layouts for
Rx and Tx should be the same, the same buffer layout being used inside a
storage profile.
In order to bypass this the VSP capability is disabled on the Tx path by setting
ContextB to 0 in the FQ descriptor of the queues that are transmitting the
frames to the Tx port.
Change-Id: Ie29b8a0fe8b0b9c2344658f8e4a35e0392b6bf8e
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/25613
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions