mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
net: rfs: add a jump label
RFS is not commonly used, so add a jump label to avoid some conditionals in fast path. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c9fba3ed3a
commit
13bfff25c0
4 changed files with 21 additions and 12 deletions
|
@ -192,6 +192,7 @@ struct net_device_stats {
|
|||
#ifdef CONFIG_RPS
|
||||
#include <linux/static_key.h>
|
||||
extern struct static_key rps_needed;
|
||||
extern struct static_key rfs_needed;
|
||||
#endif
|
||||
|
||||
struct neighbour;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue