net/hns3: fix typos in IPv6 SCTP fields
Fix spelling errors about IPV6-SCTP macro.
Fixes: 1bc633c340
("net/hns3: enable RSS for IPv6-SCTP dst/src port fields")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
This commit is contained in:
parent
c56a1956b9
commit
2ecfc36ce1
@ -57,8 +57,8 @@ enum hns3_tuple_field {
|
||||
HNS3_RSS_FIELD_IPV6_UDP_EN_IP_S,
|
||||
|
||||
/* IPV6_SCTP ENABLE FIELD */
|
||||
HNS3_RSS_FILED_IPV6_SCTP_EN_SCTP_D = 48,
|
||||
HNS3_RSS_FILED_IPV6_SCTP_EN_SCTP_S,
|
||||
HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_D = 48,
|
||||
HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_S,
|
||||
HNS3_RSS_FIELD_IPV6_SCTP_EN_IP_D,
|
||||
HNS3_RSS_FIELD_IPV6_SCTP_EN_IP_S,
|
||||
HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_VER,
|
||||
@ -135,9 +135,9 @@ static const struct {
|
||||
{ RTE_ETH_RSS_NONFRAG_IPV6_SCTP | RTE_ETH_RSS_L3_DST_ONLY,
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_IP_D) },
|
||||
{ RTE_ETH_RSS_NONFRAG_IPV6_SCTP | RTE_ETH_RSS_L4_SRC_ONLY,
|
||||
BIT_ULL(HNS3_RSS_FILED_IPV6_SCTP_EN_SCTP_S) },
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_S) },
|
||||
{ RTE_ETH_RSS_NONFRAG_IPV6_SCTP | RTE_ETH_RSS_L4_DST_ONLY,
|
||||
BIT_ULL(HNS3_RSS_FILED_IPV6_SCTP_EN_SCTP_D) },
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_D) },
|
||||
{ RTE_ETH_RSS_IPV6 | RTE_ETH_RSS_L3_SRC_ONLY,
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_NONFRAG_IP_S) },
|
||||
{ RTE_ETH_RSS_IPV6 | RTE_ETH_RSS_L3_DST_ONLY,
|
||||
@ -185,8 +185,8 @@ static const struct {
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_UDP_EN_UDP_D) },
|
||||
{ RTE_ETH_RSS_NONFRAG_IPV6_SCTP, BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_IP_S) |
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_IP_D) |
|
||||
BIT_ULL(HNS3_RSS_FILED_IPV6_SCTP_EN_SCTP_D) |
|
||||
BIT_ULL(HNS3_RSS_FILED_IPV6_SCTP_EN_SCTP_S) |
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_D) |
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_S) |
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_SCTP_EN_SCTP_VER) },
|
||||
{ RTE_ETH_RSS_IPV6,
|
||||
BIT_ULL(HNS3_RSS_FIELD_IPV6_NONFRAG_IP_S) |
|
||||
|
Loading…
Reference in New Issue
Block a user