summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strsignal.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2011-06-04 23:31:41 +0000
committerrwatson <rwatson@FreeBSD.org>2011-06-04 23:31:41 +0000
commit553aca05636a36df8e31606f4802e0e262bbdd0b (patch)
tree39a24af3ec93918ed5a641d6c80fcfd1edf42a45 /lib/libc/string/strsignal.c
parente420fa8231e4613315fa0cf023046b5405070a4e (diff)
downloadFreeBSD-src-553aca05636a36df8e31606f4802e0e262bbdd0b.zip
FreeBSD-src-553aca05636a36df8e31606f4802e0e262bbdd0b.tar.gz
Allocate four bits from the mbuf flags field to represent the hash
type of a software- or hardware-generated hash held in the mbuf.m_pkthdr.flowid field, and provide accessor macros to easily clear, set, receive, and test for hash values. Some of these constants correspond to RSS hash types, but we don't want to limit ourselves to that, as a number of other hashing techniques are in use on hardware supported by FreeBSD. Mark the M_FLOWID flag as deprecated; I hope to remove this before 9.0, changing drivers and the stack over to using the new M_HASHTYPEBITS, most likely to use M_HASHTYPE_OPAQUE as we don't yet want to nail down the KPI for RSS key/bucket management for device drivers. MFC after: 3 days Reviewed by: bz Sponsored by: Juniper Networks, Inc.
Diffstat (limited to 'lib/libc/string/strsignal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud