commit | a3d22a68d752ccc1a01bb0a64dd70b7a98bf9e23 | [log] [tgz] |
---|---|---|
author | Vladislav Zolotarov <vladz@broadcom.com> | Mon Dec 13 06:27:10 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 16 13:15:53 2010 -0800 |
tree | e51c231b29d8e285acb8196b6b893c718febd2b1 | |
parent | d33e455337ea2c71d09d7f4367d6ad6dd32b6965 [diff] |
bnx2x: Take the distribution range definition out of skb_tx_hash() Move the calcualation of the Tx hash for a given hash range into a separate function and define the skb_tx_hash(), which calculates a Tx hash for a [0; dev->real_num_tx_queues - 1] hash values range, using this function (__skb_tx_hash()). Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>