DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553
@ 2020-06-28  6:12 Wei Zhao
  2020-06-29  8:21 ` Jeff Guo
  2020-06-30  1:16 ` [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info " Wei Zhao
  0 siblings, 2 replies; 5+ messages in thread
From: Wei Zhao @ 2020-06-28  6:12 UTC (permalink / raw)
  To: dev; +Cc: stable, qi.z.zhang, jia.guo, ferruh.yigit, Wei Zhao

For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M
link speed, so enable it for the kind of ixgbe nic.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index f8a84c565..d812579fe 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -4320,6 +4320,10 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
 			link.link_speed = ETH_SPEED_NUM_100M;
 		break;
 
+	case IXGBE_LINK_SPEED_10_FULL:
+		link.link_speed = ETH_SPEED_NUM_10M;
+		break;
+
 	case IXGBE_LINK_SPEED_100_FULL:
 		link.link_speed = ETH_SPEED_NUM_100M;
 		break;
-- 
2.19.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553
  2020-06-28  6:12 [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553 Wei Zhao
@ 2020-06-29  8:21 ` Jeff Guo
  2020-06-30  1:32   ` Zhao1, Wei
  2020-06-30  1:16 ` [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info " Wei Zhao
  1 sibling, 1 reply; 5+ messages in thread
From: Jeff Guo @ 2020-06-29  8:21 UTC (permalink / raw)
  To: Wei Zhao, dev; +Cc: stable, qi.z.zhang, ferruh.yigit

hi, wei

On 6/28/2020 2:12 PM, Wei Zhao wrote:
> For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M
> link speed, so enable it for the kind of ixgbe nic.


This is not an enabling patch i think, it just add the support link 
speed info for specific nic, so suggest you refine the commit log and 
bring my

ack at coming version.


> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
>
> Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> ---
>   drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
> index f8a84c565..d812579fe 100644
> --- a/drivers/net/ixgbe/ixgbe_ethdev.c
> +++ b/drivers/net/ixgbe/ixgbe_ethdev.c
> @@ -4320,6 +4320,10 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
>   			link.link_speed = ETH_SPEED_NUM_100M;
>   		break;
>   
> +	case IXGBE_LINK_SPEED_10_FULL:
> +		link.link_speed = ETH_SPEED_NUM_10M;
> +		break;
> +
>   	case IXGBE_LINK_SPEED_100_FULL:
>   		link.link_speed = ETH_SPEED_NUM_100M;
>   		break;
Acked-by:  Jeff Guo <jia.guo@intel.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info for x553
  2020-06-28  6:12 [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553 Wei Zhao
  2020-06-29  8:21 ` Jeff Guo
@ 2020-06-30  1:16 ` Wei Zhao
  2020-06-30 14:14   ` Zhang, Qi Z
  1 sibling, 1 reply; 5+ messages in thread
From: Wei Zhao @ 2020-06-30  1:16 UTC (permalink / raw)
  To: dev; +Cc: stable, qi.z.zhang, jia.guo, Wei Zhao

For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M
link speed, so add the support link speed info for 10Mb/s.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index f8a84c565..d812579fe 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -4320,6 +4320,10 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
 			link.link_speed = ETH_SPEED_NUM_100M;
 		break;
 
+	case IXGBE_LINK_SPEED_10_FULL:
+		link.link_speed = ETH_SPEED_NUM_10M;
+		break;
+
 	case IXGBE_LINK_SPEED_100_FULL:
 		link.link_speed = ETH_SPEED_NUM_100M;
 		break;
-- 
2.19.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553
  2020-06-29  8:21 ` Jeff Guo
@ 2020-06-30  1:32   ` Zhao1, Wei
  0 siblings, 0 replies; 5+ messages in thread
From: Zhao1, Wei @ 2020-06-30  1:32 UTC (permalink / raw)
  To: Guo, Jia, dev; +Cc: stable, Zhang, Qi Z, Yigit, Ferruh

Hi, jia

> -----Original Message-----
> From: Guo, Jia <jia.guo@intel.com>
> Sent: Monday, June 29, 2020 4:21 PM
> To: Zhao1, Wei <wei.zhao1@intel.com>; dev@dpdk.org
> Cc: stable@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>; Yigit, Ferruh
> <ferruh.yigit@intel.com>
> Subject: Re: [PATCH] net/ixgbe: enable 10Mb/s speed for x553
> 
> hi, wei
> 
> On 6/28/2020 2:12 PM, Wei Zhao wrote:
> > For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M link speed,
> > so enable it for the kind of ixgbe nic.
> 
> 
> This is not an enabling patch i think, it just add the support link speed info for
> specific nic, so suggest you refine the commit log and bring my
> 
> ack at coming version.
> 

Ok 

> 
> > Fixes: af75078fece3 ("first public release")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> > ---
> >   drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++
> >   1 file changed, 4 insertions(+)
> >
> > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c
> > b/drivers/net/ixgbe/ixgbe_ethdev.c
> > index f8a84c565..d812579fe 100644
> > --- a/drivers/net/ixgbe/ixgbe_ethdev.c
> > +++ b/drivers/net/ixgbe/ixgbe_ethdev.c
> > @@ -4320,6 +4320,10 @@ ixgbe_dev_link_update_share(struct
> rte_eth_dev *dev,
> >   			link.link_speed = ETH_SPEED_NUM_100M;
> >   		break;
> >
> > +	case IXGBE_LINK_SPEED_10_FULL:
> > +		link.link_speed = ETH_SPEED_NUM_10M;
> > +		break;
> > +
> >   	case IXGBE_LINK_SPEED_100_FULL:
> >   		link.link_speed = ETH_SPEED_NUM_100M;
> >   		break;
> Acked-by:  Jeff Guo <jia.guo@intel.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info for x553
  2020-06-30  1:16 ` [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info " Wei Zhao
@ 2020-06-30 14:14   ` Zhang, Qi Z
  0 siblings, 0 replies; 5+ messages in thread
From: Zhang, Qi Z @ 2020-06-30 14:14 UTC (permalink / raw)
  To: Zhao1, Wei, dev; +Cc: stable, Guo, Jia



> -----Original Message-----
> From: Zhao1, Wei <wei.zhao1@intel.com>
> Sent: Tuesday, June 30, 2020 9:17 AM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>; Guo, Jia
> <jia.guo@intel.com>; Zhao1, Wei <wei.zhao1@intel.com>
> Subject: [PATCH v2] net/ixgbe: add the support link speed info for x553
> 
> For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M link speed,
> so add the support link speed info for 10Mb/s.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> Acked-by: Jeff Guo <jia.guo@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-30 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28  6:12 [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553 Wei Zhao
2020-06-29  8:21 ` Jeff Guo
2020-06-30  1:32   ` Zhao1, Wei
2020-06-30  1:16 ` [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info " Wei Zhao
2020-06-30 14:14   ` Zhang, Qi Z

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).