Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2011 23:31:41 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sys mbuf.h
Message-ID:  <201106042332.p54NW3ga022380@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2011-06-04 23:31:41 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
  Log:
  SVN rev 222702 on 2011-06-04 23:31:41Z by rwatson
  
  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.
  
  Revision  Changes    Path
  1.240     +38 -2     src/sys/sys/mbuf.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106042332.p54NW3ga022380>