net/hinic: fix SCTP checksum error
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Sat, 31 Oct 2020 03:38:36 +0000 (11:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:07 +0000 (23:35 +0100)
commit0e63dcc9562213915f1256f017d397238896cf77
tree47e3436c355b322751411d2535d939a27d96638f
parentd8d677baffb641d8cdd7e62e6b183c0394b1bcaa
net/hinic: fix SCTP checksum error

For SCTP checksum offload, pmd driver does not parse payload offset
info, which may cause hardware calculate SCTP checksum failed.

Fixes: 8c8b61234ffd ("net/hinic: refactor checksum functions")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/hinic_pmd_tx.c