diff options
Diffstat (limited to 'common/dpdk/recipes-extended/dpdk/dpdk/dpdk-dev-v3-13-18-net-axgbe-add-configure-flow-control-while-link-adjustment.patch')
-rw-r--r-- | common/dpdk/recipes-extended/dpdk/dpdk/dpdk-dev-v3-13-18-net-axgbe-add-configure-flow-control-while-link-adjustment.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/common/dpdk/recipes-extended/dpdk/dpdk/dpdk-dev-v3-13-18-net-axgbe-add-configure-flow-control-while-link-adjustment.patch b/common/dpdk/recipes-extended/dpdk/dpdk/dpdk-dev-v3-13-18-net-axgbe-add-configure-flow-control-while-link-adjustment.patch deleted file mode 100644 index da26b9ef..00000000 --- a/common/dpdk/recipes-extended/dpdk/dpdk/dpdk-dev-v3-13-18-net-axgbe-add-configure-flow-control-while-link-adjustment.patch +++ /dev/null @@ -1,44 +0,0 @@ -From patchwork Fri Mar 9 08:42:29 2018 -Content-Type: text/plain; charset="utf-8" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: [dpdk-dev, v3, - 13/18] net/axgbe: add configure flow control while link adjustment -From: Ravi Kumar <ravi1.kumar@amd.com> -X-Patchwork-Id: 35832 -X-Patchwork-Delegate: ferruh.yigit@intel.com -Message-Id: <1520584954-130575-13-git-send-email-Ravi1.kumar@amd.com> -List-Id: dev.dpdk.org -To: dev@dpdk.org -Cc: ferruh.yigit@intel.com -Date: Fri, 9 Mar 2018 03:42:29 -0500 - -Signed-off-by: Ravi Kumar <Ravi1.kumar@amd.com> ---- - drivers/net/axgbe/axgbe_mdio.c | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/drivers/net/axgbe/axgbe_mdio.c b/drivers/net/axgbe/axgbe_mdio.c -index 753dde9..07f4087 100644 ---- a/drivers/net/axgbe/axgbe_mdio.c -+++ b/drivers/net/axgbe/axgbe_mdio.c -@@ -796,6 +796,19 @@ static void axgbe_an_init(struct axgbe_port *pdata) - static void axgbe_phy_adjust_link(struct axgbe_port *pdata) - { - if (pdata->phy.link) { -+ /* Flow control support */ -+ pdata->pause_autoneg = pdata->phy.pause_autoneg; -+ -+ if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) { -+ pdata->hw_if.config_tx_flow_control(pdata); -+ pdata->tx_pause = pdata->phy.tx_pause; -+ } -+ -+ if (pdata->rx_pause != (unsigned int)pdata->phy.rx_pause) { -+ pdata->hw_if.config_rx_flow_control(pdata); -+ pdata->rx_pause = pdata->phy.rx_pause; -+ } -+ - /* Speed support */ - if (pdata->phy_speed != pdata->phy.speed) - pdata->phy_speed = pdata->phy.speed; |