All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Herbert <therbert@google.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] Software receive packet steering
Date: Wed, 8 Apr 2009 21:40:28 -0700	[thread overview]
Message-ID: <65634d660904082140k727720c5o22f203aa092727a6@mail.gmail.com> (raw)
In-Reply-To: <20090408.173607.177460759.davem@davemloft.net>

On Wed, Apr 8, 2009 at 5:36 PM, David Miller <davem@davemloft.net> wrote:
> From: Tom Herbert <therbert@google.com>
> Date: Wed, 8 Apr 2009 15:48:12 -0700
>
>> +#ifdef CONFIG_NET_SOFTRPS
>> +     int                     rps_cpu;
>> +     struct list_head        rps_poll_list;
>> +     spinlock_t              rps_poll_list_lock;
>> +     struct call_single_data rps_csd;
>> +     unsigned long           rps_flags;
>> +#define RPS_SOFTIRQ_PENDING  0x1
>> +#define RPS_SOFTIRQ_COMPLETING       0x2
>> +#endif
>
> Have you seen my patch that does this with remote softirqs?
> Then you don't need a lock for the list, it can be lockless
> since only the local processor ever accesses the list.
>
> In fact, it kills the per-cpu backlog completely, everything
> takes the netif_receive_skb() path and shoots the packet to
> the remote cpu.
>
> Here is that patch, for reference.  It won't apply to anything
> recent but all the ideas are there.
>

Thanks for the reference to that patch, are you planning to apply it?

  reply	other threads:[~2009-04-09  4:40 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-08 22:48 [PATCH] Software receive packet steering Tom Herbert
2009-04-08 23:08 ` Stephen Hemminger
2009-04-08 23:09 ` Stephen Hemminger
2009-04-08 23:15   ` David Miller
2009-04-09 16:43     ` Tom Herbert
2009-04-09 18:23       ` Ben Hutchings
2009-04-09 21:17       ` David Miller
2009-04-09  0:36 ` David Miller
2009-04-09  4:40   ` Tom Herbert [this message]
2009-04-09  5:24     ` David Miller
2009-04-20 10:32 ` Andi Kleen
2009-04-20 10:46   ` David Miller
2009-04-21  3:26   ` Tom Herbert
2009-04-21  9:48     ` Eric Dumazet
2009-04-21 15:46       ` Stephen Hemminger
2009-04-21 18:52         ` Tom Herbert
2009-04-22  9:21           ` David Miller
2009-04-22 15:46             ` Tom Herbert
2009-04-22 18:49             ` Rick Jones
2009-04-22 20:44             ` Jesper Dangaard Brouer
2009-04-23  6:58               ` Jens Axboe
2009-04-23  7:25                 ` David Miller
2009-04-23  7:29                   ` Jens Axboe
2009-04-23  9:12               ` Jens Laas
2009-04-22 14:33         ` Martin Josefsson
2009-04-23  7:34           ` David Miller

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=65634d660904082140k727720c5o22f203aa092727a6@mail.gmail.com \
    --to=therbert@google.com \
    --cc=davem@davemloft.net \
    --cc=netdev@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.