diff options
| author | Eric Dumazet <edumazet@google.com> | 2016-12-07 19:29:10 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-12-08 21:18:35 +0300 |
| commit | 13bfff25c081f4e060af761c4082b5a96f756810 (patch) | |
| tree | 2c170254731c68a46814d0d1bf296915709afcdf /include/linux | |
| parent | c9fba3ed3a43709789a7a2a8b15b6595d3faf887 (diff) | |
| download | linux-13bfff25c081f4e060af761c4082b5a96f756810.tar.xz | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 1ff5ea6e1221..994f7423a74b 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -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; |
