cxgbe: optimize forwarding performance for 40G
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Thu, 8 Oct 2015 13:46:05 +0000 (19:16 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 Oct 2015 16:49:18 +0000 (18:49 +0200)
commitbf89cbedd2d9a48e2c0c4b5ce4da628b3a71db5c
tree85da5ebfbed67278bfad84ce741cf1ba8b8d842f
parent14b094a401da7ef77200ead7cb9a402dfb8d4f3e
cxgbe: optimize forwarding performance for 40G

Update sge initialization with respect to free-list manager configuration
and ingress arbiter. Also update refill logic to refill mbufs only after
a certain threshold for rx.  Optimize tx packet prefetch.

Approx. 3 MPPS improvement seen in forwarding performance after the
optimization.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
doc/guides/rel_notes/release_2_2.rst
drivers/net/cxgbe/base/t4_regs.h
drivers/net/cxgbe/cxgbe_main.c
drivers/net/cxgbe/sge.c