]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: Optimization for RX excess judgement
authorMitsuhiro Kimura <mitsuhiro.kimura.kc@renesas.com>
Tue, 9 Dec 2014 12:23:42 +0000 (21:23 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 23:05:08 +0000 (18:05 -0500)
commit46aaeac277be8ff0071b655c7c06b13766e3b474
treec009e85708a4345aa8498f1656b45e748a4e841f
parentae931ac82a8c07dfc9319e7ee43609e74583d3b0
sh_eth: Optimization for RX excess judgement

Both of 'boguscnt' and 'quota' have nearly meaning as the condition of
the reception loop.
In order to cut down redundant processing, this patch changes excess
judgement.

Signed-off-by: Mitsuhiro Kimura <mitsuhiro.kimura.kc@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c