pds_core: no reset command for VF
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 24 Aug 2023 16:17:52 +0000 (09:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 26 Aug 2023 02:05:58 +0000 (19:05 -0700)
commit95e383226d6fcda6c217912f11edf8d74de9cc85
tree2d8d4b93aeb8f5ceda61c63d5945ae45649e4b79
parente48b894a1db7f6ce66bff0402ab21ff9f0e56034
pds_core: no reset command for VF

The VF doesn't need to send a reset command, and in a PCI reset
scenario it might not have a valid IO space to write to anyway.

Fixes: 523847df1b37 ("pds_core: add devcmd device interfaces")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230824161754.34264-4-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/pds_core/core.c