[dpdk-dev] [PATCH v17 02/10] ethdev: add mbuf RSS update as an offload

Ferruh Yigit ferruh.yigit at intel.com
Wed Nov 13 19:04:03 CET 2019


On 11/11/2019 1:19 PM, pbhagavatula at marvell.com wrote:
> @@ -1305,6 +1306,17 @@ rte_eth_dev_configure(uint16_t port_id, uint16_t nb_rx_q, uint16_t nb_tx_q,
>  		goto rollback;
>  	}
>  
> +	/* Check if Rx RSS distribution is disabled but RSS hash is enabled. */
> +	if (((dev_conf->rxmode.mq_mode & ETH_MQ_RX_RSS_FLAG) == 0) &&
> +	    (dev_conf->rxmode.offloads & DEV_RX_OFFLOAD_RSS_HASH)) {
> +		RTE_ETHDEV_LOG(ERR,
> +			"Ethdev port_id=%u config invalid Rx mq_mode without RSS but %s offload is requested",
> +			port_id,
> +			rte_eth_dev_rx_offload_name(DEV_RX_OFFLOAD_RSS_HASH));

"\n" is missing in the log, can you please send a fix?



More information about the dev mailing list