ravb: Move maximum Rx descriptor data usage to info struct
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 4 Mar 2024 11:08:57 +0000 (12:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2024 11:23:21 +0000 (11:23 +0000)
commit555419b2259b96b5259ea207a6b6d2e45c2d6eb3
tree03e4801a253af77f6d60278b41e9348ee4423143
parent496863388136bcba95298ab7dacaf55489af2b02
ravb: Move maximum Rx descriptor data usage to info struct

To make it possible to merge the R-Car and RZ/G2L code paths move the
maximum usable size of a single Rx descriptor data slice into the
hardware information instead of using two different defines in the two
different code paths.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c