diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2010-10-17 23:02:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 06:51:57 -0700 |
commit | fe78d2637ad9acc6414e36ce781aadc8c77d560d (patch) | |
tree | f7a30b69036aac9c058a8c6a49e1cd27fc9fb72e /drivers/net/bnx2x/bnx2x_stats.h | |
parent | cdd861d68d27a0d0ebe4e641d20d8cfa5cef405f (diff) | |
download | blackbird-op-linux-fe78d2637ad9acc6414e36ce781aadc8c77d560d.tar.gz blackbird-op-linux-fe78d2637ad9acc6414e36ce781aadc8c77d560d.zip |
bnx2x: Optimized the branching in the bnx2x_rx_int()
Optimized the branching in the bnx2x_rx_int() based on the fact
that FP CQE will always have at least one of START or STOP flags set,
so if not both bits are set and START bit is not set,
then it's a STOP bit that is set.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
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>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_stats.h')
0 files changed, 0 insertions, 0 deletions