]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit319cd52013dec3413a3b753f7b7747504aa077df
treec009e85708a4345aa8498f1656b45e748a4e841f
parente008f3f07ffba2be471ffd79bd1922af0042f936
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