diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2009-02-19 02:55:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-19 02:55:02 +0100 |
commit | e88721f87d8caa679e62d6004a9a5661f1ac7b0e (patch) | |
tree | 4e5ad54f7445631ac2ec5750dbe245e6c26a140c /lib/iommu-helper.c | |
parent | niu: improve ethtool support for gigabit copper cards (diff) | |
download | linux-e88721f87d8caa679e62d6004a9a5661f1ac7b0e.tar.xz linux-e88721f87d8caa679e62d6004a9a5661f1ac7b0e.zip |
net: Optimize skb_tx_hash() by eliminating a comparison
Optimize skb_tx_hash() by eliminating a comparison that executes for
every packet. skb_tx_hashrnd initialization is moved to a later part of
the startup sequence, namely after the "random" driver is initialized.
Rebooted the system three times and verified that the code generates
different random numbers each time.
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions