netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net PATCH v3 0/2] Fix maximum TX/RX frame sizes in ravb driver
@ 2024-09-18  8:18 Paul Barker
  2024-09-18  8:18 ` [net PATCH v3 1/2] net: ravb: Fix maximum TX frame size for GbEth devices Paul Barker
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Barker @ 2024-09-18  8:18 UTC (permalink / raw)
  To: Sergey Shtylyov, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Niklas Söderlund, Andrew Lunn
  Cc: Paul Barker, Biju Das, Claudiu Beznea, Lad Prabhakar,
	Mitsuhiro Kimura, Geert Uytterhoeven, netdev, linux-renesas-soc,
	linux-kernel

These patches fix a couple of bugs in the maximum supported TX/RX frame
sizes in the ravb driver.

  * For the GbEth IP, we were advertising a maximum TX frame size/MTU
    that was larger that the maximum the hardware can transmit.

  * For the R-Car AVB IP, we were unnecessarily setting the maximum RX
    frame size/MRU based on the MTU, which by default is smaller than
    the maximum the hardware can receive.

For the R-Car AVB IP, the maximum TX frame size should be 2047 (not
2048), but additional work will be required to validate that change so
it is not included in this series.

Changes v2->v3:
  * Pick up Reviewed-by tag and suggested comment improvement from
    Niklas.
Changes v1->v2:
  * Rebase on net tree as these are both bugfixes.
  * Pick up Reviewed-by tags.

Paul Barker (2):
  net: ravb: Fix maximum TX frame size for GbEth devices
  net: ravb: Fix R-Car RX frame size limit

 drivers/net/ethernet/renesas/ravb.h      |  1 +
 drivers/net/ethernet/renesas/ravb_main.c | 18 +++++++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-24 10:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-18  8:18 [net PATCH v3 0/2] Fix maximum TX/RX frame sizes in ravb driver Paul Barker
2024-09-18  8:18 ` [net PATCH v3 1/2] net: ravb: Fix maximum TX frame size for GbEth devices Paul Barker
2024-09-19  7:24   ` Simon Horman
2024-09-18  8:18 ` [net PATCH v3 2/2] net: ravb: Fix R-Car RX frame size limit Paul Barker
2024-09-19  7:27   ` Simon Horman
2024-09-24 10:00 ` [net PATCH v3 0/2] Fix maximum TX/RX frame sizes in ravb driver patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).