diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-04-08 12:30:56 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-08 12:30:57 -0700 |
| commit | 05b8f502f495bdba5daf55be956def48dddaf3a1 (patch) | |
| tree | 0674f8c736e7e30014e6566d63ec9c4c026af0a6 /include | |
| parent | 34a07c5b257453b5fcadc2408719c7b075844014 (diff) | |
| parent | 0a7de4a8f898c480ffafe024c4a0a8b8819597f1 (diff) | |
Merge branch 'rps-misc-changes'
Eric Dumazet says:
====================
rps: misc changes
Minor changes in rps:
skb_flow_limit() is probably unused these days,
and data-races are quite theoretical.
====================
Link: https://patch.msgid.link/20250407163602.170356-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/rps.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/rps.h b/include/net/rps.h index e358e9711f27..507f4aa5d39b 100644 --- a/include/net/rps.h +++ b/include/net/rps.h @@ -57,9 +57,10 @@ struct rps_dev_flow_table { * meaning we use 32-6=26 bits for the hash. */ struct rps_sock_flow_table { - u32 mask; + struct rcu_head rcu; + u32 mask; - u32 ents[] ____cacheline_aligned_in_smp; + u32 ents[] ____cacheline_aligned_in_smp; }; #define RPS_SOCK_FLOW_TABLE_SIZE(_num) (offsetof(struct rps_sock_flow_table, ents[_num])) |
