diff options
author | 2020-01-13 17:24:09 +0100 | |
---|---|---|
committer | 2020-01-13 18:31:48 -0800 | |
commit | 579a25a854d482bc9d0f9ab0e07ba32fb66bd9e3 (patch) | |
tree | 43a4cc5c23706f6f08c1c4e6d3b1abb041bd2c28 /include/linux/stmmac.h | |
parent | amd-xgbe: remove unnecessary conversion to bool (diff) | |
download | linux-579a25a854d482bc9d0f9ab0e07ba32fb66bd9e3.tar.gz linux-579a25a854d482bc9d0f9ab0e07ba32fb66bd9e3.tar.bz2 linux-579a25a854d482bc9d0f9ab0e07ba32fb66bd9e3.zip |
net: stmmac: Initial support for TBS
Adds the initial hooks for TBS support. This needs a 32 byte descriptor
in order for it to work with current HW. Adds all the logic for Enhanced
Descriptors in main core but no HW related logic for now.
Changes from v2:
- Use bitfield for TBS status / support (Jakub)
- Remove unneeded cache alignment (Jakub)
- Fix checkpatch issues
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
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 0531afa9b21e..19190c609282 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -139,6 +139,7 @@ struct stmmac_txq_cfg { u32 low_credit; bool use_prio; u32 prio; + int tbs_en; }; struct plat_stmmacenet_data { |