Based on latest implemenation of struct VIRTCHNL_QUEUE_TYPE_RX
in virtchnl2.h, qg_info field is removed and its members are
updated in the abve mentioned structure. Hence updating the same.

Signed-off-by: Soumyadeep Hore <soumyadeep.h...@intel.com>
---
 drivers/common/idpf/idpf_common_virtchnl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/idpf/idpf_common_virtchnl.c 
b/drivers/common/idpf/idpf_common_virtchnl.c
index c46ed50eb5..f00202f43c 100644
--- a/drivers/common/idpf/idpf_common_virtchnl.c
+++ b/drivers/common/idpf/idpf_common_virtchnl.c
@@ -366,7 +366,7 @@ idpf_vc_queue_grps_add(struct idpf_vport *vport,
        int err = -1;
 
        size = sizeof(*p2p_queue_grps_info) +
-              (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
+              (p2p_queue_grps_info->num_queue_groups - 1) *
                   sizeof(struct virtchnl2_queue_group_info);
 
        memset(&args, 0, sizeof(args));
-- 
2.43.0

Reply via email to