DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ice: correct lut type for RSS
@ 2019-10-11  5:12 Simei Su
  2019-10-11  9:37 ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: Simei Su @ 2019-10-11  5:12 UTC (permalink / raw)
  To: qi.z.zhang, qiming.yang, wenzhuo.lu; +Cc: dev, simei.su, stable

This patch changes RSS lut_type to corresponding macro.

Fixes: ff963bfa7cb1 ("net/ice: support RSS")
Cc: stable@dpdk.org

Signed-off-by: Simei Su <simei.su@intel.com>
---
 drivers/net/ice/ice_ethdev.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index dfccef6..d400e9c 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -3174,8 +3174,8 @@ static int ice_macaddr_set(struct rte_eth_dev *dev,
 		return -EINVAL;
 
 	if (pf->flags & ICE_FLAG_RSS_AQ_CAPABLE) {
-		ret = ice_aq_get_rss_lut(hw, vsi->idx, TRUE,
-					 lut, lut_size);
+		ret = ice_aq_get_rss_lut(hw, vsi->idx,
+			ICE_AQC_GSET_RSS_LUT_TABLE_TYPE_PF, lut, lut_size);
 		if (ret) {
 			PMD_DRV_LOG(ERR, "Failed to get RSS lookup table");
 			return -EINVAL;
@@ -3205,8 +3205,8 @@ static int ice_macaddr_set(struct rte_eth_dev *dev,
 	hw = ICE_VSI_TO_HW(vsi);
 
 	if (pf->flags & ICE_FLAG_RSS_AQ_CAPABLE) {
-		ret = ice_aq_set_rss_lut(hw, vsi->idx, TRUE,
-					 lut, lut_size);
+		ret = ice_aq_set_rss_lut(hw, vsi->idx,
+			ICE_AQC_GSET_RSS_LUT_TABLE_TYPE_PF, lut, lut_size);
 		if (ret) {
 			PMD_DRV_LOG(ERR, "Failed to set RSS lookup table");
 			return -EINVAL;
-- 
1.8.3.1


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

* Re: [dpdk-dev] [PATCH] net/ice: correct lut type for RSS
  2019-10-11  5:12 [dpdk-dev] [PATCH] net/ice: correct lut type for RSS Simei Su
@ 2019-10-11  9:37 ` Zhang, Qi Z
  2019-10-16  5:51   ` Ye Xiaolong
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Qi Z @ 2019-10-11  9:37 UTC (permalink / raw)
  To: Su, Simei, Yang, Qiming, Lu, Wenzhuo; +Cc: dev, stable



> -----Original Message-----
> From: Su, Simei
> Sent: Friday, October 11, 2019 1:12 PM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming
> <qiming.yang@intel.com>; Lu, Wenzhuo <wenzhuo.lu@intel.com>
> Cc: dev@dpdk.org; Su, Simei <simei.su@intel.com>; stable@dpdk.org
> Subject: [PATCH] net/ice: correct lut type for RSS
> 
> This patch changes RSS lut_type to corresponding macro.
> 	
> Fixes: ff963bfa7cb1 ("net/ice: support RSS")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Simei Su <simei.su@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>


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

* Re: [dpdk-dev] [PATCH] net/ice: correct lut type for RSS
  2019-10-11  9:37 ` Zhang, Qi Z
@ 2019-10-16  5:51   ` Ye Xiaolong
  0 siblings, 0 replies; 3+ messages in thread
From: Ye Xiaolong @ 2019-10-16  5:51 UTC (permalink / raw)
  To: Zhang, Qi Z; +Cc: Su, Simei, Yang, Qiming, Lu, Wenzhuo, dev, stable

On 10/11, Zhang, Qi Z wrote:
>
>
>> -----Original Message-----
>> From: Su, Simei
>> Sent: Friday, October 11, 2019 1:12 PM
>> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming
>> <qiming.yang@intel.com>; Lu, Wenzhuo <wenzhuo.lu@intel.com>
>> Cc: dev@dpdk.org; Su, Simei <simei.su@intel.com>; stable@dpdk.org
>> Subject: [PATCH] net/ice: correct lut type for RSS
>> 
>> This patch changes RSS lut_type to corresponding macro.
>> 	
>> Fixes: ff963bfa7cb1 ("net/ice: support RSS")
>> Cc: stable@dpdk.org
>> 
>> Signed-off-by: Simei Su <simei.su@intel.com>
>
>Acked-by: Qi Zhang <qi.z.zhang@intel.com>
>

Applied to dpdk-next-net-intel.

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

end of thread, other threads:[~2019-10-16  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-11  5:12 [dpdk-dev] [PATCH] net/ice: correct lut type for RSS Simei Su
2019-10-11  9:37 ` Zhang, Qi Z
2019-10-16  5:51   ` Ye Xiaolong

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