diff options
| author | Benjamin Poirier <[email protected]> | 2019-09-27 19:12:10 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-04 17:17:47 +0200 |
| commit | 6e9c52b920974b90c4ca994c5d8c5bc56742017f (patch) | |
| tree | b72d257b800f01a6ed700582409144a12006c305 /tools/perf/scripts/python | |
| parent | aec626d2092f2b203f4acec5b57ed7c1e3095802 (diff) | |
staging: qlge: Refill rx buffers up to multiple of 16
Reading the {s,l}bq_prod_idx registers on a running device, it appears that
the adapter will only use buffers up to prod_idx & 0xfff0. The driver
currently uses fixed-size guard zones (16 for sbq, 32 for lbq - don't know
why this difference). After the previous patch, this approach no longer
guarantees prod_idx values aligned on multiples of 16. While it appears
that we can write unaligned values to prod_idx without ill effects on
device operation, it makes more sense to change qlge_refill_bq() to refill
up to a limit that corresponds with the device's behavior.
Signed-off-by: Benjamin Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions