netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: amirv@mellanox.com
Cc: netdev@vger.kernel.org, yevgenyp@mellanox.com,
	ogerlitz@mellanox.com, prarit@redhat.com, gvaradar@cisco.com
Subject: Re: [PATCH net-next V4 1/2] net: Utility function to get affinity_hint by policy
Date: Mon, 10 Mar 2014 16:04:08 -0400 (EDT)	[thread overview]
Message-ID: <20140310.160408.1561130723524404573.davem@davemloft.net> (raw)
In-Reply-To: <1394350749-30522-2-git-send-email-amirv@mellanox.com>

From: Amir Vadai <amirv@mellanox.com>
Date: Sun,  9 Mar 2014 09:39:08 +0200

> This function sets the affinity_mask according to a numa aware policy.
> affinity_mask could be used as an affinity hint for the IRQ related to
> this rx queue.
> Current policy is to spread rx queues accross cores - local cores first.
> It could be extended in the future.
> 
> CC: Prarit Bhargava <prarit@redhat.com>
> CC: Govindarajulu Varadarajan <gvaradar@cisco.com>
> Signed-off-by: Amir Vadai <amirv@mellanox.com>

I hate to delay this even more, but I think Ben is right, this is really
a generic function that probably belongs under kernel/  The block layer
folks to multiqueue things on some devices, and they therefore could find
it useful as well.

  parent reply	other threads:[~2014-03-10 20:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09  7:39 [PATCH net-next V4 0/2] net: Affinity hint helper function Amir Vadai
2014-03-09  7:39 ` [PATCH net-next V4 1/2] net: Utility function to get affinity_hint by policy Amir Vadai
2014-03-09 21:10   ` Ben Hutchings
2014-03-10 20:04   ` David Miller [this message]
2014-03-09  7:39 ` [PATCH net-next V4 2/2] net/mlx4_en: Use affinity hint Amir Vadai

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=20140310.160408.1561130723524404573.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=amirv@mellanox.com \
    --cc=gvaradar@cisco.com \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=prarit@redhat.com \
    --cc=yevgenyp@mellanox.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).