git: 86255d85e228 - stable/15 - ixl: Fix build after VF reset changes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Aug 2026 08:24:50 UTC
The branch stable/15 has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=86255d85e228d0e7e7b18c225e86b9040da17656
commit 86255d85e228d0e7e7b18c225e86b9040da17656
Author: Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-08-24 08:18:43 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-08-24 08:18:43 +0000
ixl: Fix build after VF reset changes
VF_FLAG_INITIALIZED belongs to the SR-IOV status-reporting interface,
which was not merged to stable/15. The VF reset MFCs accidentally kept
two status-only clears without the flag definition or the corresponding
set operation.
Remove the clears rather than pulling the unrelated reporting interface
into stable/15. They do not participate in hardware reset sequencing.
Fixes: d252dd2a841c ("ixl: Rebuild VF resources after a PF reset")
Fixes: 1319574637fb ("ixl: Quiesce VF DMA before a PF reset")
---
sys/dev/ixl/ixl_pf_iov.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/ixl/ixl_pf_iov.c b/sys/dev/ixl/ixl_pf_iov.c
index ae6ae16ac56d..2ecbed5bea14 100644
--- a/sys/dev/ixl/ixl_pf_iov.c
+++ b/sys/dev/ixl/ixl_pf_iov.c
@@ -2083,7 +2083,6 @@ ixl_hold_vfs_in_reset(struct ixl_pf *pf)
vf = &pf->vfs[i];
if (!(vf->vf_flags & VF_FLAG_ENABLED))
continue;
- vf->vf_flags &= ~VF_FLAG_INITIALIZED;
vfrtrig = rd32(hw, I40E_VPGEN_VFRTRIG(vf->vf_num));
vfrtrig |= I40E_VPGEN_VFRTRIG_VFSWR_MASK;
wr32(hw, I40E_VPGEN_VFRTRIG(vf->vf_num), vfrtrig);
@@ -2191,7 +2190,6 @@ ixl_rebuild_vfs_after_reset(struct ixl_pf *pf)
if (!(vf->vf_flags & VF_FLAG_ENABLED))
continue;
- vf->vf_flags &= ~VF_FLAG_INITIALIZED;
vf->vsi.seid = 0;
vf->vsi.vsi_num = 0;
vf->vsi.num_tx_queues = 0;