net/hinic: use common bit operations API
authorJoyce Kong <joyce.kong@arm.com>
Mon, 27 Apr 2020 07:58:56 +0000 (15:58 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Jun 2020 12:34:42 +0000 (14:34 +0200)
commit0371535d46c91ddc7a127e3a294a6c040bd5c763
tree1e2aace48c63e23e1e2415e54b962e78fb5a31d9
parent5018f1fc5f18d517c672559d4cc74784a579e037
net/hinic: use common bit operations API

Remove its own bit operation APIs and use the common one,
this can reduce the code duplication largely.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/net/hinic/base/hinic_compat.h
drivers/net/hinic/hinic_pmd_ethdev.c
drivers/net/hinic/hinic_pmd_ethdev.h