diff options
author | adrian <adrian@FreeBSD.org> | 2014-06-26 02:49:51 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2014-06-26 02:49:51 +0000 |
commit | 90965b8d6e915fe3ffd2608bfd6937d986f2abf4 (patch) | |
tree | d58e08161c6243f9c33851679afb6e725d82235b /sys/netinet/in_rss.h | |
parent | 6e86e0007a8393f192925fc28266b65eda68c621 (diff) | |
download | FreeBSD-src-90965b8d6e915fe3ffd2608bfd6937d986f2abf4.zip FreeBSD-src-90965b8d6e915fe3ffd2608bfd6937d986f2abf4.tar.gz |
Add another RSS method to query the indirection table entries.
There's 128 indirection table entries which correspond to the
low 7 bits of the 32 bit RSS hash. Each value will correspond
to an RSS bucket. (Then each RSS bucket currently will map
to a CPU.)
This is a more explicit way of figuring out which RSS bucket
is in each RSS indirection slot. It can be inferred by the other
methods but I'd rather drivers use something more simplified and
explicit.
Diffstat (limited to 'sys/netinet/in_rss.h')
-rw-r--r-- | sys/netinet/in_rss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/in_rss.h b/sys/netinet/in_rss.h index 0ee704b..8d390f1 100644 --- a/sys/netinet/in_rss.h +++ b/sys/netinet/in_rss.h @@ -69,6 +69,7 @@ */ u_int rss_getbits(void); u_int rss_getbucket(u_int hash); +u_int rss_get_indirection_to_bucket(u_int index); u_int rss_getcpu(u_int bucket); void rss_getkey(uint8_t *key); u_int rss_gethashalgo(void); |