aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-10-05 12:35:13 +0300
committerDavid S. Miller <[email protected]>2014-10-06 01:04:15 -0400
commit3d03641cb4ea050f969dd3ab34113adb95287f36 (patch)
treeb1cbd2ba62c956e93d88ccde59437d46b21e13da /include/linux/fpga/fpga-mgr.h
parentdc9b06d156cefb95f7f6a3ac0521a3efa31d6805 (diff)
net/mlx4_en: Avoid a cache line miss in TX completion for single frag skb's
Add frag0_dma/frag0_byte_count into mlx4_en_tx_info to avoid a cache line miss in TX completion for frames having one dma element. (We avoid reading back the tx descriptor) Note this could be extended to 2/3 dma elements later, as we have free room in mlx4_en_tx_info Also, mlx4_en_free_tx_desc() no longer accesses skb_shinfo(). We use a new nr_maps fields in mlx4_en_tx_info to avoid 2 or 3 cache misses. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions