]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpts: break cycle once late ts is matched
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Tue, 10 Jul 2018 13:04:04 +0000 (16:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2018 07:00:07 +0000 (00:00 -0700)
commitb3322a482f83e878f205cb6bbfd3125a39c265f7
treefbefc64546a6aa4c14ed2338d8347c11a25be392
parentdd2c5d5f5af461a34f21fce317cb8c8947262a3b
net: ethernet: ti: cpts: break cycle once late ts is matched

The late ts queue can contain a bunch of skbs while hi rate testing,
no need to check all of them if timestamp is already matched.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpts.c