Loading
net/hinic: Fix data inconsistency in the forwarding scenario when DCB is turned on
driver inclusion category: bugfix bugzilla: 4472 ----------------------------------------------------------------------- When there are multiple priority packets in a tx queue in 1822, the out-of-sequence of the sent packets will cause data inconsistency. When DCB is enabled and Layer 2 forwarding is configured, when the receiving vlan device is configured with ingress_map, the priority of skb may be mapped to a non-zero value. The hinic driver first selects the queue through skb-> priority, but the priority is fixed to use vlan priority. As a result, there may be multiple priorities for the same tx queue. Therefore, the driver is modified to only select the queue through the VLAN priority. Signed-off-by:Chiqijun <chiqijun@huawei.com> Reviewed-by:
Zengweiliang <zengweiliang.zengweiliang@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>