[dpdk-dev] [PATCH v3] net/hns3: add runtime config to set MBX limit time

Ferruh Yigit ferruh.yigit at intel.com
Fri Oct 22 04:13:37 CEST 2021


On 10/22/2021 2:38 AM, Min Hu (Connor) wrote:
> From: Chengchang Tang <tangchengchang at huawei.com>
> 
> Current, the max waiting time for MBX response is 500ms, but in
> some scenarios, it is not enough. Since it depends on the response
> of the kernel mode driver, and its response time is related to the
> scheduling of the system. In this special scenario, most of the
> cores are isolated, and only a few cores are used for system
> scheduling. When a large number of services are started, the
> scheduling of the system will be very busy, and the reply of the
> mbx message will time out, which will cause our PMD initialization
> to fail.
> 
> This patch add a runtime config to set the max wait time. For the
> above scenes, users can adjust the waiting time to a suitable value
> by themselves.
> 
> Fixes: 463e748964f5 ("net/hns3: support mailbox")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chengchang Tang <tangchengchang at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>

Applied to dpdk-next-net/main, thanks.



More information about the dev mailing list