]> 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)
commitcb418c6a9d72cf999a6e1e985583c3e91a554fde
treec009e85708a4345aa8498f1656b45e748a4e841f
parentb0dbbe05e5fc3965e13e77fb1f44d3b2bc1e3cf3
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