RE: [RFC PATCH v3] ethdev: advertise flow restore in mbuf

2023-06-21 Thread Ori Kam
n (EXTERNAL) ; > > i.maxim...@ovn.org; Ali Alnubani ; Aman Singh > > ; Yuying Zhang ; > > Matan Azrad ; Slava Ovsiienko > > ; Ori Kam ; Suanming Mou > > ; David Christensen ; > > Ruifeng Wang ; Bruce Richardson > > ; Konstantin Ananyev > > ; Andrew Rybche

RE: [RFC PATCH v3] ethdev: advertise flow restore in mbuf

2023-06-21 Thread Ali Alnubani
am ; Suanming Mou > ; David Christensen ; > Ruifeng Wang ; Bruce Richardson > ; Konstantin Ananyev > ; Andrew Rybchenko > ; Ferruh Yigit > Subject: [RFC PATCH v3] ethdev: advertise flow restore in mbuf > > As reported by Ilya [1], unconditionally calling > rte_flow_get

Re: [RFC PATCH v3] ethdev: advertise flow restore in mbuf

2023-06-21 Thread David Marchand
Hello, On Tue, Jun 20, 2023 at 6:44 PM Slava Ovsiienko wrote: > > As reported by Ilya [1], unconditionally calling > > rte_flow_get_restore_info() impacts an application performance for drivers > > that do not provide this ops. > > It could also impact processing of packets that require no call t

RE: [RFC PATCH v3] ethdev: advertise flow restore in mbuf

2023-06-20 Thread Slava Ovsiienko
am ; Suanming Mou > ; David Christensen ; > Ruifeng Wang ; Bruce Richardson > ; Konstantin Ananyev > ; Andrew Rybchenko > ; Ferruh Yigit > Subject: [RFC PATCH v3] ethdev: advertise flow restore in mbuf > > As reported by Ilya [1], unconditionally calling > rte_flow_get

[RFC PATCH v3] ethdev: advertise flow restore in mbuf

2023-06-20 Thread David Marchand
As reported by Ilya [1], unconditionally calling rte_flow_get_restore_info() impacts an application performance for drivers that do not provide this ops. It could also impact processing of packets that require no call to rte_flow_get_restore_info() at all. Register a dynamic mbuf flag when an appl