]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ibmvnic: skip send_request_unmap for timeout reset
authorLijun Pan <ljp@linux.ibm.com>
Sat, 13 Feb 2021 02:49:00 +0000 (20:49 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 23:12:26 +0000 (15:12 -0800)
commit7d3a7b9ea59ddb223aec59b45fa1713c633aaed4
tree71a569a69266d1cc0e56d525ceae2ac358ca0e6a
parent42557dab78edc8235aba5b441f2eb35f725a0ede
ibmvnic: skip send_request_unmap for timeout reset

Timeout reset will trigger the VIOS to unmap it automatically,
similarly as FAILVOER and MOBILITY events. If we unmap it
in the linux side, we will see errors like
"30000003: Error 4 in REQUEST_UNMAP_RSP".
So, don't call send_request_unmap for timeout reset.

Fixes: ed651a10875f ("ibmvnic: Updated reset handling")
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c