The branch main has been updated by gallatin:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=17859d538c23d6faa5a5512262d678377130e591

commit 17859d538c23d6faa5a5512262d678377130e591
Author:     Andrew Gallatin <galla...@freebsd.org>
AuthorDate: 2022-12-06 16:35:18 +0000
Commit:     Andrew Gallatin <galla...@freebsd.org>
CommitDate: 2022-12-06 16:35:18 +0000

    ixl: silence runtime warning when PCI_IOV is not enabled
    
    When PCI_IOV is not enabled, do not attempt to call
    iflib_softirq_alloc_generic(...IFLIB_INTR_IOV), as it results
    in boot-time warnings similar to:
            taskqgroup_attach_cpu: qid not found for iov cpu=2
            ixl2: taskqgroup_attach_cpu failed 22
    Instead, make it conditional on PCI_IOV like the other
    SR-IOV related code.
    
    Reviewed by:    erj
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D37609
---
 sys/dev/ixl/if_ixl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c
index cb3ce72a95ed..352a35d95512 100644
--- a/sys/dev/ixl/if_ixl.c
+++ b/sys/dev/ixl/if_ixl.c
@@ -1064,8 +1064,11 @@ ixl_if_msix_intr_assign(if_ctx_t ctx, int msix)
                    "Failed to register Admin Que handler");
                return (err);
        }
+
+#ifdef PCI_IOV
        /* Create soft IRQ for handling VFLRs */
        iflib_softirq_alloc_generic(ctx, NULL, IFLIB_INTR_IOV, pf, 0, "iov");
+#endif
 
        /* Now set up the stations */
        for (i = 0, vector = 1; i < vsi->shared->isc_nrxqsets; i++, vector++, 
rx_que++) {

Reply via email to