From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [next-queue PATCH v3 0/2] igc: Add initial TSN qdiscs offloading
Date: Fri, 14 Feb 2020 15:52:01 -0800 [thread overview]
Message-ID: <20200214235203.3910513-1-vinicius.gomes@intel.com> (raw)
Hi,
Changes from v2:
- Fixed review comments (Andre Guedes);
- Just a note, about the comment about ETF + taprio, when both are
in offload mode, since commit bfabd41da341 ("taprio: Fix dropping
packets when using taprio + ETF offloading") it should work fine.
Changes from v1:
- Fixed review comments (Andre Guedes);
Original cover letter:
This adds support for offloading taprio (which handles what was
formerly known as Qbv) and ETF (using the LaunchTime feature) to i225.
To try and keep things organized, a new file is added: igc_tsn.c. The
idea is that the more TSN specific code will live here, in the future
this will include frame-preemption support, and CBS (formerly Qav)
support.
The current support has a few limitations:
- because the BASET registers can only be written once per reset,
when removing taprio or ETF, we force the NIC to reset;
- In part because of the above limitation, we don't support changing
schedules;
- The way the registers for the schedule are organized, each queue
can only be opened and closed once per cycle, so some schedules
provided by the user are going to be rejected by the driver;
Future improvements:
- When configuring a Qbv cycle, when we detect that a queue would
stay open for two intervals, we could want to merge them;
- More testing with taprio and ETF together, when ETF is installed
under taprio (when using them separately, it works fine);
Vinicius Costa Gomes (2):
igc: Add support for taprio offloading
igc: Add support for ETF offloading
drivers/net/ethernet/intel/igc/Makefile | 2 +-
drivers/net/ethernet/intel/igc/igc.h | 7 +
drivers/net/ethernet/intel/igc/igc_defines.h | 13 ++
drivers/net/ethernet/intel/igc/igc_main.c | 183 ++++++++++++++++++-
drivers/net/ethernet/intel/igc/igc_regs.h | 12 ++
drivers/net/ethernet/intel/igc/igc_tsn.c | 157 ++++++++++++++++
drivers/net/ethernet/intel/igc/igc_tsn.h | 9 +
7 files changed, 379 insertions(+), 4 deletions(-)
create mode 100644 drivers/net/ethernet/intel/igc/igc_tsn.c
create mode 100644 drivers/net/ethernet/intel/igc/igc_tsn.h
--
2.25.0
next reply other threads:[~2020-02-14 23:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 23:52 Vinicius Costa Gomes [this message]
2020-02-14 23:52 ` [Intel-wired-lan] [next-queue PATCH v3 1/2] igc: Add support for taprio offloading Vinicius Costa Gomes
2020-02-18 18:07 ` Andre Guedes
2020-02-27 3:59 ` Brown, Aaron F
2020-03-30 23:29 ` Brown, Aaron F
2020-02-14 23:52 ` [Intel-wired-lan] [next-queue PATCH v3 2/2] igc: Add support for ETF offloading Vinicius Costa Gomes
2020-02-18 18:07 ` Andre Guedes
2020-02-27 3:46 ` Brown, Aaron F
2020-02-27 19:02 ` Vinicius Costa Gomes
2020-02-27 20:55 ` Brown, Aaron F
2020-03-30 23:29 ` Brown, Aaron F
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=20200214235203.3910513-1-vinicius.gomes@intel.com \
--to=vinicius.gomes@intel.com \
--cc=intel-wired-lan@osuosl.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.