From: sashiko-bot@kernel.org
To: "Arun Iyengar" <aiyengar1990@gmail.com>
Cc: linux-sunxi@lists.linux.dev
Subject: Re: [PATCH net-next 1/2] net: stmmac: dwmac-sun8i: Fix the RX_TH threshold encoding
Date: Wed, 11 Nov 2026 06:03:47 +0000 [thread overview]
Message-ID: <sashiko-outbox-208379@kernel.org> (raw)
In-Reply-To: <20261110-sun8i-emac-jumbo-v1-1-84bf00e9ffa3@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] net: stmmac: dwmac-sun8i: missing Fixes tag and inaccurate
commit msg
--
commit bc43819b000accd77627647d6f7f32c68d0bcbe3
Author: Arun Iyengar <aiyengar1990@gmail.com>
> net: stmmac: dwmac-sun8i: Fix the RX_TH threshold encoding
>
> The EMAC RX_CTL1 RX_TH field (bits 5:4) encodes 00 = 64 bytes and
> 01 = 32 bytes (H616 user manual v1.0, 6.5.10; 10 = 96 and 11 = 128 bytes
> as in the driver). The driver has the first two swapped.
>
> The values are only used in RX threshold mode, which dwmac-sun8i never
> selects while RX checksum offload is on, so no current configuration is
> affected.
>
> Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
[Severity: Low]
Since this fixes the swapped EMAC_RX_TH_32 and EMAC_RX_TH_64 definitions from
the initial driver commit, should it include:
Fixes: 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i")
Also, is the explanation about RX checksum offload accurate?
stmmac_dma_operation_mode() and stmmac_bump_dma_threshold() only select RX
threshold mode when priv->plat->force_thresh_dma_mode is set and use
SF_DMA_MODE otherwise, independent of priv->plat->rx_coe.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261110-sun8i-emac-jumbo-v1-0-84bf00e9ffa3@gmail.com?part=1
next prev parent reply other threads:[~2026-11-11 6:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 6:03 [PATCH net-next 0/2] net: stmmac: dwmac-sun8i: Jumbo frames and an RX_TH fix Arun Iyengar
2026-11-10 6:03 ` Arun Iyengar via B4 Relay
2026-11-10 6:03 ` [PATCH net-next 1/2] net: stmmac: dwmac-sun8i: Fix the RX_TH threshold encoding Arun Iyengar
2026-11-10 6:03 ` Arun Iyengar via B4 Relay
2026-11-11 6:03 ` sashiko-bot [this message]
2026-11-10 6:03 ` [PATCH net-next 2/2] net: stmmac: dwmac-sun8i: Enable jumbo frames up to MTU 2018 Arun Iyengar
2026-11-10 6:03 ` Arun Iyengar via B4 Relay
2026-11-11 6:03 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-208379@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=aiyengar1990@gmail.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.