[v1,1/2] common/iavf: add header types for PPPoL2TPv2oUDP

Message ID 20210423080637.11879-1-ting.xu@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Qi Zhang
Headers
Series [v1,1/2] common/iavf: add header types for PPPoL2TPv2oUDP |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Xu, Ting April 23, 2021, 8:06 a.m. UTC
  Added two virtchnl protocol header types for L2TPv2 and PPP to support
the RSS hash for PPPoL2TPv2oUDP.

Signed-off-by: Ting Xu <ting.xu@intel.com>
---
 drivers/common/iavf/virtchnl.h | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Qi Zhang April 24, 2021, 5:02 a.m. UTC | #1
> -----Original Message-----
> From: Xu, Ting <ting.xu@intel.com>
> Sent: Friday, April 23, 2021 4:07 PM
> To: dev@dpdk.org
> Cc: Xing, Beilei <beilei.xing@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Zhang, Qi Z <qi.z.zhang@intel.com>; Xu, Ting <ting.xu@intel.com>
> Subject: [PATCH v1 1/2] common/iavf: add header types for PPPoL2TPv2oUDP
> 
> Added two virtchnl protocol header types for L2TPv2 and PPP to support the
> RSS hash for PPPoL2TPv2oUDP.
> 
> Signed-off-by: Ting Xu <ting.xu@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi
  

Patch

diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index e3eb767d66..139569787f 100644
--- a/drivers/common/iavf/virtchnl.h
+++ b/drivers/common/iavf/virtchnl.h
@@ -1432,6 +1432,8 @@  enum virtchnl_proto_hdr_type {
 	VIRTCHNL_PROTO_HDR_PFCP,
 	VIRTCHNL_PROTO_HDR_GTPC,
 	VIRTCHNL_PROTO_HDR_ECPRI,
+	VIRTCHNL_PROTO_HDR_L2TPV2,
+	VIRTCHNL_PROTO_HDR_PPP,
 };
 
 /* Protocol header field within a protocol header. */