| 146bf091 | 07-Sep-2021 |
Haiyue Wang <[email protected]> |
common/iavf: remove flow director query opcode
The VIRTCHNL_OP_QUERY_FDIR_FILTER opcode is not used, so remove it.
Signed-off-by: Haiyue Wang <[email protected]> Acked-by: Qi Zhang <qi.z.zhang@
common/iavf: remove flow director query opcode
The VIRTCHNL_OP_QUERY_FDIR_FILTER opcode is not used, so remove it.
Signed-off-by: Haiyue Wang <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 67edb141 | 07-Sep-2021 |
Alvin Zhang <[email protected]> |
common/iavf: enable hash calculation based on L4 checksum
Add TCP/UDP/SCTP header checksum field selectors, they can be used in creating FDIR or RSS rules related to TCP/UDP/SCTP header checksum.
S
common/iavf: enable hash calculation based on L4 checksum
Add TCP/UDP/SCTP header checksum field selectors, they can be used in creating FDIR or RSS rules related to TCP/UDP/SCTP header checksum.
Signed-off-by: Alvin Zhang <[email protected]> Signed-off-by: Haiyue Wang <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 6b62423f | 01-Jul-2021 |
Ting Xu <[email protected]> |
common/iavf: support ETS-based QoS offload configuration
This patch adds new virtchnl opcodes and structures for QoS configuration, which includes: 1. VIRTCHNL_VF_OFFLOAD_TC, to negotiate the capabi
common/iavf: support ETS-based QoS offload configuration
This patch adds new virtchnl opcodes and structures for QoS configuration, which includes: 1. VIRTCHNL_VF_OFFLOAD_TC, to negotiate the capability supporting QoS configuration. If VF and PF both have this flag, then the ETS-based QoS offload function is supported. 2. VIRTCHNL_OP_DCF_CONFIG_BW, DCF is supposed to configure min and max bandwidth for each VF per enabled TCs. To make the VSI node bandwidth configuration work, DCF also needs to configure TC node bandwidth directly. 3. VIRTCHNL_OP_GET_QOS_CAPS, VF queries current QoS configuration, such as enabled TCs, arbiter type, up2tc and bandwidth of VSI node. The configuration is previously set by DCB and DCF, and now is the potential QoS capability of VF. VF can take it as reference to configure queue TC mapping. 4. VIRTCHNL_OP_CONFIG_TC_MAP, set VF queues to TC mapping for all Tx and Rx queues. Queues mapping to one TC should be continuous and all allocated queues should be mapped.
Signed-off-by: Ting Xu <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| 7880d1d4 | 24-Apr-2021 |
Qi Zhang <[email protected]> |
common/iavf: use macro to define offload/capability
Currently raw hex values are used to define specific bits for each offload/capability in virtchnl.h. The can and has led to duplicate defined bits
common/iavf: use macro to define offload/capability
Currently raw hex values are used to define specific bits for each offload/capability in virtchnl.h. The can and has led to duplicate defined bits. Fix this by using the BIT() macro so it's immediately obvious which bits are used/available.
Signed-off-by: Brett Creeley <[email protected]> Signed-off-by: Qi Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|
| 8265d39a | 24-Apr-2021 |
Qi Zhang <[email protected]> |
common/iavf: add enumeration for Rx descriptor ID
Support for allowing VFs to negotiate the descriptor format was added previously.
This support requires that the VF specify which descriptor format
common/iavf: add enumeration for Rx descriptor ID
Support for allowing VFs to negotiate the descriptor format was added previously.
This support requires that the VF specify which descriptor format to use when requesting Rx queues. The VF is supposed to request the set of supported formats via the new VIRTCHNL_OP_GET_SUPPORTED_RXDIDS, and then set one of the supported formats in the rxdid field of the virtchnl_rxq_info structure.
The virtchnl.h header does not provide an enumeration of the format values. The existing implementations in the PF directly use the values from the DDP package.
Make the formats explicit by defining an enumeration of the RXDIDs. Provide an enumeration for the values as well as the bit positions as returned by the supported_rxdids data from the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS.
Signed-off-by: Jacob Keller <[email protected]> Signed-off-by: Qi Zhang <[email protected]> Acked-by: Beilei Xing <[email protected]>
show more ...
|