diff options
author | Alexandre TORGUE <alexandre.torgue@st.com> | 2016-04-08 09:18:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 02:35:17 (GMT) |
commit | 18b46810eb61f1d1a66c5511d12e84ea8cb7f35c (patch) | |
tree | 9118e219d45137a2ea07a32f4476f0d3d8fca25b /net/llc/llc_proc.c | |
parent | fbf405e80c8af9ba0a9eb6f52d3bb8cddacd6036 (diff) | |
download | linux-18b46810eb61f1d1a66c5511d12e84ea8cb7f35c.tar.xz |
net: ethernet: stmmac: GMAC4.xx: Fix TX descriptor preparation
On GMAC4.xx each descriptor contains 2 buffers of 16KB (each).
Initially, those 2 buffers was filled in dwmac4_rd_prepare_tx_desc but
it is actually not needed. Indeed, stmmac driver supports frame up to
9000 bytes (jumbo). So only one buffer is needed.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_proc.c')
0 files changed, 0 insertions, 0 deletions