]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Optimized the branching in the bnx2x_rx_int()
authorVladislav Zolotarov <vladz@broadcom.com>
Sun, 17 Oct 2010 23:02:20 +0000 (23:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2010 13:51:57 +0000 (06:51 -0700)
commit893213adbc97fe809fdff743d3db5a423d418356
treef7a30b69036aac9c058a8c6a49e1cd27fc9fb72e
parent48947f226abf913a60b7228aabda629f8719e5f2
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>
drivers/net/bnx2x/bnx2x_cmn.c