From: Kommula Shiva Shankar <kshan...@marvell.com>

This patch converts aura handle to aura id
while initialising inline dev sso xaq aura

Signed-off-by: Kommula Shiva Shankar <kshan...@marvell.com>
---
 drivers/common/cnxk/roc_nix_inl_dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c 
b/drivers/common/cnxk/roc_nix_inl_dev.c
index c3d94dd0da..4ab4209dba 100644
--- a/drivers/common/cnxk/roc_nix_inl_dev.c
+++ b/drivers/common/cnxk/roc_nix_inl_dev.c
@@ -265,7 +265,7 @@ nix_inl_sso_setup(struct nix_inl_dev *inl_dev)
        }
 
        /* Setup xaq for hwgrps */
-       rc = sso_hwgrp_alloc_xaq(dev, inl_dev->xaq.aura_handle, 1);
+       rc = sso_hwgrp_alloc_xaq(dev, 
roc_npa_aura_handle_to_aura(inl_dev->xaq.aura_handle), 1);
        if (rc) {
                plt_err("Failed to setup hwgrp xaq aura, rc=%d", rc);
                goto destroy_pool;
-- 
2.25.1

Reply via email to