net/enic: add the simple version of Tx handler
authorHyong Youb Kim <hyonkim@cisco.com>
Fri, 29 Jun 2018 09:29:40 +0000 (02:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:54:23 +0000 (01:54 +0200)
commited933c35caab31f8923d9809d0dcae275feed000
treec55f5af60f1fa639a6c57238ce843364e13cc168
parentc55614d102a3250372d428ebfd116308bfae8d04
net/enic: add the simple version of Tx handler

Add a much-simplified handler that works when all offloads are
disabled, except mbuf fast free. When compared against the default
handler, under ideal conditions, cycles per packet drop by 60+%.
The driver tries to use the simple handler first.

The idea of using specialized/simplified handlers is from the Intel
and Mellanox drivers.

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