diff options
author | Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> | 2017-04-17 18:03:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-18 21:56:25 +0200 |
commit | bf8d9dfb9beeeef48f0444eb02198a09d5a52954 (patch) | |
tree | aae3b8e7e8dfaa32d6448270ebce387627be5cf6 /drivers/nvme/target | |
parent | drivers: net: xgene-v2: Extend ethtool statistics (diff) | |
download | linux-bf8d9dfb9beeeef48f0444eb02198a09d5a52954.tar.xz linux-bf8d9dfb9beeeef48f0444eb02198a09d5a52954.zip |
be2net: VxLAN offload should be re-enabled when only 1 UDP port is left
We disable VxLAN offload when more than 1 UDP port is added to the driver,
since Skyhawk doesn't support offload with multiple ports. The existing
driver design expects the user to delete all port configurations and create
a configuration with a single UDP port for VxLAN offload to be re-enabled.
Remove this restriction by tracking the ports added and re-enabling offload
when ports get deleted and only 1 port is left.
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Reviewed-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions