]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/tf_ulp/ulp_port_db.c
net/bnxt: configure PARIF for egress rules
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_port_db.c
index 0fc7c0ab21fefdce09e561a3e0464a70e6aaf2a3..30876478d2c97e6e71a120452cbd9056520c711e 100644 (file)
@@ -372,6 +372,8 @@ ulp_port_db_parif_get(struct bnxt_ulp_context *ulp_ctxt,
                phy_port_id = port_db->ulp_func_id_tbl[func_id].phy_port_id;
                *parif = port_db->phy_port_list[phy_port_id].port_parif;
        }
+       /* Parif needs to be reset to a free partition */
+       *parif += BNXT_ULP_FREE_PARIF_BASE;
 
        return 0;
 }