RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-19 Thread Stefan Lässer
> > +uint64_t af_packet_timestamp_dynflag; int > > +af_packet_timestamp_dynfield_offset = -1; > > No need to expose these publicly, they should be static. > This also means that you can remove the af_packet_ prefix. > > eth_dev_start(struct rte_eth_dev *dev) { > > struct pmd_internals *inter

RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-10 Thread Morten Brørup
> From: Stefan Laesser [mailto:stefan.laes...@omicronenergy.com] > Sent: Tuesday, 3 September 2024 13.43 > > Add the packet timestamp from TPACKET_V2 to the mbuf > dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP > is enabled. > > TPACKET_V2 provides the timestamp with nanose

RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-10 Thread Stefan Lässer
> > From: Stefan Lässer [mailto:stefan.laes...@omicronenergy.com] > > Sent: Friday, 6 September 2024 08.23 > > > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > > Sent: Tuesday, 3 September 2024 18.22 > > > > > > > > On Tue, 3 Sep 2024 13:43:06 +0200 > > > > Stefan Laesser

RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-06 Thread Morten Brørup
> From: Stefan Lässer [mailto:stefan.laes...@omicronenergy.com] > Sent: Friday, 6 September 2024 08.23 > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > Sent: Tuesday, 3 September 2024 18.22 > > > > > > On Tue, 3 Sep 2024 13:43:06 +0200 > > > Stefan Laesser wrote: > > > >

RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-05 Thread Stefan Lässer
> > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Tuesday, 3 September 2024 18.22 > > > > On Tue, 3 Sep 2024 13:43:06 +0200 > > Stefan Laesser wrote: > > > > > Add the packet timestamp from TPACKET_V2 to the mbuf dynamic rx > > > timestamp register if offload RTE_ETH_RX_OFF

RE: [PATCH] net/af_packet: add timestamp offloading support

2024-09-03 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, 3 September 2024 18.22 > > On Tue, 3 Sep 2024 13:43:06 +0200 > Stefan Laesser wrote: > > > Add the packet timestamp from TPACKET_V2 to the mbuf > > dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP

Re: [PATCH] net/af_packet: add timestamp offloading support

2024-09-03 Thread Stephen Hemminger
On Tue, 3 Sep 2024 13:43:06 +0200 Stefan Laesser wrote: > Add the packet timestamp from TPACKET_V2 to the mbuf > dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP > is enabled. > > TPACKET_V2 provides the timestamp with nanosecond resolution. > > Signed-off-by: Stefan Laesse

[PATCH] net/af_packet: add timestamp offloading support

2024-09-03 Thread Stefan Laesser
Add the packet timestamp from TPACKET_V2 to the mbuf dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP is enabled. TPACKET_V2 provides the timestamp with nanosecond resolution. Signed-off-by: Stefan Laesser --- .mailmap | 1 + doc/guides/nic