diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2014-09-11 09:57:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-12 18:19:08 -0400 |
commit | d1015645dd535bbf10e52a3ef6d02ee0c3e0b267 (patch) | |
tree | cbd8c73222b92fbef933b7cb95ff38fcd81d55ab /net/sched/sch_generic.c | |
parent | c706471b2601d1c9058e7b866db77f6eb7dd37af (diff) | |
download | linux-d1015645dd535bbf10e52a3ef6d02ee0c3e0b267.tar.bz2 |
sunvnet: Avoid sending superfluous LDC messages.
When sending out a burst of packets across multiple descriptors,
it is sufficient to send one LDC "start" trigger for
the first descriptor, so do not send an LDC "start" for every
pass through vnet_start_xmit. Similarly, it is sufficient to send
one "DRING_STOPPED" trigger for the last dring (and if that
fails, hold off and send the trigger later).
Optimizations to the number of LDC messages helps avoid
filling up the LDC channel with superfluous LDC messages
that risk triggering flow-control on the channel,
and also boosts performance.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Raghuram Kothakota <raghuram.kothakota@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_generic.c')
0 files changed, 0 insertions, 0 deletions