net/enic: replace some PMD macros with standard API
authorJohn Daley <johndale@cisco.com>
Tue, 14 Jan 2020 00:24:49 +0000 (16:24 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commit846ac76c82a262069f6573387ef04ba1882deeb6
tree906ab507753304b6e5fbea0fad1d1c8f6fea47f6
parent7214dda6136131dc5e53308fb29a982f6a88af5d
net/enic: replace some PMD macros with standard API

Use the memzone namesize, Ethernet address length defines from the RTE
header files instead of locally defined versions.
Use the RTE byte swap functions instead of the x86 specific locally
defined versions.

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
13 files changed:
drivers/net/enic/base/cq_desc.h
drivers/net/enic/base/cq_enet_desc.h
drivers/net/enic/base/rq_enet_desc.h
drivers/net/enic/base/vnic_cq.c
drivers/net/enic/base/vnic_dev.c
drivers/net/enic/base/vnic_rq.c
drivers/net/enic/base/vnic_wq.c
drivers/net/enic/base/wq_enet_desc.h
drivers/net/enic/enic.h
drivers/net/enic/enic_compat.h
drivers/net/enic/enic_fm_flow.c
drivers/net/enic/enic_main.c
drivers/net/enic/enic_rxtx_common.h