Rick Lindsley 1b18f09d31 ibmvnic: Properly dispose of all skbs during a failover.
During a reset, there may have been transmits in flight that are no
longer valid and cannot be fulfilled.  Resetting and clearing the
queues is insufficient; each skb also needs to be explicitly freed
so that upper levels are not left waiting for confirmation of a
transmit that will never happen.  If this happens frequently enough,
the apparent backlog will cause TCP to begin "congestion control"
unnecessarily, culminating in permanently decreased throughput.

Fixes: d7c0ef36bde03 ("ibmvnic: Free and re-allocate scrqs when tx/rx scrqs change")
Tested-by: Nick Child <nnac123@linux.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Rick Lindsley <ricklind@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-04 11:09:57 +01:00
..
2022-05-02 13:57:56 -07:00
2022-05-06 12:07:56 +01:00
2022-07-01 13:50:25 +01:00
2022-05-20 17:38:27 -07:00
2022-06-06 14:27:35 -07:00
2022-06-01 12:01:47 +02:00
2022-05-11 13:09:59 +01:00
2022-06-30 11:34:10 -07:00
2022-06-17 11:38:09 +01:00
2022-06-27 10:47:34 -07:00