intel-wired-lan.osuosl.org archive mirror
 help / color / mirror / Atom feed
* [Intel-wired-lan] [next-queue PATCH v2 0/2] igc: Add initial TSN qdiscs offloading
@ 2020-02-07 18:24 Vinicius Costa Gomes
  2020-02-07 18:24 ` [Intel-wired-lan] [next-queue PATCH v2 1/2] igc: Add support for taprio offloading Vinicius Costa Gomes
  2020-02-07 18:24 ` [Intel-wired-lan] [next-queue PATCH v2 2/2] igc: Add support for ETF offloading Vinicius Costa Gomes
  0 siblings, 2 replies; 11+ messages in thread
From: Vinicius Costa Gomes @ 2020-02-07 18:24 UTC (permalink / raw)
  To: intel-wired-lan


Hi,

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);

--
Cheers,

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 |  14 ++
 drivers/net/ethernet/intel/igc/igc_main.c    | 184 ++++++++++++++++++-
 drivers/net/ethernet/intel/igc/igc_regs.h    |  12 ++
 drivers/net/ethernet/intel/igc/igc_tsn.c     | 156 ++++++++++++++++
 drivers/net/ethernet/intel/igc/igc_tsn.h     |   9 +
 7 files changed, 380 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-02-13 17:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-07 18:24 [Intel-wired-lan] [next-queue PATCH v2 0/2] igc: Add initial TSN qdiscs offloading Vinicius Costa Gomes
2020-02-07 18:24 ` [Intel-wired-lan] [next-queue PATCH v2 1/2] igc: Add support for taprio offloading Vinicius Costa Gomes
2020-02-10 20:33   ` Andre Guedes
2020-02-13  0:24     ` Vinicius Costa Gomes
2020-02-07 18:24 ` [Intel-wired-lan] [next-queue PATCH v2 2/2] igc: Add support for ETF offloading Vinicius Costa Gomes
2020-02-10 20:34   ` Andre Guedes
2020-02-11  1:13     ` Vinicius Costa Gomes
2020-02-11 18:16       ` Andre Guedes
2020-02-13  0:13         ` Vinicius Costa Gomes
2020-02-13 17:48           ` Andre Guedes
2020-02-13  0:23     ` Vinicius Costa Gomes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).