summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-05-13 18:33:14 -0700
committerJakub Kicinski <kuba@kernel.org>2024-05-13 18:33:15 -0700
commitb08191d860293e962cc202d050e943842a7395e3 (patch)
tree3a7a3889774f41f8f0b9698c0fa4901ac4f0a762 /include/linux
parent95125152dcc57a4f4810134e0d4f975462f95b8e (diff)
parentbd17382ac36ed97848f1712714488e84c93605ca (diff)
downloadlinux-b08191d860293e962cc202d050e943842a7395e3.tar.gz
linux-b08191d860293e962cc202d050e943842a7395e3.tar.bz2
linux-b08191d860293e962cc202d050e943842a7395e3.zip
Merge branch 'move-est-lock-and-est-structure-to-struct-stmmac_priv'
Xiaolei Wang says: ==================== Move EST lock and EST structure to struct stmmac_priv 1. Pulling the mutex protecting the EST structure out to avoid clearing it during reinit/memset of the EST structure,and reacquire the mutex lock when doing this initialization. 2. Moving the EST structure to a more logical location ==================== Link: https://lore.kernel.org/r/20240513014346.1718740-1-xiaolei.wang@windriver.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stmmac.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 4a24a246c617..f92c195c76ed 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -115,21 +115,6 @@ struct stmmac_axi {
bool axi_rb;
};
-#define EST_GCL 1024
-struct stmmac_est {
- struct mutex lock;
- int enable;
- u32 btr_reserve[2];
- u32 btr_offset[2];
- u32 btr[2];
- u32 ctr[2];
- u32 ter;
- u32 gcl_unaligned[EST_GCL];
- u32 gcl[EST_GCL];
- u32 gcl_size;
- u32 max_sdu[MTL_MAX_TX_QUEUES];
-};
-
struct stmmac_rxq_cfg {
u8 mode_to_use;
u32 chan;
@@ -246,7 +231,6 @@ struct plat_stmmacenet_data {
struct fwnode_handle *port_node;
struct device_node *mdio_node;
struct stmmac_dma_cfg *dma_cfg;
- struct stmmac_est *est;
struct stmmac_fpe_cfg *fpe_cfg;
struct stmmac_safety_feature_cfg *safety_feat_cfg;
int clk_csr;