diff options
author | Sieng-Piaw Liew <liew.s.piaw@gmail.com> | 2023-09-12 04:07:11 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-14 11:14:52 +0300 |
commit | 86565682e9053e5deb128193ea9e88531bbae9cf (patch) | |
tree | e5211cde348075815a13647460c58afa7ed8e045 /drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c | |
parent | ea8f505ec51e904f4696b5e3e852b7a51c8e956d (diff) | |
download | linux-86565682e9053e5deb128193ea9e88531bbae9cf.tar.xz |
atl1c: Work around the DMA RX overflow issue
This is based on alx driver commit 881d0327db37 ("net: alx: Work around
the DMA RX overflow issue").
The alx and atl1c drivers had RX overflow error which was why a custom
allocator was created to avoid certain addresses. The simpler workaround
then created for alx driver, but not for atl1c due to lack of tester.
Instead of using a custom allocator, check the allocated skb address and
use skb_reserve() to move away from problematic 0x...fc0 address.
Tested on AR8131 on Acer 4540.
Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com>
Link: https://lore.kernel.org/r/20230912010711.12036-1-liew.s.piaw@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c')
0 files changed, 0 insertions, 0 deletions