src/dpdk/drivers/net/bnxt/tf_core/tf_rm.c
static void
tf_rm_log_residuals(enum tf_dir dir,
		    enum tf_device_module_type type,
		    uint16_t count,
		    uint16_t *residuals)
{
	int i;

	/* Walk the residual array and log the types that wasn't
	 * cleaned up to the console.
	 */
	for (i = 0; i < count; i++) {
		if (residuals[i] != 0)
			TFP_DRV_LOG(ERR,
				"%s, %s was not cleaned up, %d outstanding\n",
				tf_dir_2_str(dir),
				tf_device_module_type_subtype_2_str(type, i),
				residuals[i]);
	}
}
/**
 * Logs an array of found residual entries to the console.
 *
 * [in] dir
 *   Receive or transmit direction
 *
 * [in] type
 *   Type of Device Module
 *
 * [in] count
 *   Number of entries in the residual array
 *
 * [in] residuals
 *   Pointer to an array of residual entries. Array is index same as
 *   the DB in which this function is used. Each entry holds residual
 *   value for that entry.
 */
Logs an array of found residual entries to the console.
[in] dir
Receive or transmit direction

[in] type
Type of Device Module

[in] count
Number of entries in the residual array

[in] residuals
Pointer to an array of residual entries. Array is index same as
the DB in which this function is used. Each entry holds residual
value for that entry.
Logs an array of found residual entries to the console . [ in ] dir Receive or transmit direction [ in ] type Type of Device Module [ in ] count Number of entries in the residual array [ in ] residuals Pointer to an array of residual entries . Array is index same as the DB in which this function is used . Each entry holds residual value for that entry .
static void
tf_rm_log_residuals(enum tf_dir dir,
		    enum tf_device_module_type type,
		    uint16_t count,
		    uint16_t *residuals)
{
	int i;
	for (i = 0; i < count; i++) {
		if (residuals[i] != 0)
			TFP_DRV_LOG(ERR,
				"%s, %s was not cleaned up, %d outstanding\n",
				tf_dir_2_str(dir),
				tf_device_module_type_subtype_2_str(type, i),
				residuals[i]);
	}
}
static void tf_rm_log_residuals ( enum tf_dir dir , enum tf_device_module_type type , uint16_t count , uint16_t * residuals ) { int i ; for ( i = 0 ; i < count ; i ++ ) { if ( residuals [ i ] != 0 ) TFP_DRV_LOG ( ERR , " \n " , tf_dir_2_str ( dir ) , tf_device_module_type_subtype_2_str ( type , i ) , residuals [ i ] ) ; } }
Logs an array of found residual entries to the console.
Logs an array of found residual entries to the console .
/* Walk the residual array and log the types that wasn't
	 * cleaned up to the console.
	 */