net/i40e: support VXLAN-GPE classification
authorQiming Yang <qiming.yang@intel.com>
Fri, 5 Apr 2019 09:05:33 +0000 (17:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
Added VXLAN-GPE tunnel filter, supported filter to queue.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/rel_notes/release_19_05.rst
drivers/net/i40e/i40e_ethdev.c

index 555acaa..dbdf07a 100644 (file)
@@ -135,6 +135,7 @@ New Features
   New features for PF:
 
   * Added support for VXLAN-GPE packet.
+  * Added support for VXLAN-GPE classification.
 
 * **Updated the QuickAssist Technology PMD.**
 
index f382013..5b01dc1 100644 (file)
@@ -7722,6 +7722,9 @@ i40e_dev_tunnel_filter_set(struct i40e_pf *pf,
        case RTE_TUNNEL_TYPE_IP_IN_GRE:
                tun_type = I40E_AQC_ADD_CLOUD_TNL_TYPE_IP;
                break;
+       case RTE_TUNNEL_TYPE_VXLAN_GPE:
+               tun_type = I40E_AQC_ADD_CLOUD_TNL_TYPE_VXLAN_GPE;
+               break;
        default:
                /* Other tunnel types is not supported. */
                PMD_DRV_LOG(ERR, "tunnel type is not supported.");