All of lore.kernel.org
 help / color / mirror / Atom feed
From: walter harms <wharms@bfs.de>
To: linux-ppp@vger.kernel.org
Subject: Re: [Patch] fix packet loss and massive ping spikes with PPP 	multi-link
Date: Tue, 25 May 2010 17:30:42 +0000	[thread overview]
Message-ID: <4BFC0942.2030103@bfs.de> (raw)
In-Reply-To: <2d460de71003260850x7f90d04cy79ac853464108182@mail.gmail.com>



Richard Hartmann schrieb:
> Hi Walter,
> 
> 
>> ppp->rrsched never gets resetted, i assume that is somewhere else ?
> 
> *cough* no *cough*
> 
> 
>> can you move the whole block into a separate function ?
>> then it will be easy to remove the ifdef stuff from the core function.
> 
> Did you look at the most current version? It can be found within this
> thread or here [1].
> 
> 
> Richard
> 
> [1] http://lkml.org/lkml/2010/3/31/87
> 

Hi Richard,
thats  looks different. :)

here my questions:

from 	ppp_mp_roundrobin()

  if (ppp->rrsched % ppp->n_channels = i)

since both do not change in that while() loop you can calculate in advance
perhaps ppp->rrsched %= ppp->n_channels before the while ?
(that would reduce my bad feels about variables that only increments also :)

btw: you are doing  after loop() if(pch->chan = NULL) continue;
that means the else in the if below  if (pch->chan) should never be reached.
Or is it likely that some channel will be dropped (?) ?

so the code says:
 go to channel  (ppp->rrsched % ppp->n_channels)
 send packet pch->chan->ops->start_xmit(pch->chan, skb)


btw: this is intentional ? looks strange

	if(ppp_ml_noexplode) {
+	}
+	else {

just my 2 cents,
re,
 wh







  parent reply	other threads:[~2010-05-25 17:30 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 15:50 [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-03-26 15:50 ` Richard Hartmann
2010-03-26 15:58 ` [Patch] fix packet loss and massive ping spikes with PPP Alan Cox
2010-03-26 16:02   ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Alan Cox
2010-03-26 16:33   ` [Patch] fix packet loss and massive ping spikes with PPP Joe Perches
2010-03-26 16:33     ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Joe Perches
2010-03-26 16:39   ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-03-26 16:39     ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-03-26 16:39     ` Richard Hartmann
2010-03-26 16:59     ` [Patch] fix packet loss and massive ping spikes with PPP David Miller
2010-03-26 16:59       ` [Patch] fix packet loss and massive ping spikes with PPP multi-link David Miller
2010-03-26 17:04       ` [Patch] fix packet loss and massive ping spikes with PPP David Miller
2010-03-26 17:04         ` [Patch] fix packet loss and massive ping spikes with PPP multi-link David Miller
2010-03-26 17:04     ` James Carlson
2010-03-26 17:04       ` James Carlson
2010-03-26 16:59   ` Alexander E. Patrakov
2010-03-26 17:00     ` Alexander E. Patrakov
2010-03-26 17:04     ` [Patch] fix packet loss and massive ping spikes with PPP Alan Cox
2010-03-26 17:04       ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Alan Cox
2010-03-31 10:03       ` Ben McKeegan
2010-03-31 10:03         ` Ben McKeegan
2010-05-29  2:16         ` [Patch] fix packet loss and massive ping spikes with PPP Paul Mackerras
2010-05-29  2:16           ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Paul Mackerras
2010-05-29  9:06           ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-05-29  9:06             ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-05-29  9:06             ` Richard Hartmann
2010-05-31 13:39           ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-05-31 13:39             ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-05-31 13:39             ` Richard Hartmann
2010-05-31 16:20           ` Ben McKeegan
2010-05-31 16:20             ` Ben McKeegan
2010-06-02 14:55             ` Ben McKeegan
2010-06-02 14:55               ` Ben McKeegan
2010-06-02 15:04               ` [PATCH] ppp_generic: fix multilink fragment sizes Ben McKeegan
2010-06-02 15:04                 ` Ben McKeegan
2010-06-02 15:17                 ` Paoloni, Gabriele
2010-06-02 15:17                   ` Paoloni, Gabriele
2010-06-02 15:31                   ` David Miller
2010-06-02 15:31                     ` David Miller
2010-06-02 15:55                   ` Ben McKeegan
2010-06-02 15:55                     ` Ben McKeegan
2010-06-03  8:41                     ` Paoloni, Gabriele
2010-06-03  8:41                       ` Paoloni, Gabriele
2010-06-03  9:14                       ` Ben McKeegan
2010-06-03  9:14                         ` Ben McKeegan
2010-11-08 14:05               ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-11-08 14:05                 ` Richard Hartmann
2010-11-15 12:07                 ` Richard Hartmann
2010-11-15 12:07                   ` Richard Hartmann
2010-06-01 10:20           ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-06-01 10:20             ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-06-01 10:20             ` Richard Hartmann
2010-06-01 11:18             ` Ben McKeegan
2010-06-01 11:18               ` Ben McKeegan
2010-06-01 11:28               ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-06-01 11:28                 ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-06-01 11:28                 ` Richard Hartmann
2010-06-01 22:15                 ` [Patch] fix packet loss and massive ping spikes with PPP David Miller
2010-06-01 22:15                   ` [Patch] fix packet loss and massive ping spikes with PPP multi-link David Miller
2010-03-31  9:01 ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-03-31  9:01   ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-03-31  9:01   ` Richard Hartmann
2010-05-25  9:52 ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-05-25  9:52   ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-05-25  9:52   ` Richard Hartmann
2010-05-25 10:18 ` walter harms
2010-05-25 14:58 ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-05-25 17:30 ` walter harms [this message]
2010-05-26  8:47   ` Richard Hartmann
2010-05-26  8:47     ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-05-26  8:47     ` Richard Hartmann
2010-05-28  7:28     ` walter harms
2010-05-28  7:28       ` walter harms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BFC0942.2030103@bfs.de \
    --to=wharms@bfs.de \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.