Merge branch 'fix-maximum-tx-rx-frame-sizes-in-ravb-driver'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 24 Sep 2024 09:55:15 +0000 (11:55 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Sep 2024 09:55:15 +0000 (11:55 +0200)
commitbfde62650c73a9524c52e4a324349e99c7c39a48
treefce70209764eb47c1b0a3abbd2bc24d87b8ebb79
parent675faf5a14c14a2be0b870db30a70764df81e2df
parentec8234717db8589078d08b17efa528a235c61f4f
Merge branch 'fix-maximum-tx-rx-frame-sizes-in-ravb-driver'

Paul Barker says:

====================
Fix maximum TX/RX frame sizes in ravb driver

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.
====================

Link: https://patch.msgid.link/20240918081839.259-1-paul.barker.ct@bp.renesas.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>