src/dpdk/drivers/net/bnxt/tf_ulp/ulp_mapper.c
static int32_t
ulp_mapper_tcam_tbl_scan_ident_extract(struct bnxt_ulp_mapper_parms *parms,
				       struct bnxt_ulp_mapper_tbl_info *tbl,
				       struct ulp_blob *data)
{
	struct bnxt_ulp_mapper_ident_info *idents;
	uint32_t num_idents = 0, i;
	int32_t rc = 0;

	/*
	 * Extract the listed identifiers from the result field,
	 * no need to allocate them.
	 */
	idents = ulp_mapper_ident_fields_get(parms, tbl, &num_idents);
	for (i = 0; i < num_idents; i++) {
		rc = ulp_mapper_ident_extract(parms, tbl, &idents[i], data);
		if (rc) {
			BNXT_TF_DBG(ERR, "Error in identifier extraction\n");
			return rc;
		}
	}
	return rc;
}
/*
 * Tcam table scan the identifier list and extract the identifier from
 * the result blob.
 */
Tcam table scan the identifier list and extract the identifier from
the result blob.
Tcam table scan the identifier list and extract the identifier from the result blob .
static int32_t
ulp_mapper_tcam_tbl_scan_ident_extract(struct bnxt_ulp_mapper_parms *parms,
				       struct bnxt_ulp_mapper_tbl_info *tbl,
				       struct ulp_blob *data)
{
	struct bnxt_ulp_mapper_ident_info *idents;
	uint32_t num_idents = 0, i;
	int32_t rc = 0;
	idents = ulp_mapper_ident_fields_get(parms, tbl, &num_idents);
	for (i = 0; i < num_idents; i++) {
		rc = ulp_mapper_ident_extract(parms, tbl, &idents[i], data);
		if (rc) {
			BNXT_TF_DBG(ERR, "Error in identifier extraction\n");
			return rc;
		}
	}
	return rc;
}
static int32_t ulp_mapper_tcam_tbl_scan_ident_extract ( struct bnxt_ulp_mapper_parms * parms , struct bnxt_ulp_mapper_tbl_info * tbl , struct ulp_blob * data ) { struct bnxt_ulp_mapper_ident_info * idents ; uint32_t num_idents = 0 , i ; int32_t rc = 0 ; idents = ulp_mapper_ident_fields_get ( parms , tbl , & num_idents ) ; for ( i = 0 ; i < num_idents ; i ++ ) { rc = ulp_mapper_ident_extract ( parms , tbl , & idents [ i ] , data ) ; if ( rc ) { BNXT_TF_DBG ( ERR , " \n " ) ; return rc ; } } return rc ; }
Tcam table scan the identifier list and extract the identifier from
 the result blob.
Tcam table scan the identifier list and extract the identifier from the result blob .
/*
	 * Extract the listed identifiers from the result field,
	 * no need to allocate them.
	 */