Commit 2367d4e4 authored by Yu'an Wang's avatar Yu'an Wang Committed by Yang Yingliang
Browse files

qm: fix packet loss for acc



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

In this patch, we try to change depth of qm_get_avail_sqe.
For hardware qm, 1023 sqe is full. When sqe reaches 1024, qm sqe
tail equal to head, which will be treated as empty queue, causing
packet loss.

Signed-off-by: default avatarYu'an Wang <wangyuan46@huawei.com>
Reviewed-by: default avatarMingqiang Ling <lingmingqiang@huawei.com>
Reviewed-by: default avatarGuangwei Zhou <zhouguangwei5@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent a6c888a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment