Revision 0ca00fc1f808602137dc6d51f17747b3bb0fc34d authored by Eli Cohen on 09 June 2016, 21:07:40 UTC, committed by David S. Miller on 10 June 2016, 05:06:27 UTC
Blue flame is a latency enhancement feature that allows the driver to
write the packet data directly to the NIC's registers thus making the
read of the packet data from host memory redundant.

We maintain a quota for the blue flame which is reloaded whenever we
identify that the hardware is processing send requests and processes
them fast enough so by the time we post the next send request it was
able to process all the pending ones. This indicates that the hardware
is capable of processing more blue flame requests efficiently. The blue
flame quota is decremented whenever we send using blue flame.

The current code erroneously clears the budget if we did not use blue
flame for the current post send operation and we fix it here.

Fixes: 88a85f99e51f ('net/mlx5e: TX latency optimization to save DMA reads')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 811afea
History
File Mode Size
Kconfig -rw-r--r-- 509 bytes
Makefile -rw-r--r-- 274 bytes
compr.c -rw-r--r-- 1.8 KB
dev_bdev.c -rw-r--r-- 7.6 KB
dev_mtd.c -rw-r--r-- 6.6 KB
dir.c -rw-r--r-- 20.1 KB
file.c -rw-r--r-- 7.0 KB
gc.c -rw-r--r-- 20.2 KB
inode.c -rw-r--r-- 11.3 KB
journal.c -rw-r--r-- 23.7 KB
logfs.h -rw-r--r-- 23.7 KB
logfs_abi.h -rw-r--r-- 16.8 KB
readwrite.c -rw-r--r-- 55.7 KB
segment.c -rw-r--r-- 24.2 KB
super.c -rw-r--r-- 16.3 KB

back to top