* [PATCH] net/ixgbe: fix RSS redirection table configuration for E610
@ 2024-11-25 9:35 Yuan Wang
2024-11-26 8:50 ` Xu, HailinX
0 siblings, 1 reply; 3+ messages in thread
From: Yuan Wang @ 2024-11-25 9:35 UTC (permalink / raw)
To: anatoly.burakov, vladimir.medvedkin; +Cc: dev, Yuan Wang
Add labels to get the correct table size and register address for RETA.
Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
Signed-off-by: Yuan Wang <yuanx.wang@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 eb431889c3..bed4374ad1 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -7238,10 +7238,12 @@ ixgbe_reta_size_get(enum ixgbe_mac_type mac_type) {
case ixgbe_mac_X550:
case ixgbe_mac_X550EM_x:
case ixgbe_mac_X550EM_a:
+ case ixgbe_mac_E610:
return RTE_ETH_RSS_RETA_SIZE_512;
case ixgbe_mac_X550_vf:
case ixgbe_mac_X550EM_x_vf:
case ixgbe_mac_X550EM_a_vf:
+ case ixgbe_mac_E610_vf:
return RTE_ETH_RSS_RETA_SIZE_64;
case ixgbe_mac_X540_vf:
case ixgbe_mac_82599_vf:
@@ -7257,6 +7259,7 @@ ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx) {
case ixgbe_mac_X550:
case ixgbe_mac_X550EM_x:
case ixgbe_mac_X550EM_a:
+ case ixgbe_mac_E610:
if (reta_idx < RTE_ETH_RSS_RETA_SIZE_128)
return IXGBE_RETA(reta_idx >> 2);
else
@@ -7264,6 +7267,7 @@ ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx) {
case ixgbe_mac_X550_vf:
case ixgbe_mac_X550EM_x_vf:
case ixgbe_mac_X550EM_a_vf:
+ case ixgbe_mac_E610_vf:
return IXGBE_VFRETA(reta_idx >> 2);
default:
return IXGBE_RETA(reta_idx >> 2);
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] net/ixgbe: fix RSS redirection table configuration for E610
2024-11-25 9:35 [PATCH] net/ixgbe: fix RSS redirection table configuration for E610 Yuan Wang
@ 2024-11-26 8:50 ` Xu, HailinX
2024-11-26 15:41 ` Bruce Richardson
0 siblings, 1 reply; 3+ messages in thread
From: Xu, HailinX @ 2024-11-26 8:50 UTC (permalink / raw)
To: Wang, YuanX, Burakov, Anatoly, Medvedkin, Vladimir; +Cc: dev, Wang, YuanX
> -----Original Message-----
> From: Yuan Wang <yuanx.wang@intel.com>
> Sent: Monday, November 25, 2024 5:36 PM
> To: Burakov, Anatoly <anatoly.burakov@intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin@intel.com>
> Cc: dev@dpdk.org; Wang, YuanX <yuanx.wang@intel.com>
> Subject: [PATCH] net/ixgbe: fix RSS redirection table configuration for E610
>
> Add labels to get the correct table size and register address for RETA.
>
> Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
>
> Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
> ---
Tested-by: Hailin Xu <hailinx.xu@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net/ixgbe: fix RSS redirection table configuration for E610
2024-11-26 8:50 ` Xu, HailinX
@ 2024-11-26 15:41 ` Bruce Richardson
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Richardson @ 2024-11-26 15:41 UTC (permalink / raw)
To: Xu, HailinX; +Cc: Wang, YuanX, Burakov, Anatoly, Medvedkin, Vladimir, dev
On Tue, Nov 26, 2024 at 08:50:47AM +0000, Xu, HailinX wrote:
> > -----Original Message-----
> > From: Yuan Wang <yuanx.wang@intel.com>
> > Sent: Monday, November 25, 2024 5:36 PM
> > To: Burakov, Anatoly <anatoly.burakov@intel.com>; Medvedkin, Vladimir
> > <vladimir.medvedkin@intel.com>
> > Cc: dev@dpdk.org; Wang, YuanX <yuanx.wang@intel.com>
> > Subject: [PATCH] net/ixgbe: fix RSS redirection table configuration for E610
> >
> > Add labels to get the correct table size and register address for RETA.
> >
> > Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
> >
> > Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
> > ---
> Tested-by: Hailin Xu <hailinx.xu@intel.com>
Applied to dpdk-next-net-intel.
Thanks,
/Bruce
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-26 15:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-25 9:35 [PATCH] net/ixgbe: fix RSS redirection table configuration for E610 Yuan Wang
2024-11-26 8:50 ` Xu, HailinX
2024-11-26 15:41 ` Bruce Richardson
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).