net/sfc: avoid dummy writes to Rx queue state structure
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 3 Oct 2018 09:03:51 +0000 (10:03 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commit3ac6ddd4281e18e10947cd15fe96262b7a7eb9b3
tree77a48fa80960dcd79043925be7a439ddb8bb0c1a
parentf3a5fa85cfd191522baa8cc144c9d95e7e658972
net/sfc: avoid dummy writes to Rx queue state structure

If there is no packets to be processed, it does not make sense
to write the same values back to Rx queue structure.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
drivers/net/sfc/sfc_ef10_rx.c