From: Sean Anderson <sean.anderson@seco.com> To: "David S . Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Madalin Bucur <madalin.bucur@nxp.com>, netdev@vger.kernel.org Cc: Paolo Abeni <pabeni@redhat.com>, Eric Dumazet <edumazet@google.com>, linux-arm-kernel@lists.infradead.org, Russell King <linux@armlinux.org.uk>, linux-kernel@vger.kernel.org, Sean Anderson <sean.anderson@seco.com> Subject: [PATCH net-next v3 31/47] net: fman: Use mac_dev for some params Date: Fri, 15 Jul 2022 17:59:38 -0400 [thread overview] Message-ID: <20220715215954.1449214-32-sean.anderson@seco.com> (raw) In-Reply-To: <20220715215954.1449214-1-sean.anderson@seco.com> Some params are already present in mac_dev. Use them directly instead of passing them through params. Signed-off-by: Sean Anderson <sean.anderson@seco.com> --- (no changes since v1) .../net/ethernet/freescale/fman/fman_dtsec.c | 16 +++++++--------- drivers/net/ethernet/freescale/fman/fman_mac.h | 7 ------- .../net/ethernet/freescale/fman/fman_memac.c | 17 ++++++++--------- drivers/net/ethernet/freescale/fman/fman_tgec.c | 12 +++++------- drivers/net/ethernet/freescale/fman/mac.c | 10 ++-------- 5 files changed, 22 insertions(+), 40 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_dtsec.c b/drivers/net/ethernet/freescale/fman/fman_dtsec.c index 9fabb2dfc972..09ad1117005a 100644 --- a/drivers/net/ethernet/freescale/fman/fman_dtsec.c +++ b/drivers/net/ethernet/freescale/fman/fman_dtsec.c @@ -1413,13 +1413,11 @@ static int dtsec_free(struct fman_mac *dtsec) return 0; } -static struct fman_mac *dtsec_config(struct fman_mac_params *params) +static struct fman_mac *dtsec_config(struct mac_device *mac_dev, + struct fman_mac_params *params) { struct fman_mac *dtsec; struct dtsec_cfg *dtsec_drv_param; - void __iomem *base_addr; - - base_addr = params->base_addr; /* allocate memory for the UCC GETH data structure. */ dtsec = kzalloc(sizeof(*dtsec), GFP_KERNEL); @@ -1436,10 +1434,10 @@ static struct fman_mac *dtsec_config(struct fman_mac_params *params) set_dflts(dtsec_drv_param); - dtsec->regs = base_addr; - dtsec->addr = ENET_ADDR_TO_UINT64(params->addr); + dtsec->regs = mac_dev->vaddr; + dtsec->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); dtsec->max_speed = params->max_speed; - dtsec->phy_if = params->phy_if; + dtsec->phy_if = mac_dev->phy_if; dtsec->mac_id = params->mac_id; dtsec->exceptions = (DTSEC_IMASK_BREN | DTSEC_IMASK_RXCEN | @@ -1456,7 +1454,7 @@ static struct fman_mac *dtsec_config(struct fman_mac_params *params) DTSEC_IMASK_RDPEEN); dtsec->exception_cb = params->exception_cb; dtsec->event_cb = params->event_cb; - dtsec->dev_id = params->dev_id; + dtsec->dev_id = mac_dev; dtsec->ptp_tsu_enabled = dtsec->dtsec_drv_param->ptp_tsu_en; dtsec->en_tsu_err_exception = dtsec->dtsec_drv_param->ptp_exception_en; @@ -1495,7 +1493,7 @@ int dtsec_initialization(struct mac_device *mac_dev, mac_dev->enable = dtsec_enable; mac_dev->disable = dtsec_disable; - mac_dev->fman_mac = dtsec_config(params); + mac_dev->fman_mac = dtsec_config(mac_dev, params); if (!mac_dev->fman_mac) { err = -EINVAL; goto _return; diff --git a/drivers/net/ethernet/freescale/fman/fman_mac.h b/drivers/net/ethernet/freescale/fman/fman_mac.h index 7774af6463e5..730aae7fed13 100644 --- a/drivers/net/ethernet/freescale/fman/fman_mac.h +++ b/drivers/net/ethernet/freescale/fman/fman_mac.h @@ -163,25 +163,18 @@ typedef void (fman_mac_exception_cb)(void *dev_id, /* FMan MAC config input */ struct fman_mac_params { - /* Base of memory mapped FM MAC registers */ - void __iomem *base_addr; - /* MAC address of device; First octet is sent first */ - enet_addr_t addr; /* MAC ID; numbering of dTSEC and 1G-mEMAC: * 0 - FM_MAX_NUM_OF_1G_MACS; * numbering of 10G-MAC (TGEC) and 10G-mEMAC: * 0 - FM_MAX_NUM_OF_10G_MACS */ u8 mac_id; - /* PHY interface */ - phy_interface_t phy_if; /* Note that the speed should indicate the maximum rate that * this MAC should support rather than the actual speed; */ u16 max_speed; /* A handle to the FM object this port related to */ void *fm; - void *dev_id; /* device cookie used by the exception cbs */ fman_mac_exception_cb *event_cb; /* MDIO Events Callback Routine */ fman_mac_exception_cb *exception_cb;/* Exception Callback Routine */ /* SGMII/QSGII interface with 1000BaseX auto-negotiation between MAC diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 7121be0f958b..2f3050df5ab9 100644 --- a/drivers/net/ethernet/freescale/fman/fman_memac.c +++ b/drivers/net/ethernet/freescale/fman/fman_memac.c @@ -1109,13 +1109,12 @@ static int memac_free(struct fman_mac *memac) return 0; } -static struct fman_mac *memac_config(struct fman_mac_params *params) +static struct fman_mac *memac_config(struct mac_device *mac_dev, + struct fman_mac_params *params) { struct fman_mac *memac; struct memac_cfg *memac_drv_param; - void __iomem *base_addr; - base_addr = params->base_addr; /* allocate memory for the m_emac data structure */ memac = kzalloc(sizeof(*memac), GFP_KERNEL); if (!memac) @@ -1133,17 +1132,17 @@ static struct fman_mac *memac_config(struct fman_mac_params *params) set_dflts(memac_drv_param); - memac->addr = ENET_ADDR_TO_UINT64(params->addr); + memac->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); - memac->regs = base_addr; + memac->regs = mac_dev->vaddr; memac->max_speed = params->max_speed; - memac->phy_if = params->phy_if; + memac->phy_if = mac_dev->phy_if; memac->mac_id = params->mac_id; memac->exceptions = (MEMAC_IMASK_TSECC_ER | MEMAC_IMASK_TECC_ER | MEMAC_IMASK_RECC_ER | MEMAC_IMASK_MGI); memac->exception_cb = params->exception_cb; memac->event_cb = params->event_cb; - memac->dev_id = params->dev_id; + memac->dev_id = mac_dev; memac->fm = params->fm; memac->basex_if = params->basex_if; @@ -1177,9 +1176,9 @@ int memac_initialization(struct mac_device *mac_dev, mac_dev->disable = memac_disable; if (params->max_speed == SPEED_10000) - params->phy_if = PHY_INTERFACE_MODE_XGMII; + mac_dev->phy_if = PHY_INTERFACE_MODE_XGMII; - mac_dev->fman_mac = memac_config(params); + mac_dev->fman_mac = memac_config(mac_dev, params); if (!mac_dev->fman_mac) { err = -EINVAL; goto _return; diff --git a/drivers/net/ethernet/freescale/fman/fman_tgec.c b/drivers/net/ethernet/freescale/fman/fman_tgec.c index f34f89e46a6f..2642a4c27292 100644 --- a/drivers/net/ethernet/freescale/fman/fman_tgec.c +++ b/drivers/net/ethernet/freescale/fman/fman_tgec.c @@ -728,13 +728,11 @@ static int tgec_free(struct fman_mac *tgec) return 0; } -static struct fman_mac *tgec_config(struct fman_mac_params *params) +static struct fman_mac *tgec_config(struct mac_device *mac_dev, struct fman_mac_params *params) { struct fman_mac *tgec; struct tgec_cfg *cfg; - void __iomem *base_addr; - base_addr = params->base_addr; /* allocate memory for the UCC GETH data structure. */ tgec = kzalloc(sizeof(*tgec), GFP_KERNEL); if (!tgec) @@ -752,8 +750,8 @@ static struct fman_mac *tgec_config(struct fman_mac_params *params) set_dflts(cfg); - tgec->regs = base_addr; - tgec->addr = ENET_ADDR_TO_UINT64(params->addr); + tgec->regs = mac_dev->vaddr; + tgec->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); tgec->max_speed = params->max_speed; tgec->mac_id = params->mac_id; tgec->exceptions = (TGEC_IMASK_MDIO_SCAN_EVENT | @@ -773,7 +771,7 @@ static struct fman_mac *tgec_config(struct fman_mac_params *params) TGEC_IMASK_RX_ALIGN_ER); tgec->exception_cb = params->exception_cb; tgec->event_cb = params->event_cb; - tgec->dev_id = params->dev_id; + tgec->dev_id = mac_dev; tgec->fm = params->fm; /* Save FMan revision */ @@ -803,7 +801,7 @@ int tgec_initialization(struct mac_device *mac_dev, mac_dev->enable = tgec_enable; mac_dev->disable = tgec_disable; - mac_dev->fman_mac = tgec_config(params); + mac_dev->fman_mac = tgec_config(mac_dev, params); if (!mac_dev->fman_mac) { err = -EINVAL; goto _return; diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index fb04c1f9cd3e..0f9e3e9e60c6 100644 --- a/drivers/net/ethernet/freescale/fman/mac.c +++ b/drivers/net/ethernet/freescale/fman/mac.c @@ -34,7 +34,6 @@ struct mac_priv_s { struct list_head mc_addr_list; struct platform_device *eth_dev; u16 speed; - u16 max_speed; }; struct mac_address { @@ -439,7 +438,7 @@ static int mac_probe(struct platform_device *_of_dev) mac_dev->phy_if = phy_if; priv->speed = phy2speed[mac_dev->phy_if]; - priv->max_speed = priv->speed; + params.max_speed = priv->speed; mac_dev->if_support = DTSEC_SUPPORTED; /* We don't support half-duplex in SGMII mode */ if (mac_dev->phy_if == PHY_INTERFACE_MODE_SGMII) @@ -447,7 +446,7 @@ static int mac_probe(struct platform_device *_of_dev) SUPPORTED_100baseT_Half); /* Gigabit support (no half-duplex) */ - if (priv->max_speed == 1000) + if (params.max_speed == 1000) mac_dev->if_support |= SUPPORTED_1000baseT_Full; /* The 10G interface only supports one mode */ @@ -457,16 +456,11 @@ static int mac_probe(struct platform_device *_of_dev) /* Get the rest of the PHY information */ mac_dev->phy_node = of_parse_phandle(mac_node, "phy-handle", 0); - params.base_addr = mac_dev->vaddr; - memcpy(¶ms.addr, mac_dev->addr, sizeof(mac_dev->addr)); - params.max_speed = priv->max_speed; - params.phy_if = mac_dev->phy_if; params.basex_if = false; params.mac_id = priv->cell_index; params.fm = (void *)priv->fman; params.exception_cb = mac_exception; params.event_cb = mac_exception; - params.dev_id = mac_dev; err = init(mac_dev, mac_node, ¶ms); if (err < 0) { -- 2.35.1.1320.gc452695387.dirty
WARNING: multiple messages have this Message-ID (diff)
From: Sean Anderson <sean.anderson@seco.com> To: "David S . Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Madalin Bucur <madalin.bucur@nxp.com>, netdev@vger.kernel.org Cc: Paolo Abeni <pabeni@redhat.com>, Eric Dumazet <edumazet@google.com>, linux-arm-kernel@lists.infradead.org, Russell King <linux@armlinux.org.uk>, linux-kernel@vger.kernel.org, Sean Anderson <sean.anderson@seco.com> Subject: [PATCH net-next v3 31/47] net: fman: Use mac_dev for some params Date: Fri, 15 Jul 2022 17:59:38 -0400 [thread overview] Message-ID: <20220715215954.1449214-32-sean.anderson@seco.com> (raw) In-Reply-To: <20220715215954.1449214-1-sean.anderson@seco.com> Some params are already present in mac_dev. Use them directly instead of passing them through params. Signed-off-by: Sean Anderson <sean.anderson@seco.com> --- (no changes since v1) .../net/ethernet/freescale/fman/fman_dtsec.c | 16 +++++++--------- drivers/net/ethernet/freescale/fman/fman_mac.h | 7 ------- .../net/ethernet/freescale/fman/fman_memac.c | 17 ++++++++--------- drivers/net/ethernet/freescale/fman/fman_tgec.c | 12 +++++------- drivers/net/ethernet/freescale/fman/mac.c | 10 ++-------- 5 files changed, 22 insertions(+), 40 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_dtsec.c b/drivers/net/ethernet/freescale/fman/fman_dtsec.c index 9fabb2dfc972..09ad1117005a 100644 --- a/drivers/net/ethernet/freescale/fman/fman_dtsec.c +++ b/drivers/net/ethernet/freescale/fman/fman_dtsec.c @@ -1413,13 +1413,11 @@ static int dtsec_free(struct fman_mac *dtsec) return 0; } -static struct fman_mac *dtsec_config(struct fman_mac_params *params) +static struct fman_mac *dtsec_config(struct mac_device *mac_dev, + struct fman_mac_params *params) { struct fman_mac *dtsec; struct dtsec_cfg *dtsec_drv_param; - void __iomem *base_addr; - - base_addr = params->base_addr; /* allocate memory for the UCC GETH data structure. */ dtsec = kzalloc(sizeof(*dtsec), GFP_KERNEL); @@ -1436,10 +1434,10 @@ static struct fman_mac *dtsec_config(struct fman_mac_params *params) set_dflts(dtsec_drv_param); - dtsec->regs = base_addr; - dtsec->addr = ENET_ADDR_TO_UINT64(params->addr); + dtsec->regs = mac_dev->vaddr; + dtsec->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); dtsec->max_speed = params->max_speed; - dtsec->phy_if = params->phy_if; + dtsec->phy_if = mac_dev->phy_if; dtsec->mac_id = params->mac_id; dtsec->exceptions = (DTSEC_IMASK_BREN | DTSEC_IMASK_RXCEN | @@ -1456,7 +1454,7 @@ static struct fman_mac *dtsec_config(struct fman_mac_params *params) DTSEC_IMASK_RDPEEN); dtsec->exception_cb = params->exception_cb; dtsec->event_cb = params->event_cb; - dtsec->dev_id = params->dev_id; + dtsec->dev_id = mac_dev; dtsec->ptp_tsu_enabled = dtsec->dtsec_drv_param->ptp_tsu_en; dtsec->en_tsu_err_exception = dtsec->dtsec_drv_param->ptp_exception_en; @@ -1495,7 +1493,7 @@ int dtsec_initialization(struct mac_device *mac_dev, mac_dev->enable = dtsec_enable; mac_dev->disable = dtsec_disable; - mac_dev->fman_mac = dtsec_config(params); + mac_dev->fman_mac = dtsec_config(mac_dev, params); if (!mac_dev->fman_mac) { err = -EINVAL; goto _return; diff --git a/drivers/net/ethernet/freescale/fman/fman_mac.h b/drivers/net/ethernet/freescale/fman/fman_mac.h index 7774af6463e5..730aae7fed13 100644 --- a/drivers/net/ethernet/freescale/fman/fman_mac.h +++ b/drivers/net/ethernet/freescale/fman/fman_mac.h @@ -163,25 +163,18 @@ typedef void (fman_mac_exception_cb)(void *dev_id, /* FMan MAC config input */ struct fman_mac_params { - /* Base of memory mapped FM MAC registers */ - void __iomem *base_addr; - /* MAC address of device; First octet is sent first */ - enet_addr_t addr; /* MAC ID; numbering of dTSEC and 1G-mEMAC: * 0 - FM_MAX_NUM_OF_1G_MACS; * numbering of 10G-MAC (TGEC) and 10G-mEMAC: * 0 - FM_MAX_NUM_OF_10G_MACS */ u8 mac_id; - /* PHY interface */ - phy_interface_t phy_if; /* Note that the speed should indicate the maximum rate that * this MAC should support rather than the actual speed; */ u16 max_speed; /* A handle to the FM object this port related to */ void *fm; - void *dev_id; /* device cookie used by the exception cbs */ fman_mac_exception_cb *event_cb; /* MDIO Events Callback Routine */ fman_mac_exception_cb *exception_cb;/* Exception Callback Routine */ /* SGMII/QSGII interface with 1000BaseX auto-negotiation between MAC diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 7121be0f958b..2f3050df5ab9 100644 --- a/drivers/net/ethernet/freescale/fman/fman_memac.c +++ b/drivers/net/ethernet/freescale/fman/fman_memac.c @@ -1109,13 +1109,12 @@ static int memac_free(struct fman_mac *memac) return 0; } -static struct fman_mac *memac_config(struct fman_mac_params *params) +static struct fman_mac *memac_config(struct mac_device *mac_dev, + struct fman_mac_params *params) { struct fman_mac *memac; struct memac_cfg *memac_drv_param; - void __iomem *base_addr; - base_addr = params->base_addr; /* allocate memory for the m_emac data structure */ memac = kzalloc(sizeof(*memac), GFP_KERNEL); if (!memac) @@ -1133,17 +1132,17 @@ static struct fman_mac *memac_config(struct fman_mac_params *params) set_dflts(memac_drv_param); - memac->addr = ENET_ADDR_TO_UINT64(params->addr); + memac->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); - memac->regs = base_addr; + memac->regs = mac_dev->vaddr; memac->max_speed = params->max_speed; - memac->phy_if = params->phy_if; + memac->phy_if = mac_dev->phy_if; memac->mac_id = params->mac_id; memac->exceptions = (MEMAC_IMASK_TSECC_ER | MEMAC_IMASK_TECC_ER | MEMAC_IMASK_RECC_ER | MEMAC_IMASK_MGI); memac->exception_cb = params->exception_cb; memac->event_cb = params->event_cb; - memac->dev_id = params->dev_id; + memac->dev_id = mac_dev; memac->fm = params->fm; memac->basex_if = params->basex_if; @@ -1177,9 +1176,9 @@ int memac_initialization(struct mac_device *mac_dev, mac_dev->disable = memac_disable; if (params->max_speed == SPEED_10000) - params->phy_if = PHY_INTERFACE_MODE_XGMII; + mac_dev->phy_if = PHY_INTERFACE_MODE_XGMII; - mac_dev->fman_mac = memac_config(params); + mac_dev->fman_mac = memac_config(mac_dev, params); if (!mac_dev->fman_mac) { err = -EINVAL; goto _return; diff --git a/drivers/net/ethernet/freescale/fman/fman_tgec.c b/drivers/net/ethernet/freescale/fman/fman_tgec.c index f34f89e46a6f..2642a4c27292 100644 --- a/drivers/net/ethernet/freescale/fman/fman_tgec.c +++ b/drivers/net/ethernet/freescale/fman/fman_tgec.c @@ -728,13 +728,11 @@ static int tgec_free(struct fman_mac *tgec) return 0; } -static struct fman_mac *tgec_config(struct fman_mac_params *params) +static struct fman_mac *tgec_config(struct mac_device *mac_dev, struct fman_mac_params *params) { struct fman_mac *tgec; struct tgec_cfg *cfg; - void __iomem *base_addr; - base_addr = params->base_addr; /* allocate memory for the UCC GETH data structure. */ tgec = kzalloc(sizeof(*tgec), GFP_KERNEL); if (!tgec) @@ -752,8 +750,8 @@ static struct fman_mac *tgec_config(struct fman_mac_params *params) set_dflts(cfg); - tgec->regs = base_addr; - tgec->addr = ENET_ADDR_TO_UINT64(params->addr); + tgec->regs = mac_dev->vaddr; + tgec->addr = ENET_ADDR_TO_UINT64(mac_dev->addr); tgec->max_speed = params->max_speed; tgec->mac_id = params->mac_id; tgec->exceptions = (TGEC_IMASK_MDIO_SCAN_EVENT | @@ -773,7 +771,7 @@ static struct fman_mac *tgec_config(struct fman_mac_params *params) TGEC_IMASK_RX_ALIGN_ER); tgec->exception_cb = params->exception_cb; tgec->event_cb = params->event_cb; - tgec->dev_id = params->dev_id; + tgec->dev_id = mac_dev; tgec->fm = params->fm; /* Save FMan revision */ @@ -803,7 +801,7 @@ int tgec_initialization(struct mac_device *mac_dev, mac_dev->enable = tgec_enable; mac_dev->disable = tgec_disable; - mac_dev->fman_mac = tgec_config(params); + mac_dev->fman_mac = tgec_config(mac_dev, params); if (!mac_dev->fman_mac) { err = -EINVAL; goto _return; diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index fb04c1f9cd3e..0f9e3e9e60c6 100644 --- a/drivers/net/ethernet/freescale/fman/mac.c +++ b/drivers/net/ethernet/freescale/fman/mac.c @@ -34,7 +34,6 @@ struct mac_priv_s { struct list_head mc_addr_list; struct platform_device *eth_dev; u16 speed; - u16 max_speed; }; struct mac_address { @@ -439,7 +438,7 @@ static int mac_probe(struct platform_device *_of_dev) mac_dev->phy_if = phy_if; priv->speed = phy2speed[mac_dev->phy_if]; - priv->max_speed = priv->speed; + params.max_speed = priv->speed; mac_dev->if_support = DTSEC_SUPPORTED; /* We don't support half-duplex in SGMII mode */ if (mac_dev->phy_if == PHY_INTERFACE_MODE_SGMII) @@ -447,7 +446,7 @@ static int mac_probe(struct platform_device *_of_dev) SUPPORTED_100baseT_Half); /* Gigabit support (no half-duplex) */ - if (priv->max_speed == 1000) + if (params.max_speed == 1000) mac_dev->if_support |= SUPPORTED_1000baseT_Full; /* The 10G interface only supports one mode */ @@ -457,16 +456,11 @@ static int mac_probe(struct platform_device *_of_dev) /* Get the rest of the PHY information */ mac_dev->phy_node = of_parse_phandle(mac_node, "phy-handle", 0); - params.base_addr = mac_dev->vaddr; - memcpy(¶ms.addr, mac_dev->addr, sizeof(mac_dev->addr)); - params.max_speed = priv->max_speed; - params.phy_if = mac_dev->phy_if; params.basex_if = false; params.mac_id = priv->cell_index; params.fm = (void *)priv->fman; params.exception_cb = mac_exception; params.event_cb = mac_exception; - params.dev_id = mac_dev; err = init(mac_dev, mac_node, ¶ms); if (err < 0) { -- 2.35.1.1320.gc452695387.dirty _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-07-15 22:04 UTC|newest] Thread overview: 278+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-15 21:59 [PATCH net-next v3 00/47] [RFT] net: dpaa: Convert to phylink Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 01/47] dt-bindings: phy: Add Lynx 10G phy binding Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-20 22:17 ` Rob Herring 2022-07-20 22:17 ` Rob Herring 2022-07-20 22:17 ` Rob Herring 2022-07-21 16:05 ` Sean Anderson 2022-07-21 16:05 ` Sean Anderson 2022-07-21 16:05 ` Sean Anderson 2022-07-21 18:29 ` Rob Herring 2022-07-21 18:29 ` Rob Herring 2022-07-21 18:29 ` Rob Herring 2022-07-21 23:35 ` Sean Anderson 2022-07-21 23:35 ` Sean Anderson 2022-07-21 23:35 ` Sean Anderson 2022-07-26 15:44 ` Sean Anderson 2022-07-26 15:44 ` Sean Anderson 2022-07-26 15:44 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 02/47] dt-bindings: net: Expand pcs-handle to an array Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 03/47] dt-bindings: net: Convert FMan MAC bindings to yaml Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 23:06 ` Rob Herring 2022-07-15 23:06 ` Rob Herring 2022-07-16 22:47 ` Sean Anderson 2022-07-16 22:47 ` Sean Anderson 2022-07-21 14:42 ` Krzysztof Kozlowski 2022-07-21 14:42 ` Krzysztof Kozlowski 2022-07-22 16:50 ` Sean Anderson 2022-07-22 16:50 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 04/47] dt-bindings: net: fman: Add additional interface properties Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 05/47] net: phy: Add 1000BASE-KX interface mode Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 06/47] [RFT] phy: fsl: Add Lynx 10G SerDes driver Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 22:39 ` kernel test robot 2022-07-16 22:39 ` kernel test robot 2022-07-16 22:39 ` kernel test robot 2022-07-15 21:59 ` [PATCH net-next v3 07/47] net: phy: Add support for rate adaptation Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 19:39 ` Andrew Lunn 2022-07-16 19:39 ` Andrew Lunn 2022-07-16 21:55 ` Sean Anderson 2022-07-16 21:55 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 08/47] net: phylink: Support differing link speeds and interface speeds Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 20:06 ` Andrew Lunn 2022-07-16 20:06 ` Andrew Lunn 2022-07-16 22:29 ` Sean Anderson 2022-07-16 22:29 ` Sean Anderson 2022-07-17 1:26 ` Andrew Lunn 2022-07-17 1:26 ` Andrew Lunn 2022-07-18 15:49 ` Sean Anderson 2022-07-18 15:49 ` Sean Anderson 2022-07-18 16:06 ` Russell King (Oracle) 2022-07-18 16:06 ` Russell King (Oracle) 2022-07-18 16:38 ` Sean Anderson 2022-07-18 16:38 ` Sean Anderson 2022-07-18 17:28 ` Andrew Lunn 2022-07-18 17:28 ` Andrew Lunn 2022-07-18 17:40 ` Sean Anderson 2022-07-18 17:40 ` Sean Anderson 2022-07-18 18:01 ` Russell King (Oracle) 2022-07-18 18:01 ` Russell King (Oracle) 2022-07-15 21:59 ` [PATCH net-next v3 09/47] net: phylink: Adjust advertisement based on rate adaptation Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 10/47] net: phylink: Adjust link settings " Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 20:17 ` Andrew Lunn 2022-07-16 20:17 ` Andrew Lunn 2022-07-16 22:37 ` Sean Anderson 2022-07-16 22:37 ` Sean Anderson 2022-07-17 1:39 ` Andrew Lunn 2022-07-17 1:39 ` Andrew Lunn 2022-07-18 16:22 ` Russell King (Oracle) 2022-07-18 16:22 ` Russell King (Oracle) 2022-07-18 16:29 ` Sean Anderson 2022-07-18 16:29 ` Sean Anderson 2022-07-18 16:14 ` Russell King (Oracle) 2022-07-18 16:14 ` Russell King (Oracle) 2022-07-18 16:12 ` Russell King (Oracle) 2022-07-18 16:12 ` Russell King (Oracle) 2022-07-18 16:45 ` Sean Anderson 2022-07-18 16:45 ` Sean Anderson 2022-07-18 17:58 ` Russell King (Oracle) 2022-07-18 17:58 ` Russell King (Oracle) 2022-07-15 21:59 ` [PATCH net-next v3 11/47] [RFC] net: phylink: Add support for CRS-based " Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 12/47] net: phy: aquantia: Add support for AQR115 Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 18:17 ` Andrew Lunn 2022-07-16 18:17 ` Andrew Lunn 2022-07-16 22:42 ` Sean Anderson 2022-07-16 22:42 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 13/47] net: phy: aquantia: Add some additional phy interfaces Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 18:18 ` Andrew Lunn 2022-07-16 18:18 ` Andrew Lunn 2022-07-15 21:59 ` [PATCH net-next v3 14/47] net: phy: aquantia: Add support for rate adaptation Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 18:38 ` Andrew Lunn 2022-07-16 18:38 ` Andrew Lunn 2022-07-16 22:45 ` Sean Anderson 2022-07-16 22:45 ` Sean Anderson 2022-07-17 1:42 ` Andrew Lunn 2022-07-17 1:42 ` Andrew Lunn 2022-07-15 21:59 ` [PATCH net-next v3 15/47] net: fman: Convert to SPDX identifiers Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 16/47] net: fman: Don't pass comm_mode to enable/disable Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 17/47] net: fman: Store en/disable in mac_device instead of mac_priv_s Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 18/47] net: fman: dtsec: Always gracefully stop/start Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 19/47] net: fman: Get PCS node in per-mac init Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:39 ` Camelia Alexandra Groza 2022-07-21 12:39 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 20/47] net: fman: Store initialization function in match data Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:51 ` Camelia Alexandra Groza 2022-07-21 12:51 ` Camelia Alexandra Groza 2022-07-21 15:34 ` Sean Anderson 2022-07-21 15:34 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 21/47] net: fman: Move struct dev to mac_device Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:52 ` Camelia Alexandra Groza 2022-07-21 12:52 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 22/47] net: fman: Configure fixed link in memac_initialization Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:57 ` Camelia Alexandra Groza 2022-07-21 12:57 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 23/47] net: fman: Export/rename some common functions Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:58 ` Camelia Alexandra Groza 2022-07-21 12:58 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 24/47] net: fman: memac: Use params instead of priv for max_speed Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:58 ` Camelia Alexandra Groza 2022-07-21 12:58 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 25/47] net: fman: Move initialization to mac-specific files Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:59 ` Camelia Alexandra Groza 2022-07-21 12:59 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 26/47] net: fman: Mark mac methods static Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 12:59 ` Camelia Alexandra Groza 2022-07-21 12:59 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 27/47] net: fman: Inline several functions into initialization Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:01 ` Camelia Alexandra Groza 2022-07-21 13:01 ` Camelia Alexandra Groza 2022-07-21 15:33 ` Sean Anderson 2022-07-21 15:33 ` Sean Anderson 2022-07-22 12:30 ` Camelia Alexandra Groza 2022-07-22 12:30 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 28/47] net: fman: Remove internal_phy_node from params Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:03 ` Camelia Alexandra Groza 2022-07-21 13:03 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 29/47] net: fman: Map the base address once Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:04 ` Camelia Alexandra Groza 2022-07-21 13:04 ` Camelia Alexandra Groza 2022-07-21 15:34 ` Sean Anderson 2022-07-21 15:34 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 30/47] net: fman: Pass params directly to mac init Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:05 ` Camelia Alexandra Groza 2022-07-21 13:05 ` Camelia Alexandra Groza 2022-07-15 21:59 ` Sean Anderson [this message] 2022-07-15 21:59 ` [PATCH net-next v3 31/47] net: fman: Use mac_dev for some params Sean Anderson 2022-07-21 13:05 ` Camelia Alexandra Groza 2022-07-21 13:05 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 32/47] net: fman: Specify type of mac_dev for exception_cb Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:06 ` Camelia Alexandra Groza 2022-07-21 13:06 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 33/47] net: fman: Clean up error handling Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:06 ` Camelia Alexandra Groza 2022-07-21 13:06 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 34/47] net: fman: Change return type of disable to void Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:08 ` Camelia Alexandra Groza 2022-07-21 13:08 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 35/47] net: dpaa: Use mac_dev variable in dpaa_netdev_init Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:15 ` Camelia Alexandra Groza 2022-07-21 13:15 ` Camelia Alexandra Groza 2022-07-21 15:36 ` Sean Anderson 2022-07-21 15:36 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 36/47] soc: fsl: qbman: Add helper for sanity checking cgr ops Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:16 ` Camelia Alexandra Groza 2022-07-21 13:16 ` Camelia Alexandra Groza 2022-07-21 13:16 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 37/47] soc: fsl: qbman: Add CGR update function Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:18 ` Camelia Alexandra Groza 2022-07-21 13:18 ` Camelia Alexandra Groza 2022-07-21 13:18 ` Camelia Alexandra Groza 2022-07-21 15:36 ` Sean Anderson 2022-07-21 15:36 ` Sean Anderson 2022-07-21 15:36 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 38/47] net: dpaa: Adjust queue depth on rate change Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:18 ` Camelia Alexandra Groza 2022-07-21 13:18 ` Camelia Alexandra Groza 2022-07-21 13:18 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 39/47] net: fman: memac: Add serdes support Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:30 ` Camelia Alexandra Groza 2022-07-21 13:30 ` Camelia Alexandra Groza 2022-07-21 15:38 ` Sean Anderson 2022-07-21 15:38 ` Sean Anderson 2022-07-22 12:43 ` Camelia Alexandra Groza 2022-07-22 12:43 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 40/47] net: fman: memac: Use lynx pcs driver Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 41/47] [RFT] net: dpaa: Convert to phylink Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-16 21:27 ` kernel test robot 2022-07-16 21:27 ` kernel test robot 2022-07-15 21:59 ` [PATCH net-next v3 42/47] powerpc: dts: qoriq: Add nodes for QSGMII PCSs Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 13:48 ` Camelia Alexandra Groza 2022-07-21 13:48 ` Camelia Alexandra Groza 2022-07-21 13:48 ` Camelia Alexandra Groza 2022-07-21 17:51 ` Sean Anderson 2022-07-21 17:51 ` Sean Anderson 2022-07-21 17:51 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 43/47] arm64: dts: layerscape: " Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 44/47] arm64: dts: ls1046a: Add serdes bindings Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 45/47] arm64: dts: ls1088a: " Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` [PATCH net-next v3 46/47] arm64: dts: ls1046ardb: " Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 14:20 ` Camelia Alexandra Groza 2022-07-21 14:20 ` Camelia Alexandra Groza 2022-07-21 14:20 ` Camelia Alexandra Groza 2022-07-21 15:40 ` Sean Anderson 2022-07-21 15:40 ` Sean Anderson 2022-07-21 15:40 ` Sean Anderson 2022-07-22 12:41 ` Camelia Alexandra Groza 2022-07-22 12:41 ` Camelia Alexandra Groza 2022-07-22 12:41 ` Camelia Alexandra Groza 2022-07-25 20:02 ` Sean Anderson 2022-07-25 20:02 ` Sean Anderson 2022-07-25 20:02 ` Sean Anderson 2022-07-26 11:35 ` Camelia Alexandra Groza 2022-07-26 11:35 ` Camelia Alexandra Groza 2022-07-26 11:35 ` Camelia Alexandra Groza 2022-07-15 21:59 ` [PATCH net-next v3 47/47] [WIP] arm64: dts: ls1088ardb: " Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-15 21:59 ` Sean Anderson 2022-07-21 14:26 ` [PATCH net-next v3 00/47] [RFT] net: dpaa: Convert to phylink Camelia Alexandra Groza 2022-07-21 14:26 ` Camelia Alexandra Groza 2022-07-21 14:26 ` Camelia Alexandra Groza 2022-07-21 14:26 ` Camelia Alexandra Groza 2022-07-21 15:39 ` Sean Anderson 2022-07-21 15:39 ` Sean Anderson 2022-07-21 15:39 ` Sean Anderson 2022-07-21 15:39 ` Sean Anderson
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220715215954.1449214-32-sean.anderson@seco.com \ --to=sean.anderson@seco.com \ --cc=davem@davemloft.net \ --cc=edumazet@google.com \ --cc=kuba@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=madalin.bucur@nxp.com \ --cc=netdev@vger.kernel.org \ --cc=pabeni@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.