svn commit: r285591 - head/sys/dev/ixgbe
Hiren Panchasara
hiren at FreeBSD.org
Wed Jul 15 01:01:20 UTC 2015
Author: hiren
Date: Wed Jul 15 01:01:17 2015
New Revision: 285591
URL: https://svnweb.freebsd.org/changeset/base/285591
Log:
Remove FreeBSD version check for deprecated M_FLOWID.
Reviewed by: erj
Sponsored by: Limelight Networks
Modified:
head/sys/dev/ixgbe/ix_txrx.c
Modified: head/sys/dev/ixgbe/ix_txrx.c
==============================================================================
--- head/sys/dev/ixgbe/ix_txrx.c Wed Jul 15 00:35:50 2015 (r285590)
+++ head/sys/dev/ixgbe/ix_txrx.c Wed Jul 15 01:01:17 2015 (r285591)
@@ -210,11 +210,7 @@ ixgbe_mq_start(struct ifnet *ifp, struct
* If everything is setup correctly, it should be the
* same bucket that the current CPU we're on is.
*/
-#if __FreeBSD_version < 1100054
- if (m->m_flags & M_FLOWID) {
-#else
if (M_HASHTYPE_GET(m) != M_HASHTYPE_NONE) {
-#endif
#ifdef RSS
if (rss_hash2bucket(m->m_pkthdr.flowid,
M_HASHTYPE_GET(m), &bucket_id) == 0)
More information about the svn-src-head
mailing list