diff options
author | John Allen <jallen@linux.vnet.ibm.com> | 2018-01-18 16:26:31 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-22 15:46:55 -0500 |
commit | 896d86959fee58113fc510c70cd8d10e82aa3e6a (patch) | |
tree | cd848bdd315319c4324631b77635fada13cabbf1 /drivers/tc | |
parent | b589513e6354a5fd6934823b7fd66bffad41137a (diff) |
ibmvnic: Modify buffer size and number of queues on failover
Using newer backing devices can cause the required padding at the end of
buffer as well as the number of queues to change after a failover.
Since we currently assume that these values never change, after a
failover to a backing device with different capabilities, we can get
errors from the vnic server, attempt to free long term buffers that are
no longer there, or not free long term buffers that should be freed.
This patch resolves the issue by checking whether any of these values
change, and if so perform the necessary re-allocations.
Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions