The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=51ed28c12f30519bd803fc367dd942398f0de6e3

commit 51ed28c12f30519bd803fc367dd942398f0de6e3
Author:     Krzysztof Galazka <krzysztof.gala...@intel.com>
AuthorDate: 2025-03-13 08:46:30 +0000
Commit:     Warner Losh <i...@freebsd.org>
CommitDate: 2025-07-18 19:16:17 +0000

    ice(4): Enable WB_ON_ITR capability for VFs (#76)
    
    Let VF driver know that HW supports WB_ON_ITR
    feature. It allows polling mode driver such
    as DPDK to configure an immediate write-back
    of completed descriptors.
    
    Signed-off-by: Krzysztof Galazka <krzysztof.gala...@intel.com>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1573
---
 sys/dev/ice/ice_iov.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/ice/ice_iov.c b/sys/dev/ice/ice_iov.c
index 05393083af16..fc37a0e7679c 100644
--- a/sys/dev/ice/ice_iov.c
+++ b/sys/dev/ice/ice_iov.c
@@ -631,6 +631,9 @@ ice_vc_get_vf_res_msg(struct ice_softc *sc, struct ice_vf 
*vf, u8 *msg_buf)
 
                if (vf_caps & VIRTCHNL_VF_CAP_ADV_LINK_SPEED)
                        vf_res->vf_cap_flags |= VIRTCHNL_VF_CAP_ADV_LINK_SPEED;
+
+               if (vf_caps & VIRTCHNL_VF_OFFLOAD_WB_ON_ITR)
+                        vf_res->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_WB_ON_ITR;
        }
 
        vf_res->vsi_res[0].vsi_id = vf->vsi->idx;

Reply via email to