diff options
author | Aravindhan Gunasekaran <aravindhan.gunasekaran@intel.com> | 2021-08-09 20:23:40 +0530 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-08-27 09:31:09 -0700 |
commit | 1ab011b0bf073ef02abf15344bb59e383aa15457 (patch) | |
tree | 83e2df411d34dcf982dccec4c1bf2d9bca26b853 /drivers/visorbus | |
parent | 61572d5f8f91d8603d8db028e1ec9e18fc0ca245 (diff) | |
download | linux-1ab011b0bf073ef02abf15344bb59e383aa15457.tar.bz2 |
igc: Add support for CBS offloading
Implement 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>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/visorbus')
0 files changed, 0 insertions, 0 deletions