src/dpdk/drivers/net/bnxt/tf_ulp/ulp_utils.c
uint8_t *
ulp_blob_data_get(struct ulp_blob *blob,
		  uint16_t *datalen)
{
	/* validate the arguments */
	if (!blob) {
		BNXT_TF_DBG(ERR, "invalid argument\n");
		return NULL; /* failure */
	}
	*datalen = blob->write_idx;
	return blob->data;
}
/*
 * Get the data portion of the binary blob.
 *
 * blob [in] The blob's data to be retrieved. The blob must be
 * initialized prior to pushing data.
 *
 * datalen [out] The number of bits to that are filled.
 *
 * returns a byte array of the blob data.  Returns NULL on error.
 */
Get the data portion of the binary blob.
blob [in] The blob's data to be retrieved. The blob must be
initialized prior to pushing data.

datalen [out] The number of bits to that are filled.

returns a byte array of the blob data.  Returns NULL on error.
Get the data portion of the binary blob . blob [ in ] The blob ' s data to be retrieved . The blob must be initialized prior to pushing data . datalen [ out ] The number of bits to that are filled . returns a byte array of the blob data . Returns NULL on error .
uint8_t *
ulp_blob_data_get(struct ulp_blob *blob,
		  uint16_t *datalen)
{
	if (!blob) {
		BNXT_TF_DBG(ERR, "invalid argument\n");
		return NULL; 
	}
	*datalen = blob->write_idx;
	return blob->data;
}
uint8_t * ulp_blob_data_get ( struct ulp_blob * blob , uint16_t * datalen ) { if ( ! blob ) { BNXT_TF_DBG ( ERR , " \n " ) ; return NULL ; } * datalen = blob -> write_idx ; return blob -> data ; }
Get the data portion of the binary blob.
Get the data portion of the binary blob .
/* validate the arguments */ /* failure */