enic: improve Tx packet rate
authorJohn Daley <johndale@cisco.com>
Thu, 29 Oct 2015 18:45:16 +0000 (11:45 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 30 Oct 2015 17:34:37 +0000 (18:34 +0100)
commitd739ba4c6abf00eeeb680ab4e9540899182ea74d
treef50087373289fbaa0feb5a053c61defc0b35f4b2
parent4009b369e742fbbccc0e24b4157196037b43106b
enic: improve Tx packet rate

For every packet sent, a completion was being requested and the
posted_index register on the nic was being updated. Instead, request a
completion and update the posted index once per burst after all
packets have been sent by the burst function.

Signed-off-by: John Daley <johndale@cisco.com>
Acked-by: Sujith Sankar <ssujith@cisco.com>
drivers/net/enic/base/enic_vnic_wq.h [new file with mode: 0644]
drivers/net/enic/enic.h
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c