[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <u2q65634d661004261119j74042496z4f1ba570251e0c44@mail.gmail.com>
Date: Mon, 26 Apr 2010 11:19:05 -0700
From: Tom Herbert <therbert@...gle.com>
To: David Miller <davem@...emloft.net>
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] bnx2x: add support for receive hashing
> I'm pretty sure there isn't at this point.
>
> We'll need to elide setting ->rxhash for non-TCP packets. I bet that
> the ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE field might be usable to making
> this decision, but if not in the worst case we'll need to parse the
> VLAN/ETH and IP4/IP6 headers to figure out the protocol.
>
> Damn, I'm so pissed off about this. This ruins everything!
>
> How damn hard is it to add two 16-bit ports to the hash regardless of
> protocol?
>
Fair question.
This also hits RSS/multiqueue. In a netperf RR test, 500 streams
between my two 16 core AMDs: TCP 970K tps, UDP 370K tps. I'm
surprised they didn't catch that in some benchmarks...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists