diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2024-04-30 17:30:52 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-02 07:27:20 -0700 |
commit | 895621f1c81695da7660fe909173e9f98619e89c (patch) | |
tree | fbaa9d87da55b4000e4e0bad25f71a9d4b764ff9 /lib/once.c | |
parent | a75fbb3aa47a62d76d8b07b49db9e2f0e08fbba7 (diff) | |
download | linux-895621f1c81695da7660fe909173e9f98619e89c.tar.gz linux-895621f1c81695da7660fe909173e9f98619e89c.tar.bz2 linux-895621f1c81695da7660fe909173e9f98619e89c.zip |
bnxt_en: Don't support offline self test when RoCE driver is loaded
Offline self test is a very disruptive operation for RoCE and requires
all active QPs to be destroyed. With a large number of QPs, it can
take a long time to destroy all the QPs and can timeout. Do not allow
ethtool offline self test if the RoCE driver is registered on the
device.
Reviewed-by: Selvin Thyparampil Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Vikas Gupta <vikas.gupta@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240501003056.100607-3-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions