From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E932B11A2 for ; Wed, 9 Dec 2015 06:37:49 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 08 Dec 2015 21:37:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,402,1444719600"; d="scan'208";a="703211552" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 08 Dec 2015 21:37:48 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id tB95bkOY009618; Wed, 9 Dec 2015 13:37:46 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id tB95bgjW009753; Wed, 9 Dec 2015 13:37:44 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id tB95bgHE009749; Wed, 9 Dec 2015 13:37:42 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Wed, 9 Dec 2015 13:37:41 +0800 Message-Id: <1449639461-9718-1-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.12.2 Subject: [dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_tunnel_flow X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 05:37:50 -0000 The struct 'rte_eth_tunnel_flow' is only used by struct 'rte_eth_fdir_flow' now, but its name is generic, and I plan to extend new fileds like below to support generic configuration for tunneling packet. struct rte_eth_tunnel_flow { enum rte_eth_fdir_tunnel_type tunnel_type; /**< Tunnel type to match. */ uint32_t tunnel_id; /**< Tunnel ID to match. TNI, VNI... */ uint16_t flags; struct ether_addr outer_mac_src; struct ether_addr outer_mac_dst; union { struct rte_eth_ipv4_flow outer_ipv4; struct rte_eth_ipv6_flow outer_ipv6; }; uint16_t dst_port; uint16_t src_port; struct ether_addr mac_addr; /**< Mac address to match. */ union { struct rte_eth_ipv4_flow ipv4; struct rte_eth_ipv6_flow ipv6; }; }; Note: It have not finalized yet. Signed-off-by: Jijiang Liu --- doc/guides/rel_notes/deprecation.rst | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 1c7ab01..5c458f2 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -19,3 +19,7 @@ Deprecation Notices and table action handlers will be updated: the pipeline parameter will be added, the packets mask parameter will be either removed (for input port action handler) or made input-only. + +* ABI changes are planned for struct rte_eth_tunnel_flow in order to extend new fileds to support + tunneling packet configuration in unified tunneling APIs. The release 2.2 does not contain these ABI + changes, but release 2.3 will, and no backwards compatibility is planned. -- 1.7.7.6