diff options
author | Chopra, Manish <Manish.Chopra@cavium.com> | 2017-04-24 20:00:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-25 18:49:32 +0300 |
commit | eaf3c0c6b4e307e5c7e6cbeb8c5a17be7feee249 (patch) | |
tree | afab494c0662a0a99983ed8b4c9debd42b880c96 /drivers/net/ethernet/qlogic/qed/qed_l2.c | |
parent | 97379f15c21e7ae27eb1ecf84adcace42c960c87 (diff) | |
download | linux-eaf3c0c6b4e307e5c7e6cbeb8c5a17be7feee249.tar.xz |
qed - VF tunnelling support [VXLAN/GENEVE/GRE]
This patch adds hardware channel APIs support between
VF and PF for tunnelling configuration for the VFs.
According to that configuration VFs can run VXLAN/GENEVE/GRE
tunnels over it with tunnel features offloaded.
Using these APIs VF can also request for UDP ports configuration
to the PF, although PF and it's child VFs share the same port.
Signed-off-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: Yuval Mintz <yuval.mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_l2.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_l2.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_l2.c b/drivers/net/ethernet/qlogic/qed/qed_l2.c index b8bd1193fb9c..746fed4099c8 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_l2.c +++ b/drivers/net/ethernet/qlogic/qed/qed_l2.c @@ -2288,9 +2288,6 @@ static int qed_tunn_configure(struct qed_dev *cdev, struct qed_tunnel_info tunn_info; int i, rc; - if (IS_VF(cdev)) - return 0; - memset(&tunn_info, 0, sizeof(tunn_info)); if (tunn_params->update_vxlan_port) { tunn_info.vxlan_port.b_update_port = true; |