net/hns3: list supported ptypes for advanced Rx descriptor
authorChengwen Feng <fengchengwen@huawei.com>
Tue, 13 Apr 2021 11:50:10 +0000 (19:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 14 Apr 2021 17:45:27 +0000 (19:45 +0200)
commit9d2cca549474061620a291aaf67ca87e43f26140
tree68c347a4a5b7cf441912540352a8264ddb0f39fe
parent55c038c2db5697576e35e23c9dcf1dee97dcee73
net/hns3: list supported ptypes for advanced Rx descriptor

Kunpeng 930 supports RXD advanced layout. If enabled the layout, the
hardware will report packet type by 8-bit PTYPE filed in the Rx
descriptor, and the supported ptypes are different from original
scheme. So this patch adds supported list for RXD advanced layout.

Fixes: fb5e90694022 ("net/hns3: support Rx descriptor advanced layout")

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_rxtx.c