liquidio: xmit_more support
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Thu, 26 Oct 2017 23:18:20 +0000 (16:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:35:23 +0000 (00:35 +0900)
commitc859e21a35ce5604dde0b618169680aa3c7e3bdb
tree8361ee7294804a95c28f7b386c03073901fa1146
parentbc4747514a442b8ca50259a013072ab4f0ce91f3
liquidio: xmit_more support

Defer ringing the Tx doorbell if skb->xmit_more is set unless the Tx queue
is full or stopped.  To keep latency low, use a deferral limit of 8
packets.  We chose 8 because Octeon can fetch at most 8 packets in a single
PCI read, and our tests show that 8 results in low latency.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
drivers/net/ethernet/cavium/liquidio/octeon_config.h
drivers/net/ethernet/cavium/liquidio/octeon_iq.h
drivers/net/ethernet/cavium/liquidio/octeon_main.h
drivers/net/ethernet/cavium/liquidio/octeon_nic.c
drivers/net/ethernet/cavium/liquidio/octeon_nic.h
drivers/net/ethernet/cavium/liquidio/request_manager.c