Commit c7dd7ab
bnxt_en: Improve TQM ring context memory sizing formulas.
The current formulas to calculate the TQM slow path and fast path ring
context memory sizes are not quite correct. TQM slow path entry is
array index 0 of ctx->tqm_mem[]. The other array entries are for fast
path. Fix these sizes according to latest firmware spec. for 57500 and
newer chips.
Fixes: 3be8136 ("bnxt_en: Initialize context memory to the value specified by firmware.")
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent ac3158c commit c7dd7ab
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6760 | 6760 | | |
6761 | 6761 | | |
6762 | 6762 | | |
| 6763 | + | |
6763 | 6764 | | |
6764 | 6765 | | |
6765 | 6766 | | |
| |||
6849 | 6850 | | |
6850 | 6851 | | |
6851 | 6852 | | |
6852 | | - | |
| 6853 | + | |
| 6854 | + | |
| 6855 | + | |
| 6856 | + | |
| 6857 | + | |
6853 | 6858 | | |
6854 | | - | |
6855 | | - | |
| 6859 | + | |
6856 | 6860 | | |
6857 | 6861 | | |
6858 | | - | |
6859 | | - | |
| 6862 | + | |
| 6863 | + | |
6860 | 6864 | | |
6861 | 6865 | | |
6862 | 6866 | | |
| |||
0 commit comments