net/sfc: add device state check to reta update
authorIvan Malov <ivan.malov@oktetlabs.ru>
Wed, 4 Oct 2017 07:34:26 +0000 (08:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:50 +0000 (02:49 +0200)
commit73332ab85ef64324aa944789e714450a0b3fb8a8
tree8c0164fd907263e34a95ac54a352413c15330c92
parentcca94e9709fb8be66e5d007fe20e9a095bd03ca3
net/sfc: add device state check to reta update

The callback must not attempt to program RSS table to the HW
in non-started state; the new table must be remembered and
applied on the next start

Fixes: 32bcfb0a50b1 ("net/sfc: update RSS redirection table")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/sfc_ethdev.c