net/ice: correct lut type for RSS
PATCH 1/1 net/ice: correct lut type for RSS
This patch changes RSS lut_type to corresponding macro.
--- drivers/net/ice/ice_ethdev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/ice/ice_ethdev.c +4 -4
@@ -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 ;
Signature · 1 line
1.8.3.1
Quoted 10 lines
-----Original Message-----
From: Su, Simei
Sent: Friday, October 11, 2019 1:12 PM
To: Zhang, Qi Z <[email protected]>; Yang, Qiming <[email protected]>; Lu, Wenzhuo <[email protected]>
Cc: [email protected]; Su, Simei <[email protected]>; [email protected]
Subject: [PATCH] net/ice: correct lut type for RSS
Quoted 6 lines
This patch changes RSS
lut_typeto corresponding macro.Fixes ff963bfa7cb1 ("net/ice: support RSS")Signed-off-by Simei Su <[email protected]>
Ye Xiaolong
AppliedQuoted 10 lines · Qi Z
Quoted 10 lines
-----Original Message-----
From: Su, Simei
Sent: Friday, October 11, 2019 1:12 PM
To: Zhang, Qi Z <[email protected]>; Yang, Qiming <[email protected]>; Lu, Wenzhuo <[email protected]>
Cc: [email protected]; Su, Simei <[email protected]>; [email protected]
Subject: [PATCH] net/ice: correct lut type for RSS
Quoted 9 lines
Quoted 6 lines
This patch changes RSS
lut_typeto corresponding macro.Fixes ff963bfa7cb1 ("net/ice: support RSS")Signed-off-by Simei Su <[email protected]>Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.