aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc.h
diff options
context:
space:
mode:
authorTan Tee Min <[email protected]>2023-02-16 01:16:24 +0000
committerTony Nguyen <[email protected]>2023-03-07 21:45:56 +0000
commit92a0dcb8427dc52eb0ec806206e2bdb23cc13840 (patch)
tree315533c29d838864c19ed5e02ea4299745f196b8 /drivers/net/ethernet/intel/igc/igc.h
parentigc: Add qbv_config_change_errors counter (diff)
downloadkernel-92a0dcb8427dc52eb0ec806206e2bdb23cc13840.tar.gz
kernel-92a0dcb8427dc52eb0ec806206e2bdb23cc13840.zip
igc: offload queue max SDU from tc-taprio
Add support for configuring the max SDU for each Tx queue. If not specified, keep the default. Signed-off-by: Tan Tee Min <[email protected]> Signed-off-by: Muhammad Husaini Zulkifli <[email protected]> Tested-by: Naama Meir <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc.h')
-rw-r--r--drivers/net/ethernet/intel/igc/igc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h
index 79cc99af4317..c0c00b8bd8d8 100644
--- a/drivers/net/ethernet/intel/igc/igc.h
+++ b/drivers/net/ethernet/intel/igc/igc.h
@@ -99,6 +99,7 @@ struct igc_ring {
u32 start_time;
u32 end_time;
+ u32 max_sdu;
/* CBS parameters */
bool cbs_enable; /* indicates if CBS is enabled */