]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: avoid doing useless work
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>
Thu, 8 Mar 2018 06:23:32 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 02:46:12 +0000 (21:46 -0500)
commitab95fc2f276a670983d1be1a02d3f51d2eed051b
treed4560584165e1a6b616475c5524183928e6f2af6
parent61eef9c2e85810ed0266996d5cb1873fd976248c
liquidio: avoid doing useless work

Avoid doing useless work by making sure that the response_list is not empty
before scheduling work to process it.

Signed-off-by: Prasad Kanneganti <prasad.kanneganti@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/request_manager.c
drivers/net/ethernet/cavium/liquidio/response_manager.c