summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_stats.h
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2010-10-17 23:02:20 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-18 06:51:57 -0700
commitfe78d2637ad9acc6414e36ce781aadc8c77d560d (patch)
treef7a30b69036aac9c058a8c6a49e1cd27fc9fb72e /drivers/net/bnx2x/bnx2x_stats.h
parentcdd861d68d27a0d0ebe4e641d20d8cfa5cef405f (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud