[dpdk-dev] [RFC 0/8] mbuf: structure reorganization

Jan Blunck jblunck at infradead.org
Tue Feb 28 10:25:04 CET 2017


On Tue, Feb 28, 2017 at 10:05 AM, Ananyev, Konstantin
<konstantin.ananyev at intel.com> wrote:
>> >
>> > In both cases, we would need a conversion code (maybe in a library) if
>> > the application wants to work with timestamps from several sources. The
>> > second solution removes the normalization code in the PMD when not
>> > needed, it is probably better.
>>
>> I agree.
>
> One question - does that mean that application would need to
> keep a track from what PMD each particular packet came to do the normalization?

Yes. You usually do this based on mbuf->port.


More information about the dev mailing list