[net-next,v2,0/2] Add support for partial store and forward

Message ID 20230511071214.18611-1-pranavi.somisetty@amd.com
Headers
Series Add support for partial store and forward |

Message

Somisetty, Pranavi May 11, 2023, 7:12 a.m. UTC
  Add support for partial store and forward mode in Cadence MACB.

Link for v1:
https://lore.kernel.org/all/20221213121245.13981-1-pranavi.somisetty@amd.com/

Changes v2:
1. Removed all the changes related to validating FCS when Rx checksum
offload is disabled.
2. Instead of using a platform dependent number (0xFFF) for the reset
value of rx watermark, derive it from designcfg_debug2 register.
3. Added a check to see if partial s/f is supported, by reading the
designcfg_debug6 register.
4. Added devicetree bindings for "rx-watermark" property.

Pranavi Somisetty (2):
  dt-bindings: net: cdns,macb: Add rx-watermark property
  net: macb: Add support for partial store and forward

 .../devicetree/bindings/net/cdns,macb.yaml    |  8 +++
 drivers/net/ethernet/cadence/macb.h           | 14 ++++++
 drivers/net/ethernet/cadence/macb_main.c      | 49 ++++++++++++++++++-
 3 files changed, 69 insertions(+), 2 deletions(-)