All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <thoiland@redhat.com>
To: Piotr Raczynski <piotr.raczynski@intel.com>,
	Christoph Kuhr <christoph.kuhr@web.de>
Cc: "xdp-newbies@vger.kernel.org" <xdp-newbies@vger.kernel.org>
Subject: Re: Access Hardware Timestamp in eBPF Program
Date: Fri, 22 Nov 2019 11:58:23 +0100	[thread overview]
Message-ID: <87imnc5ga8.fsf@toke.dk> (raw)
In-Reply-To: <20191121231636.GA5888@DEV.igk.intel.com>

Piotr Raczynski <piotr.raczynski@intel.com> writes:

>> Is there a way to access such timestamps in a XDP eBPF program?
>
> Unfortunately, as of now there is no universal way for XDP programs,
> even in native mode, to access information taken from hardware,
> e.g. from Rx descriptor. Technically it would be possible, but there
> are no interfaces now that would allow common scheme for different
> drivers.

Adding this is on the TODO list, though:
https://github.com/xdp-project/xdp-project/blob/master/xdp-project.org#metadata-available-to-programs

-Toke

      reply	other threads:[~2019-11-22 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21 21:24 Access Hardware Timestamp in eBPF Program Christoph Kuhr
2019-11-21 23:16 ` Piotr Raczynski
2019-11-22 10:58   ` Toke Høiland-Jørgensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imnc5ga8.fsf@toke.dk \
    --to=thoiland@redhat.com \
    --cc=christoph.kuhr@web.de \
    --cc=piotr.raczynski@intel.com \
    --cc=xdp-newbies@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.