net/hns3: add compile-time verification on Rx vector
authorChengwen Feng <fengchengwen@huawei.com>
Sat, 17 Apr 2021 09:54:54 +0000 (17:54 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 20 Apr 2021 00:40:43 +0000 (02:40 +0200)
commitcb12e988f35fc75e5a4bbeb86059ffb2772757c5
treeca74b6cfa9e19ba1b80367ccd8aa0308dc5c77c6
parent4d07cbefe3ba08f398ed5602407df8dd81e1f41a
net/hns3: add compile-time verification on Rx vector

Rx vector implementation depends on the mbuf fields
(such as rearm_data/rx_descriptor_fields1) layout, this patch adds
compile-time verification for this.

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