[dpdk-dev] [PATCH v17 04/10] drivers/net: update Rx RSS hash offload capabilities

Pavan Nikhilesh Bhagavatula pbhagavatula at marvell.com
Mon Nov 11 16:10:40 CET 2019


>On 11/11/2019 1:19 PM, pbhagavatula at marvell.com wrote:
>> diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
>> index 931e4f4fe..6bc85a3d5 100644
>> --- a/drivers/net/mlx4/mlx4.c
>> +++ b/drivers/net/mlx4/mlx4.c
>> @@ -248,6 +248,8 @@ mlx4_dev_configure(struct rte_eth_dev *dev)
>>  	struct rte_flow_error error;
>>  	int ret;
>>
>> +	dev->data->dev_conf.rxmode.offload |=
>DEV_RX_OFFLOAD_RSS_HASH;
>> +
>
>Build still fails because of this change, s/offload/offloads, I can fix it
>while
>merging if this is the only issue.

My bad since MLX4 and MLX5 are disabled by default normal build script don’t catch the errors

# Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
CONFIG_RTE_LIBRTE_MLX4_PMD=n
CONFIG_RTE_LIBRTE_MLX4_DEBUG=y
# Compile burst-oriented Mellanox ConnectX-4, ConnectX-5,
# ConnectX-6 & Bluefield (MLX5) PMD
CONFIG_RTE_LIBRTE_MLX5_PMD=n
CONFIG_RTE_LIBRTE_MLX5_DEBUG=y


More information about the dev mailing list