Thread (71 messages) 71 messages, 6 authors, 2021-10-21

Re: [dpdk-dev] [PATCH v3 1/3] ethdev: support PPP and L2TPV2 procotol

From: Ori Kam <hidden>
Date: 2021-10-17 08:12:10

HI Jie,
-----Original Message-----
From: Ferruh Yigit <redacted>
Sent: Friday, October 15, 2021 2:10 PM
Subject: Re: [PATCH v3 1/3] ethdev: support PPP and L2TPV2 procotol

On 10/15/2021 10:58 AM, Jie Wang wrote:
quoted
+/**
+ * @warning
+ * @b EXPERIMENTAL: this structure may change without prior notice
+ * RTE_FLOW_ITEM_TYPE_PPP
+ *
+ * Matches PPP Header
+ */
+struct rte_flow_item_ppp {
+	uint8_t addr; /**< ppp address(8) */
+	uint8_t ctrl; /**< ppp control(8) */
+	rte_be16_t proto_id; /**< ppp protocol id(16) */ };
Hi Jie,

Can't we do same thing for ppp, have the protocol header in the lib/net and use it within the
'rte_flow_item_ppp'?
+1
Ori
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help