]> git.droids-corp.org - dpdk.git/commit
net/mlx5: check delay drop settings in kernel driver
authorBing Zhao <bingz@nvidia.com>
Fri, 5 Nov 2021 15:30:39 +0000 (17:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Nov 2021 16:04:53 +0000 (17:04 +0100)
commite848218741eaf64f09bc3bc47360a24699bd2c77
treeb80c964112e7b58628be8d2bb3c701623888bb05
parentfebcac7b46cdff5e3e12dd049ea191963cabbff7
net/mlx5: check delay drop settings in kernel driver

The delay drop is the common feature managed on per device basis
and the kernel driver is responsible one for the initialization and
rearming.

By default, the timeout value is set to activate the delay drop when
the driver is loaded.

A private flag "dropless_rq" is used to control the rearming. Only
when it is on, the rearming will be handled once received a timeout
event. Or else, the delay drop will be deactivated after the first
timeout occurs and all the Rx queues won't have this feature.

The PMD is trying to query this flag and warn the application when
some queues are created with delay drop but the flag is off.

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/linux/mlx5_ethdev_os.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_trigger.c
drivers/net/mlx5/windows/mlx5_ethdev_os.c