Remove FreeBSD version check for deprecated M_FLOWID.

Reviewed by:	    erj
Sponsored by:	    Limelight Networks
This commit is contained in:
Hiren Panchasara 2015-07-15 01:01:17 +00:00
parent c8ed84db3a
commit fd3e9bafbd

View File

@ -210,11 +210,7 @@ ixgbe_mq_start(struct ifnet *ifp, struct mbuf *m)
* 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)