sfc: insert ARFS filters with replace_equal=true
authorEdward Cree <ecree@solarflare.com>
Fri, 13 Apr 2018 18:17:22 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Apr 2018 19:39:52 +0000 (15:39 -0400)
Necessary to allow redirecting a flow when the application moves.

Fixes: 3af0f34290f6 ("sfc: replace asynchronous filter operations")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/rx.c

index 95682831484e8457a99eb56a2f8e5c80074cbff9..13b0eb71dbf30fe4fe32adc92f3a59594eb1ca03 100644 (file)
@@ -851,7 +851,7 @@ static void efx_filter_rfs_work(struct work_struct *data)
        struct efx_channel *channel = efx_get_channel(efx, req->rxq_index);
        int rc;
 
-       rc = efx->type->filter_insert(efx, &req->spec, false);
+       rc = efx->type->filter_insert(efx, &req->spec, true);
        if (rc >= 0) {
                /* Remember this so we can check whether to expire the filter
                 * later.