[dpdk-stable] [PATCH v2] examples/vhost: fix remove dev_info.max_rx_queues checking to solve startup failure
Yuanhan Liu
yliu at fridaylinux.org
Wed Jan 10 13:36:06 CET 2018
On Wed, Jan 10, 2018 at 02:01:01PM +0800, Zhiyong Yang wrote:
> For vhost sample, the operation if (dev_info.max_rx_queues >
> MAX_QUEUES) in the function port_init causes startup failure
> when using X710(i40e driver). X710 requires that MAX_QUEUES
> should be defined no less than 320, however it is defined as
> 128 currently.
>
> Such checking is overkill and Removal don't affect any
> functionality (have already validated ixgbe and i40e).
>
> The removal can avoid similar issue when introduing new physical
> NIC.
>
> Fixes: 8bd6c395a568("examples/vhost: increase maximum queue number")
> Cc: stable at dpdk.org
>
> Signed-off-by: Zhiyong Yang <zhiyong.yang at intel.com>
Applied to dpdk-next-virtio.
Thanks.
--yliu
More information about the stable
mailing list