* [dpdk-dev] [PATCH] net/txgbe: fix link macro
@ 2021-11-01 13:19 Ferruh Yigit
2021-11-02 1:51 ` Jiawen Wu
0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2021-11-01 13:19 UTC (permalink / raw)
To: Jiawen Wu, Jian Wang; +Cc: Ferruh Yigit, dev
Macro is changed unintentionally while adding RTE_ prefix, fixing the
original value.
Fixes: 295968d17407 ("ethdev: add namespace")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
drivers/net/txgbe/txgbe_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/txgbe/txgbe_ethdev.c b/drivers/net/txgbe/txgbe_ethdev.c
index 169272ded5b0..fde9914e493f 100644
--- a/drivers/net/txgbe/txgbe_ethdev.c
+++ b/drivers/net/txgbe/txgbe_ethdev.c
@@ -2693,7 +2693,7 @@ txgbe_dev_link_update_share(struct rte_eth_dev *dev,
link.link_speed = RTE_ETH_SPEED_NUM_NONE;
link.link_duplex = RTE_ETH_LINK_HALF_DUPLEX;
link.link_autoneg = !(dev->data->dev_conf.link_speeds &
- RTE_ETH_LINK_AUTONEG);
+ RTE_ETH_LINK_SPEED_FIXED);
hw->mac.get_link_status = true;
--
2.31.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/txgbe: fix link macro
2021-11-01 13:19 [dpdk-dev] [PATCH] net/txgbe: fix link macro Ferruh Yigit
@ 2021-11-02 1:51 ` Jiawen Wu
2021-11-02 13:35 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Jiawen Wu @ 2021-11-02 1:51 UTC (permalink / raw)
To: 'Ferruh Yigit', 'Jian Wang'; +Cc: dev
On November 1, 2021 9:20 PM, Ferruh Yigit wrote:
> Macro is changed unintentionally while adding RTE_ prefix, fixing the
original
> value.
>
> Fixes: 295968d17407 ("ethdev: add namespace")
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
> drivers/net/txgbe/txgbe_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/txgbe/txgbe_ethdev.c
> b/drivers/net/txgbe/txgbe_ethdev.c
> index 169272ded5b0..fde9914e493f 100644
> --- a/drivers/net/txgbe/txgbe_ethdev.c
> +++ b/drivers/net/txgbe/txgbe_ethdev.c
> @@ -2693,7 +2693,7 @@ txgbe_dev_link_update_share(struct rte_eth_dev
> *dev,
> link.link_speed = RTE_ETH_SPEED_NUM_NONE;
> link.link_duplex = RTE_ETH_LINK_HALF_DUPLEX;
> link.link_autoneg = !(dev->data->dev_conf.link_speeds &
> - RTE_ETH_LINK_AUTONEG);
> + RTE_ETH_LINK_SPEED_FIXED);
>
> hw->mac.get_link_status = true;
>
> --
> 2.31.1
Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/txgbe: fix link macro
2021-11-02 1:51 ` Jiawen Wu
@ 2021-11-02 13:35 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2021-11-02 13:35 UTC (permalink / raw)
To: Jiawen Wu, 'Jian Wang'; +Cc: dev
On 11/2/2021 1:51 AM, Jiawen Wu wrote:
> On November 1, 2021 9:20 PM, Ferruh Yigit wrote:
>> Macro is changed unintentionally while adding RTE_ prefix, fixing the
> original
>> value.
>>
>> Fixes: 295968d17407 ("ethdev: add namespace")
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
> Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
>
Applied to dpdk-next-net/main, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-02 13:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 13:19 [dpdk-dev] [PATCH] net/txgbe: fix link macro Ferruh Yigit
2021-11-02 1:51 ` Jiawen Wu
2021-11-02 13:35 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).