rps: Fixed build with CONFIG_SMP not enabled.
Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a034016287
commit
1e94d72fea
2 changed files with 26 additions and 0 deletions
|
@ -1341,7 +1341,9 @@ struct softnet_data {
|
|||
struct sk_buff *completion_queue;
|
||||
|
||||
/* Elements below can be accessed between CPUs for RPS */
|
||||
#ifdef CONFIG_SMP
|
||||
struct call_single_data csd ____cacheline_aligned_in_smp;
|
||||
#endif
|
||||
struct sk_buff_head input_pkt_queue;
|
||||
struct napi_struct backlog;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue