net/sfc/base: fix tunnel configuration
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Tue, 8 Sep 2020 09:20:22 +0000 (10:20 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:12 +0000 (18:55 +0200)
commit33f4e56dda2764eb62970a2c83f224fef43456c1
treed6f57eaeea7bbaa3961b6c77589f338ee9284724
parentcb78cce5e10e317b048dc4bc5a7b7ccd242bb559
net/sfc/base: fix tunnel configuration

Tunnel configuration may fail because of insufficient access rights
on a virtual function. Ignore the failure if a tunnel configuration
with empty UDP ports is requested.

Fixes: 17551f6dffcc ("net/sfc/base: add API to control UDP tunnel ports")
Cc: stable@dpdk.org
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_tunnel.c