net/enic: use mbuf pointer array for inflight Tx packets
authorHyong Youb Kim <hyonkim@cisco.com>
Fri, 29 Jun 2018 09:29:37 +0000 (02:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:54:19 +0000 (01:54 +0200)
commitd355a942b10a42d83eb7a736036c3f7cbd8efd4d
tree6d15af684f75dd74d456416a19de481d34bf1716
parent8a4efd17410c7896c78d7204219eca8b9d4a88d4
net/enic: use mbuf pointer array for inflight Tx packets

WQ is currently using vnic_wq_buf to store mbuf pointers for Tx
packets. But, it contains an unused mempool pointer and mbuf is
unnecessarily cast to void pointer. Remove vnic_wq_buf entirely and
use an mbuf pointer array instead.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/base/vnic_wq.c
drivers/net/enic/base/vnic_wq.h
drivers/net/enic/enic_main.c
drivers/net/enic/enic_rxtx.c