]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iavf: Add trace while removing device
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>
Tue, 22 Jun 2021 13:43:48 +0000 (15:43 +0200)
committerPaolo Pisati <paolo.pisati@canonical.com>
Wed, 9 Mar 2022 14:17:57 +0000 (15:17 +0100)
commit7a1c33bf1c82f453eb303f5d36b394ed4eed71e2
treed2b875873824961aeaea1b9c8adb4157b5e44ade
parentce42e26ce2d61d904c1c101c89f3dd5739b39c6a
iavf: Add trace while removing device

BugLink: https://bugs.launchpad.net/bugs/1964361
[ Upstream commit bdb9e5c7aec73a7b8b5acab37587b6de1203e68d ]

Add kernel trace that device was removed.
Currently there is no such information.
I.e. Host admin removes a PCI device from a VM,
than on VM shall be info about the event.

This patch adds info log to iavf_remove function.

Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/intel/iavf/iavf_main.c