diff options
author | Florian Fainelli <[email protected]> | 2018-03-28 15:15:37 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-30 10:03:36 -0400 |
commit | a8cdfbdf885f3d3b4940ea31696a4492afd331f7 (patch) | |
tree | 5b1eeedf73b3226eb565c012a23786866cc6fc6f /net/lapb/lapb_subr.c | |
parent | fd41f2bfb71ba161309797de1ae1966810c19703 (diff) |
net: systemport: Fix coalescing settings handling
There were a number of issues with setting the RX coalescing parameters:
- we would not be preserving values that would have been configured
across close/open calls, instead we would always reset to no timeout
and 1 interrupt per packet, this would also prevent DIM from setting its
default usec/pkts values
- when adaptive RX would be turned on, we woud not be fetching the
default parameters, we would stay with no timeout/1 packet per
interrupt until the estimator kicks in and changes that
- finally disabling adaptive RX coalescing while providing parameters
would not be honored, and we would stay with whatever DIM had
previously determined instead of the user requested parameters
Fixes: b6e0e875421e ("net: systemport: Implement adaptive interrupt coalescing")
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Tal Gilboa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions