net/hinic: refactor checksum functions
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Sat, 25 Jul 2020 08:15:33 +0000 (16:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commit8c8b61234ffd9a283cecbf9751942cbdb87d68f6
tree68fd3d61e5df1cf99a17677a6d56c654bbf9cd2e
parent1ccc4790148f6d6c8f8f45f45345a919b45b25a9
net/hinic: refactor checksum functions

Encapsulate different types of packet checksum preprocessing
into functions.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/hinic_pmd_tx.c