DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] ethdev: add packet expiry event subtype
@ 2022-03-17  7:57 Vamsi Attunuru
  2022-03-23  3:04 ` Vamsi Krishna Attunuru
  0 siblings, 1 reply; 4+ messages in thread
From: Vamsi Attunuru @ 2022-03-17  7:57 UTC (permalink / raw)
  To: dev; +Cc: jerinj, ndabilpuram, gakhil, Vamsi Attunuru

Patch adds a new event subtype for notifying expiry
event upon soft packet limit expiry.

Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
---
 lib/ethdev/rte_ethdev.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 04cff8ee10..07d1f02bae 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -3828,6 +3828,8 @@ enum rte_eth_event_ipsec_subtype {
 	RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY,
 	/** Soft byte expiry of SA */
 	RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY,
+	/** Soft packet expiry of SA */
+	RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY,
 	/** Max value of this enum */
 	RTE_ETH_EVENT_IPSEC_MAX
 };
@@ -3849,6 +3851,7 @@ struct rte_eth_event_ipsec_desc {
 	 * - @ref RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW
 	 * - @ref RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY
 	 * - @ref RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY
+	 * - @ref RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY
 	 *
 	 * @see struct rte_security_session_conf
 	 *
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/1] ethdev: add packet expiry event subtype
  2022-03-17  7:57 [PATCH 1/1] ethdev: add packet expiry event subtype Vamsi Attunuru
@ 2022-03-23  3:04 ` Vamsi Krishna Attunuru
  2022-04-20 18:16   ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Vamsi Krishna Attunuru @ 2022-03-23  3:04 UTC (permalink / raw)
  To: Vamsi Krishna Attunuru, dev
  Cc: Jerin Jacob Kollanukkaran, Nithin Kumar Dabilpuram, Akhil Goyal

Ping..

> -----Original Message-----
> From: Vamsi Attunuru <vattunuru@marvell.com>
> Sent: Thursday, March 17, 2022 1:28 PM
> To: dev@dpdk.org
> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Nithin Kumar
> Dabilpuram <ndabilpuram@marvell.com>; Akhil Goyal
> <gakhil@marvell.com>; Vamsi Krishna Attunuru <vattunuru@marvell.com>
> Subject: [PATCH 1/1] ethdev: add packet expiry event subtype
> 
> Patch adds a new event subtype for notifying expiry event upon soft packet
> limit expiry.
> 
> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
> ---
>  lib/ethdev/rte_ethdev.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index
> 04cff8ee10..07d1f02bae 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -3828,6 +3828,8 @@ enum rte_eth_event_ipsec_subtype {
>  	RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY,
>  	/** Soft byte expiry of SA */
>  	RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY,
> +	/** Soft packet expiry of SA */
> +	RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY,
>  	/** Max value of this enum */
>  	RTE_ETH_EVENT_IPSEC_MAX
>  };
> @@ -3849,6 +3851,7 @@ struct rte_eth_event_ipsec_desc {
>  	 * - @ref RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW
>  	 * - @ref RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY
>  	 * - @ref RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY
> +	 * - @ref RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY
>  	 *
>  	 * @see struct rte_security_session_conf
>  	 *
> --
> 2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] ethdev: add packet expiry event subtype
  2022-03-23  3:04 ` Vamsi Krishna Attunuru
@ 2022-04-20 18:16   ` Ferruh Yigit
  2022-04-21  6:45     ` [EXT] " Vamsi Krishna Attunuru
  0 siblings, 1 reply; 4+ messages in thread
From: Ferruh Yigit @ 2022-04-20 18:16 UTC (permalink / raw)
  To: Vamsi Krishna Attunuru, dev, Anoob Joseph, Konstantin Ananyev
  Cc: Jerin Jacob Kollanukkaran, Nithin Kumar Dabilpuram, Akhil Goyal

On 3/23/2022 3:04 AM, Vamsi Krishna Attunuru wrote:
> Ping..
> 
>> -----Original Message-----
>> From: Vamsi Attunuru <vattunuru@marvell.com>
>> Sent: Thursday, March 17, 2022 1:28 PM
>> To: dev@dpdk.org
>> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Nithin Kumar
>> Dabilpuram <ndabilpuram@marvell.com>; Akhil Goyal
>> <gakhil@marvell.com>; Vamsi Krishna Attunuru <vattunuru@marvell.com>
>> Subject: [PATCH 1/1] ethdev: add packet expiry event subtype
>>
>> Patch adds a new event subtype for notifying expiry event upon soft packet
>> limit expiry.
>>

cc'ed more people

Is there any user of this event to provide more context? Or to justify 
why it is needed?

>> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
>> ---
>>   lib/ethdev/rte_ethdev.h | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index
>> 04cff8ee10..07d1f02bae 100644
>> --- a/lib/ethdev/rte_ethdev.h
>> +++ b/lib/ethdev/rte_ethdev.h
>> @@ -3828,6 +3828,8 @@ enum rte_eth_event_ipsec_subtype {
>>   	RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY,
>>   	/** Soft byte expiry of SA */
>>   	RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY,
>> +	/** Soft packet expiry of SA */
>> +	RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY,
>>   	/** Max value of this enum */
>>   	RTE_ETH_EVENT_IPSEC_MAX
>>   };
>> @@ -3849,6 +3851,7 @@ struct rte_eth_event_ipsec_desc {
>>   	 * - @ref RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW
>>   	 * - @ref RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY
>>   	 * - @ref RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY
>> +	 * - @ref RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY
>>   	 *
>>   	 * @see struct rte_security_session_conf
>>   	 *
>> --
>> 2.25.1
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [EXT] Re: [PATCH 1/1] ethdev: add packet expiry event subtype
  2022-04-20 18:16   ` Ferruh Yigit
@ 2022-04-21  6:45     ` Vamsi Krishna Attunuru
  0 siblings, 0 replies; 4+ messages in thread
From: Vamsi Krishna Attunuru @ 2022-04-21  6:45 UTC (permalink / raw)
  To: Ferruh Yigit, dev, Anoob Joseph, Konstantin Ananyev
  Cc: Jerin Jacob Kollanukkaran, Nithin Kumar Dabilpuram, Akhil Goyal



> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit@xilinx.com>
> Sent: Wednesday, April 20, 2022 11:46 PM
> To: Vamsi Krishna Attunuru <vattunuru@marvell.com>; dev@dpdk.org;
> Anoob Joseph <anoobj@marvell.com>; Konstantin Ananyev
> <konstantin.ananyev@intel.com>
> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Nithin Kumar
> Dabilpuram <ndabilpuram@marvell.com>; Akhil Goyal
> <gakhil@marvell.com>
> Subject: [EXT] Re: [PATCH 1/1] ethdev: add packet expiry event subtype
> 
> External Email
> 
> ----------------------------------------------------------------------
> On 3/23/2022 3:04 AM, Vamsi Krishna Attunuru wrote:
> > Ping..
> >
> >> -----Original Message-----
> >> From: Vamsi Attunuru <vattunuru@marvell.com>
> >> Sent: Thursday, March 17, 2022 1:28 PM
> >> To: dev@dpdk.org
> >> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Nithin Kumar
> >> Dabilpuram <ndabilpuram@marvell.com>; Akhil Goyal
> >> <gakhil@marvell.com>; Vamsi Krishna Attunuru
> <vattunuru@marvell.com>
> >> Subject: [PATCH 1/1] ethdev: add packet expiry event subtype
> >>
> >> Patch adds a new event subtype for notifying expiry event upon soft
> >> packet limit expiry.
> >>
> 
> cc'ed more people
> 
> Is there any user of this event to provide more context? Or to justify why it is
> needed?

Hi Ferruh,
This patch is superseded by
http://patches.dpdk.org/project/dpdk/patch/20220416192530.173895-8-gakhil@marvell.com/
Please check the comment section for the context and requirement details.

> 
> >> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
> >> ---
> >>   lib/ethdev/rte_ethdev.h | 3 +++
> >>   1 file changed, 3 insertions(+)
> >>
> >> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index
> >> 04cff8ee10..07d1f02bae 100644
> >> --- a/lib/ethdev/rte_ethdev.h
> >> +++ b/lib/ethdev/rte_ethdev.h
> >> @@ -3828,6 +3828,8 @@ enum rte_eth_event_ipsec_subtype {
> >>   	RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY,
> >>   	/** Soft byte expiry of SA */
> >>   	RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY,
> >> +	/** Soft packet expiry of SA */
> >> +	RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY,
> >>   	/** Max value of this enum */
> >>   	RTE_ETH_EVENT_IPSEC_MAX
> >>   };
> >> @@ -3849,6 +3851,7 @@ struct rte_eth_event_ipsec_desc {
> >>   	 * - @ref RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW
> >>   	 * - @ref RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY
> >>   	 * - @ref RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY
> >> +	 * - @ref RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY
> >>   	 *
> >>   	 * @see struct rte_security_session_conf
> >>   	 *
> >> --
> >> 2.25.1
> >


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-21  6:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17  7:57 [PATCH 1/1] ethdev: add packet expiry event subtype Vamsi Attunuru
2022-03-23  3:04 ` Vamsi Krishna Attunuru
2022-04-20 18:16   ` Ferruh Yigit
2022-04-21  6:45     ` [EXT] " Vamsi Krishna Attunuru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).