Repository navigation
Commit 486bdee
sctp: add support for RPS and RFS
This patch adds what's missing to properly support RPS and RFS on SCTP,
as some of it is already implemented in common calls.
Having support for RPS and RFS allows better scaling specially because
not all NICs support hashing SCTP headers.
Save the hash right when we dequeue a skb from inqueue so we do it only
once per skb instead of per chunk. New sockets will then inherit the
hash through sctp_copy_sock().
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent d21fd63 commit 486bdee
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6430 | 6430 | | |
6431 | 6431 | | |
6432 | 6432 | | |
| 6433 | + | |
| 6434 | + | |
6433 | 6435 | | |
6434 | 6436 | | |
6435 | 6437 | | |
| |||
7186 | 7188 | | |
7187 | 7189 | | |
7188 | 7190 | | |
| 7191 | + | |
7189 | 7192 | | |
7190 | 7193 | | |
7191 | 7194 | | |
| |||
0 commit comments