diff options
author | Michael Chan <michael.chan@broadcom.com> | 2020-10-04 15:23:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-04 14:41:05 -0700 |
commit | 8d4bd96b54dcb5997d1035f4dfd300c04d07ec11 (patch) | |
tree | ad329a9cf8e9040fd4344891b2c4b842f6e1ad01 /drivers/net/dsa/dsa_loop.c | |
parent | 1b5c8b63d6a4a2a33ce279ff8d42e40dec3b04ce (diff) |
bnxt_en: Eliminate unnecessary RX resets.
Currently, the driver will schedule RX ring reset when we get a buffer
error in the RX completion record. These RX buffer errors can be due
to normal out-of-buffer conditions or a permanent error in the RX
ring. Because the driver cannot distinguish between these 2
conditions, we assume all these buffer errors require reset.
This is very disruptive when it is just a normal out-of-buffer
condition. Newer firmware will now monitor the rings for the permanent
failure and will send a notification to the driver when it happens.
This allows the driver to reset only when such a notification is
received. In environments where we have predominently out-of-buffer
conditions, we now can avoid these unnecessary resets.
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions