[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+sq2CeC89YfaTM18JR9dFOoNAbohGk=gFXSkM_4q2oySB12GA@mail.gmail.com>
Date: Wed, 18 Feb 2015 11:46:50 +0530
From: Sunil Kovvuri <sunil.kovvuri@...il.com>
To: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>
Subject: Setting RPS affinities from network driver
Hi,
I am writing a network driver for a multicore SOC with a on-board
network interface and would like to set RPS affinities from driver by
default. So that the network performance is good with whatever driver
supplied. Ofcourse these can be further adjusted from userspace
anyways.
Is there a way to set RPS settings from driver itself ?
The only issue i am seeing is while setting 'rps_needed' key.
static_key_slow_inc(&rps_needed);
Currently this is not exported, so having issues while compiling
driver as module.
If i export this symbol, will it be acceptable ?
Thanks,
Sunil.
--
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