Commit bfb38fb
r8152: fix the rx early size of RTL8153
[ Upstream commit b20cb60 ]
revert commit a59e6d8 ("r8152: correct the rx early size") and
fix the rx early size as
(rx buffer size - rx packet size - rx desc size - alignment) / 4
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 7171aa2 commit bfb38fb
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| 504 | + | |
| 505 | + | |
504 | 506 | | |
505 | 507 | | |
506 | 508 | | |
| |||
2253 | 2255 | | |
2254 | 2256 | | |
2255 | 2257 | | |
2256 | | - | |
2257 | | - | |
| 2258 | + | |
2258 | 2259 | | |
2259 | 2260 | | |
2260 | 2261 | | |
| |||
0 commit comments