net/hinic/base: modify VHD type for SDI
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Sat, 25 Jul 2020 08:15:35 +0000 (16:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commitee2cf75e1be583f22b7614b56e1df73845e96bac
tree8e41a8ffdaadc278ad5bf0945584addd95adb8fc
parentfae4b8c47c25286e5d87cde55ff16d1bed298e15
net/hinic/base: modify VHD type for SDI

For ovs offload scenario, when fw processes the virtio header,
there is no need to offset; and for standard card scenarios,
fw does not care about the vhd_type parameter, so in order to
be compatible with these two scenarios, use 0 offset instead.

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