Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fuxbrumer, Dvora <dvorax.fuxbrumer@linux.intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH next-queue v3 3/3] igc: Add support for CBS offloading
Date: Thu, 19 Aug 2021 00:11:24 +0300	[thread overview]
Message-ID: <101a69fe-25e7-f33c-01f5-40294332c586@linux.intel.com> (raw)
In-Reply-To: <1628520820-28907-4-git-send-email-aravindhan.gunasekaran@intel.com>

On 8/9/2021 17:53, aravindhan.gunasekaran at intel.com wrote:
> From: Aravindhan Gunasekaran <aravindhan.gunasekaran@intel.com>
> 
> Implemented support for Credit-based shaper(CBS) Qdisc hardware
> offload mode in the driver. There are two sets of IEEE802.1Qav
> (CBS) HW logic in i225 controller and this patch supports
> enabling them in the top two priority TX queues.
> 
> Driver implemented as recommended by Foxville External
> Architecture Specification v0.993. Idleslope and Hi-credit are
> the CBS tunable parameters for i225 NIC, programmed in TQAVCC
> and TQAVHC registers respectively.
> 
> In-order for IEEE802.1Qav (CBS) algorithm to work as intended
> and provide BW reservation CBS should be enabled in highest
> priority queue first. If we enable CBS on any of low priority
> queues, the traffic in high priority queue does not allow low
> priority queue to be selected for transmission and bandwidth
> reservation is not guaranteed.
> 
> Signed-off-by: Aravindhan Gunasekaran <aravindhan.gunasekaran@intel.com>
> Signed-off-by: Mallikarjuna Chilakala <mallikarjuna.chilakala@intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc.h         |  11 ++-
>   drivers/net/ethernet/intel/igc/igc_defines.h |   8 +++
>   drivers/net/ethernet/intel/igc/igc_main.c    |  71 ++++++++++++++++++
>   drivers/net/ethernet/intel/igc/igc_regs.h    |   3 +
>   drivers/net/ethernet/intel/igc/igc_tsn.c     | 103 +++++++++++++++++++++++++++
>   5 files changed, 195 insertions(+), 1 deletion(-)
> 
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>

      reply	other threads:[~2021-08-18 21:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09 14:53 [Intel-wired-lan] [PATCH next-queue v3 0/3] igc: Add support for CBS offload aravindhan.gunasekaran
2021-08-09 14:53 ` [Intel-wired-lan] [PATCH next-queue v3 1/3] igc: Use default cycle 'start' and 'end' values for queues aravindhan.gunasekaran
2021-08-18 21:09   ` Fuxbrumer, Dvora
2021-08-09 14:53 ` [Intel-wired-lan] [PATCH next-queue v3 2/3] igc: Simplify TSN flags handling aravindhan.gunasekaran
2021-08-18 21:10   ` Fuxbrumer, Dvora
2021-08-09 14:53 ` [Intel-wired-lan] [PATCH next-queue v3 3/3] igc: Add support for CBS offloading aravindhan.gunasekaran
2021-08-18 21:11   ` Fuxbrumer, Dvora [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=101a69fe-25e7-f33c-01f5-40294332c586@linux.intel.com \
    --to=dvorax.fuxbrumer@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox