summaryrefslogtreecommitdiff
path: root/drivers/net/sfc/sfc_rx.c
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchenko@solarflare.com>2019-02-07 12:17:50 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-02-07 16:06:30 +0100
commite0d5ba7eaaff8c53b1550e0803110b39e1c3ec82 (patch)
tree2560f7dfe6c4a1c62dae7ec9979f2e081d384d2c /drivers/net/sfc/sfc_rx.c
parente295f175bf503b011b2634023dd0f20f47763ed8 (diff)
downloaddpdk-e0d5ba7eaaff8c53b1550e0803110b39e1c3ec82.zip
dpdk-e0d5ba7eaaff8c53b1550e0803110b39e1c3ec82.tar.gz
dpdk-e0d5ba7eaaff8c53b1550e0803110b39e1c3ec82.tar.xz
net/sfc: move isolated flag in adapter shared
The flag is required in default RSS RETA get which does not make sense in isolated mode. Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Diffstat (limited to 'drivers/net/sfc/sfc_rx.c')
-rw-r--r--drivers/net/sfc/sfc_rx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/sfc/sfc_rx.c b/drivers/net/sfc/sfc_rx.c
index 3b4b65f..cd8abc8 100644
--- a/drivers/net/sfc/sfc_rx.c
+++ b/drivers/net/sfc/sfc_rx.c
@@ -669,7 +669,6 @@ retry:
int
sfc_rx_qstart(struct sfc_adapter *sa, unsigned int sw_index)
{
- struct sfc_port *port = &sa->port;
struct sfc_rxq_info *rxq_info;
struct sfc_rxq *rxq;
struct sfc_evq *evq;
@@ -731,7 +730,7 @@ sfc_rx_qstart(struct sfc_adapter *sa, unsigned int sw_index)
rxq_info->state |= SFC_RXQ_STARTED;
- if ((sw_index == 0) && !port->isolated) {
+ if (sw_index == 0 && !sfc_sa2shared(sa)->isolated) {
rc = sfc_rx_default_rxq_set_filter(sa, rxq);
if (rc != 0)
goto fail_mac_filter_default_rxq_set;