diff options
author | Rohan G Thomas <rohan.g.thomas@intel.com> | 2024-01-27 12:04:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-31 12:24:06 +0000 |
commit | c5c3e1bfc9e0ee72af528df8d773980f4855938a (patch) | |
tree | f84dec504364ec244252511b78fb5fea16f1a189 /include/linux/stmmac.h | |
parent | 57bf3dd2fe91aa144d2c8f53b02dc4e65c9b1135 (diff) |
net: stmmac: Offload queueMaxSDU from tc-taprio
Add support for configuring queueMaxSDU. As DWMAC IPs doesn't support
queueMaxSDU table handle this in the SW. The maximum 802.3 frame size
that is allowed to be transmitted by any queue is queueMaxSDU +
16 bytes (i.e. 6 bytes SA + 6 bytes DA + 4 bytes FCS).
Inspired from intel i225 driver.
Signed-off-by: Rohan G Thomas <rohan.g.thomas@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index dee5ad6e48c5..dfa1828cd756 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -127,6 +127,7 @@ struct stmmac_est { u32 gcl_unaligned[EST_GCL]; u32 gcl[EST_GCL]; u32 gcl_size; + u32 max_sdu[MTL_MAX_TX_QUEUES]; }; struct stmmac_rxq_cfg { |