All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Cochran <richardcochran@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, arnd@arndb.de
Subject: Re: AF_PACKET mmap() v4...
Date: Thu, 5 Nov 2015 07:53:35 +0100	[thread overview]
Message-ID: <20151105065335.GB1824@netboy> (raw)
In-Reply-To: <20151105.000414.1682124328670738318.davem@davemloft.net>

On Thu, Nov 05, 2015 at 12:04:14AM -0500, David Miller wrote:
> So I want everyone to think about whether there are any other changes
> we might want to make given that we have to make a v4 anyways.

One thing I would like to see is a field for a desired transmit time.
Time based scheduling is a new topic, never discussed on this list
before, afaict.  HW already supports this, for example, the Intel i210
card has a high priority queue where you can tell it a Tx time in
terms of the PTP clock.

This functionality is useful in industrial Ethernet protocols.  There
must be a dozen of these out there, and a new IEEE standard is in the
works by Time Sensitive Networking (TSN) group.

I haven't thought too much about how to implement this, but the
eventual goal would be a generic time based scheduler that either uses
special HW features or does best effort in SW.  User space would have
a socket option for desired Tx time, and this should also be available
over the mmap interface.

Thanks,
Richard

  reply	other threads:[~2015-11-05  6:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05  5:04 AF_PACKET mmap() v4 David Miller
2015-11-05  6:53 ` Richard Cochran [this message]
2015-11-05  8:14 ` Guy Harris
2015-11-05 15:32   ` David Miller
2015-11-05  9:07 ` Arnd Bergmann
2015-11-05  9:39   ` Daniel Borkmann
2015-11-05 11:38     ` Eric Dumazet
2015-11-05 12:56       ` Daniel Borkmann
2015-11-05 16:17         ` Eric Dumazet
2015-11-05 22:56           ` Daniel Borkmann
2015-11-06 11:34             ` Daniel Borkmann
2015-11-08  2:19     ` Alexei Starovoitov
2015-11-08  4:27       ` John Fastabend
2015-11-09 10:54         ` Daniel Borkmann

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=20151105065335.GB1824@netboy \
    --to=richardcochran@gmail.com \
    --cc=arnd@arndb.de \
    --cc=davem@davemloft.net \
    --cc=netdev@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.