diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2024-03-04 12:08:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-06 12:23:21 +0100 |
commit | e82700b8662ce5470ebefebc4dc40949f6b14627 (patch) | |
tree | 7b1e2cf1df9e2d603e97fa8bd02b0fb2fc0875db /drivers/net/ethernet/renesas/ravb.h | |
parent | ravb: Group descriptor types used in Rx ring (diff) | |
download | linux-e82700b8662ce5470ebefebc4dc40949f6b14627.tar.xz linux-e82700b8662ce5470ebefebc4dc40949f6b14627.zip |
ravb: Make it clear the information relates to maximum frame size
The struct member rx_max_buf_size was added before split descriptor
support was added. It is unclear if the value describes the full skb
frame buffer or the data descriptor buffer which can be combined into a
single skb.
Rename it to make it clear it referees to the maximum frame size and can
cover multiple descriptors.
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>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb.h')
-rw-r--r-- | drivers/net/ethernet/renesas/ravb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/ravb.h b/drivers/net/ethernet/renesas/ravb.h index aecc98282c7e..7f9e8b2c012a 100644 --- a/drivers/net/ethernet/renesas/ravb.h +++ b/drivers/net/ethernet/renesas/ravb.h @@ -1059,7 +1059,7 @@ struct ravb_hw_info { int stats_len; size_t max_rx_len; u32 tccr_mask; - u32 rx_max_buf_size; + u32 rx_max_frame_size; unsigned aligned_tx: 1; /* hardware features */ |