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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 699 bytes |
Makefile | -rw-r--r-- | 248 bytes |
balloc.c | -rw-r--r-- | 19.2 KB |
dir.c | -rw-r--r-- | 5.1 KB |
directory.c | -rw-r--r-- | 5.7 KB |
ecma_167.h | -rw-r--r-- | 22.0 KB |
file.c | -rw-r--r-- | 6.4 KB |
ialloc.c | -rw-r--r-- | 3.3 KB |
inode.c | -rw-r--r-- | 65.9 KB |
lowlevel.c | -rw-r--r-- | 1.5 KB |
misc.c | -rw-r--r-- | 7.7 KB |
namei.c | -rw-r--r-- | 34.5 KB |
osta_udf.h | -rw-r--r-- | 8.2 KB |
partition.c | -rw-r--r-- | 8.6 KB |
super.c | -rw-r--r-- | 65.9 KB |
symlink.c | -rw-r--r-- | 3.3 KB |
truncate.c | -rw-r--r-- | 7.9 KB |
udf_i.h | -rw-r--r-- | 1.7 KB |
udf_sb.h | -rw-r--r-- | 4.2 KB |
udfdecl.h | -rw-r--r-- | 8.4 KB |
udfend.h | -rw-r--r-- | 1.6 KB |
udftime.c | -rw-r--r-- | 5.8 KB |
unicode.c | -rw-r--r-- | 8.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...