[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110124.150149.59666436.davem@davemloft.net>
Date: Mon, 24 Jan 2011 15:01:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: netdev@...r.kernel.org, linux-net-drivers@...arflare.com,
therbert@...gle.com
Subject: Re: [PATCH net-next-2.6 3/5] net: RPS: Enable hardware
acceleration of RFS
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Wed, 19 Jan 2011 21:03:53 +0000
> Allow drivers for multiqueue hardware with flow filter tables to
> accelerate RFS. The driver must:
>
> 1. Set net_device::rx_cpu_rmap to a cpu_rmap of the RX completion
> IRQs (in queue order). This will provide a mapping from CPUs to the
> queues for which completions are handled nearest to them.
>
> 2. Implement net_device_ops::ndo_rx_flow_steer. This operation adds
> or replaces a filter steering the given flow to the given RX queue, if
> possible.
>
> 3. Periodically remove filters for which rps_may_expire_flow() returns
> true.
>
> Signed-off-by: Ben Hutchings <bhutchings@...arflare.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists