summaryrefslogtreecommitdiff
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2015-06-23 14:14:18 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-06-24 07:42:37 (GMT)
commit059ba072eba4d6e10ab637779013960a7c9ddce2 (patch)
treee9711602004814e252867e16c1cf7363a5f5cd0c /kernel/cpuset.c
parent9fc5930625bcf7c519db84023ec720e7f2f7f61c (diff)
downloadlinux-059ba072eba4d6e10ab637779013960a7c9ddce2.tar.xz
net/mlx5e: Avoid TX CQE generation if more xmit packets expected
In order to save PCI BW consumed by TX CQEs and to reduce the amount of CPU cache misses caused by TX CQE reading, we request TX CQE generation only when skb->xmit_more=0. As a consequence of the above, a single TX CQE may now indicate the transmission completion of multiple TX SKBs. This also handles a problem introduced in commit b1b8105ebf41 "net/mlx5e: Support NETIF_F_SG" where we didn't ask for NOP completions while the driver didn't have the proper code to handle this case. Fixes: b1b8105ebf41 ('net/mlx5e: Support NETIF_F_SG') Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions