Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-12-05 Thread Stephen Hemminger
Your right my test was crude. Just do build and look at symbol table of static linked binary. I was confused since pointer is exposed but not data structure On Thu, Dec 5, 2024, 07:40 David Marchand wrote: > On Tue, Dec 3, 2024 at 10:13 PM Stephen Hemminger > wrote: > > > > On Mon, 21 Oct 2024

Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-12-05 Thread David Marchand
On Tue, Dec 3, 2024 at 10:13 PM Stephen Hemminger wrote: > > On Mon, 21 Oct 2024 01:52:46 + > Wathsala Vithanage wrote: > > > Extend the ethdev library to enable the stashing of different data > > objects, such as the ones listed below, into CPU caches directly > > from the NIC. > > > > - Rx/

Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-12-03 Thread Stephen Hemminger
On Mon, 21 Oct 2024 01:52:46 + Wathsala Vithanage wrote: > Extend the ethdev library to enable the stashing of different data > objects, such as the ones listed below, into CPU caches directly > from the NIC. > > - Rx/Tx queue descriptors > - Rx packets > - Packet headers > - packet payloads

RE: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-10-25 Thread Wathsala Wathawana Vithanage
ct: Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API > > On Mon, Oct 21, 2024 at 7:23 AM Wathsala Vithanage > wrote: > > > > Extend the ethdev library to enable the stashing of different data > > objects, such as the ones listed below, into CPU caches direct

RE: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-10-25 Thread Wathsala Wathawana Vithanage
i > Subject: RE: [RFC v3 2/2] ethdev: introduce the cache stashing hints API > > > From: Jerin Jacob [mailto:jerinjac...@gmail.com] > > Sent: Thursday, 24 October 2024 07.49 > > > > On Mon, Oct 21, 2024 at 7:23 AM Wathsala Vithanage > > wrote: > > >

RE: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-10-23 Thread Morten Brørup
> From: Jerin Jacob [mailto:jerinjac...@gmail.com] > Sent: Thursday, 24 October 2024 07.49 > > On Mon, Oct 21, 2024 at 7:23 AM Wathsala Vithanage > wrote: > > > > Extend the ethdev library to enable the stashing of different data > > objects, such as the ones listed below, into CPU caches directl

Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-10-23 Thread Jerin Jacob
On Mon, Oct 21, 2024 at 7:23 AM Wathsala Vithanage wrote: > > Extend the ethdev library to enable the stashing of different data > objects, such as the ones listed below, into CPU caches directly > from the NIC. > > - Rx/Tx queue descriptors > - Rx packets > - Packet headers > - packet payloads >

RE: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-10-21 Thread Morten Brørup
> +/** > + * Apply stashing hint to data at a given offset from the start of a > + * received packet. > + */ > +#define RTE_ETH_DEV_STASH_OBJECT_OFFSET 0x0001 > + > +/** Apply stashing hint to an rx descriptor. */ > +#define RTE_ETH_DEV_STASH_OBJECT_DESC0x0002 > + > +/*