summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRobert Malz <robert.malz@canonical.com>2025-05-20 10:31:51 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-06-10 09:10:47 -0700
commita2c90d63b71223d69a813333c1abf4fdacddbbe5 (patch)
treef6de63d16ae10b1303f0a453e3a4cfbb0215d400 /net/unix/af_unix.c
parentfdd9ebccfc32c060d027ab9a2c957097e6997de6 (diff)
i40e: return false from i40e_reset_vf if reset is in progress
The function i40e_vc_reset_vf attempts, up to 20 times, to handle a VF reset request, using the return value of i40e_reset_vf as an indicator of whether the reset was successfully triggered. Currently, i40e_reset_vf always returns true, which causes new reset requests to be ignored if a different VF reset is already in progress. This patch updates the return value of i40e_reset_vf to reflect when another VF reset is in progress, allowing the caller to properly use the retry mechanism. Fixes: 52424f974bc5 ("i40e: Fix VF hang when reset is triggered on another VF") Signed-off-by: Robert Malz <robert.malz@canonical.com> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions