Centos-kernel-stream-9/include/linux/avf
Michal Schmidt 2a3cb07a5b iavf: add support for negotiating flexible RXDID format
JIRA: https://issues.redhat.com/browse/RHEL-83572

commit 2a86e210f1a102614116e347efda59896f780417
Author: Jacob Keller <jacob.e.keller@intel.com>
Date:   Wed Nov 6 12:37:21 2024 -0500

    iavf: add support for negotiating flexible RXDID format

    Enable support for VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, to enable the VF
    driver the ability to determine what Rx descriptor formats are
    available. This requires sending an additional message during
    initialization and reset, the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS. This
    operation requests the supported Rx descriptor IDs available from the
    PF.

    This is treated the same way that VLAN V2 capabilities are handled. Add
    a new set of extended capability flags, used to process send and receipt
    of the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS message.

    This ensures we finish negotiating for the supported descriptor formats
    prior to beginning configuration of receive queues.

    This change stores the supported format bitmap into the iavf_adapter
    structure. Additionally, if VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC is enabled
    by the PF, we need to make sure that the Rx queue configuration
    specifies the format.

    Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
    Reviewed-by: Simon Horman <horms@kernel.org>
    Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
    Co-developed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
    Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
    Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2025-07-02 18:27:16 +02:00
..
virtchnl.h iavf: add support for negotiating flexible RXDID format 2025-07-02 18:27:16 +02:00