Go to file
Jose Abreu 0431100b3d net: stmmac: Fixup the tail addr setting in xmit path
Currently we are always setting the tail address of descriptor list to
the end of the pre-allocated list.

According to databook this is not correct. Tail address should point to
the last available descriptor + 1, which means we have to update the
tail address everytime we call the xmit function.

This should make no impact in older versions of MAC but in newer
versions there are some DMA features which allows the IP to fetch
descriptors in advance and in a non sequential order so its critical
that we set the tail address correctly.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Fixes: f748be531d ("stmmac: support new GMAC4")
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-18 19:48:08 -07:00
arch Merge gitolite.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:31:53 +02:00
block
certs
crypto
Documentation Merge gitolite.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:31:53 +02:00
drivers net: stmmac: Fixup the tail addr setting in xmit path 2018-09-18 19:48:08 -07:00
firmware
fs Various ext4 bug fixes; primarily making ext4 more robust against 2018-09-17 09:13:47 +02:00
include net: stmmac: Rework coalesce timer and fix multi-queue races 2018-09-18 19:48:08 -07:00
init
ipc
kernel Merge gitolite.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:31:53 +02:00
lib
LICENSES
mm
net net/ipv6: do not copy dst flags on rt init 2018-09-17 19:42:14 -07:00
samples
scripts linux-kselftest-4.19-rc5 2018-09-17 07:24:28 +02:00
security
sound
tools Merge gitolite.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-18 09:31:53 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-09-15 06:39:09 -10:00
Makefile linux-kselftest-4.19-rc5 2018-09-17 07:24:28 +02:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.