Commit 494bef4c authored by Edward Cree's avatar Edward Cree Committed by David S. Miller

sfc: insert ARFS filters with replace_equal=true

Necessary to allow redirecting a flow when the application moves.

Fixes: 3af0f342 ("sfc: replace asynchronous filter operations")
Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5042dac
...@@ -851,7 +851,7 @@ static void efx_filter_rfs_work(struct work_struct *data) ...@@ -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); struct efx_channel *channel = efx_get_channel(efx, req->rxq_index);
int rc; int rc;
rc = efx->type->filter_insert(efx, &req->spec, false); rc = efx->type->filter_insert(efx, &req->spec, true);
if (rc >= 0) { if (rc >= 0) {
/* Remember this so we can check whether to expire the filter /* Remember this so we can check whether to expire the filter
* later. * later.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment