src/dpdk/drivers/net/mlx5/mlx5_rxq.c
static int
mlx5_ind_table_obj_match_queues(const struct mlx5_ind_table_obj *ind_tbl,
		       const uint16_t *queues, uint32_t queues_n)
{
		return (ind_tbl->queues_n == queues_n) &&
		    (!memcmp(ind_tbl->queues, queues,
			    ind_tbl->queues_n * sizeof(ind_tbl->queues[0])));
}
/**
 * Match queues listed in arguments to queues contained in indirection table
 * object.
 *
 * @param ind_tbl
 *   Pointer to indirection table to match.
 * @param queues
 *   Queues to match to ques in indirection table.
 * @param queues_n
 *   Number of queues in the array.
 *
 * @return
 *   1 if all queues in indirection table match 0 othrwise.
 */
Match queues listed in arguments to queues contained in indirection table
object.

@param ind_tbl
Pointer to indirection table to match.
@param queues
Queues to match to ques in indirection table.
@param queues_n
Number of queues in the array.

@return
1 if all queues in indirection table match 0 othrwise.
Match queues listed in arguments to queues contained in indirection table object . @param ind_tbl Pointer to indirection table to match . @param queues Queues to match to ques in indirection table . @param queues_n Number of queues in the array . @return 1 if all queues in indirection table match 0 othrwise .
static int
mlx5_ind_table_obj_match_queues(const struct mlx5_ind_table_obj *ind_tbl,
		       const uint16_t *queues, uint32_t queues_n)
{
		return (ind_tbl->queues_n == queues_n) &&
		    (!memcmp(ind_tbl->queues, queues,
			    ind_tbl->queues_n * sizeof(ind_tbl->queues[0])));
}
static int mlx5_ind_table_obj_match_queues ( const struct mlx5_ind_table_obj * ind_tbl , const uint16_t * queues , uint32_t queues_n ) { return ( ind_tbl -> queues_n == queues_n ) && ( ! memcmp ( ind_tbl -> queues , queues , ind_tbl -> queues_n * sizeof ( ind_tbl -> queues [ 0 ] ) ) ) ; }
Match queues listed in arguments to queues contained in indirection table
 object.
Match queues listed in arguments to queues contained in indirection table object .