Commit 2e95e08
ravb: Add rx_max_buf_size to struct ravb_hw_info
R-Car AVB-DMAC has maximum 2K size on RX buffer, whereas on RZ/G2L
it is 8K. We need to allow for changing the MTU within the limit
of the maximum size of a descriptor.
Add a rx_max_buf_size variable to struct ravb_hw_info to handle
this difference.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 23144a9 commit 2e95e08
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
| 1013 | + | |
1013 | 1014 | | |
1014 | 1015 | | |
1015 | 1016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2188 | 2188 | | |
2189 | 2189 | | |
2190 | 2190 | | |
| 2191 | + | |
2191 | 2192 | | |
2192 | 2193 | | |
2193 | 2194 | | |
| |||
2212 | 2213 | | |
2213 | 2214 | | |
2214 | 2215 | | |
| 2216 | + | |
2215 | 2217 | | |
2216 | 2218 | | |
2217 | 2219 | | |
| |||
2229 | 2231 | | |
2230 | 2232 | | |
2231 | 2233 | | |
| 2234 | + | |
2232 | 2235 | | |
2233 | 2236 | | |
2234 | 2237 | | |
| |||
2452 | 2455 | | |
2453 | 2456 | | |
2454 | 2457 | | |
2455 | | - | |
| 2458 | + | |
2456 | 2459 | | |
2457 | 2460 | | |
2458 | 2461 | | |
| |||
0 commit comments