net/enic: consolidate and remove some defines
authorJohn Daley <johndale@cisco.com>
Tue, 14 Jan 2020 00:24:50 +0000 (16:24 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commit04e8ec74192ae4bc537e4854410551255bf85cf5
tree10409981dbd0125758980bb8fdcdcd1a2f8aae5a
parent846ac76c82a262069f6573387ef04ba1882deeb6
net/enic: consolidate and remove some defines

There were defines which originally allowed sharing of some code with
the enic kernel driver. The code has long since diverged and now the
abstraction just makes the code harder to read. Mostly mechanical
replacement of defines and reformatting.

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
29 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_cq.h
drivers/net/enic/base/vnic_dev.c
drivers/net/enic/base/vnic_dev.h
drivers/net/enic/base/vnic_devcmd.h
drivers/net/enic/base/vnic_enet.h
drivers/net/enic/base/vnic_intr.c
drivers/net/enic/base/vnic_intr.h
drivers/net/enic/base/vnic_nic.h
drivers/net/enic/base/vnic_resource.h
drivers/net/enic/base/vnic_rq.c
drivers/net/enic/base/vnic_rq.h
drivers/net/enic/base/vnic_rss.h
drivers/net/enic/base/vnic_stats.h
drivers/net/enic/base/vnic_wq.c
drivers/net/enic/base/vnic_wq.h
drivers/net/enic/base/wq_enet_desc.h
drivers/net/enic/enic.h
drivers/net/enic/enic_clsf.c
drivers/net/enic/enic_compat.h
drivers/net/enic/enic_flow.c
drivers/net/enic/enic_fm_flow.c
drivers/net/enic/enic_main.c
drivers/net/enic/enic_res.c
drivers/net/enic/enic_res.h
drivers/net/enic/enic_rxtx.c