qed: Enable GRE tunnel slowpath configuration
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 14 Apr 2016 05:38:32 +0000 (01:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 21:08:09 +0000 (17:08 -0400)
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c

index c1533a64f41cf3345c94c64bfd4528f9a720c16e..1e9f321f1ac44f6bea4b9a3b1981a93074cb5dbd 100644 (file)
@@ -779,10 +779,14 @@ static int qed_slowpath_start(struct qed_dev *cdev,
 
        memset(&tunn_info, 0, sizeof(tunn_info));
        tunn_info.tunn_mode |=  1 << QED_MODE_VXLAN_TUNN |
+                               1 << QED_MODE_L2GRE_TUNN |
+                               1 << QED_MODE_IPGRE_TUNN |
                                1 << QED_MODE_L2GENEVE_TUNN |
                                1 << QED_MODE_IPGENEVE_TUNN;
 
        tunn_info.tunn_clss_vxlan = QED_TUNN_CLSS_MAC_VLAN;
+       tunn_info.tunn_clss_l2gre = QED_TUNN_CLSS_MAC_VLAN;
+       tunn_info.tunn_clss_ipgre = QED_TUNN_CLSS_MAC_VLAN;
 
        rc = qed_hw_init(cdev, &tunn_info, true,
                         cdev->int_params.out.int_mode,