Skip to content

Commit

Permalink
revert rss key size
Browse files Browse the repository at this point in the history
Signed-off-by: Ric Li <[email protected]>
  • Loading branch information
ricmli committed Dec 1, 2023
1 parent 7e5a5ca commit b12ae4e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions patches/dpdk/23.11/0007-ice-revert-rss-key-size.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 3fea8caf8023c0de997f298fb10226985cecfa3a Mon Sep 17 00:00:00 2001
From: Ric Li <[email protected]>
Date: Fri, 1 Dec 2023 19:19:55 +0800
Subject: [PATCH] ice: revert rss key size

Signed-off-by: Ric Li <[email protected]>
---
drivers/net/ice/ice_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 625c4564eb..c2697362e6 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -3344,8 +3344,7 @@ static int ice_init_rss(struct ice_pf *pf)

rss_conf = &dev_data->dev_conf.rx_adv_conf.rss_conf;
nb_q = dev_data->nb_rx_queues;
- vsi->rss_key_size = ICE_AQC_GET_SET_RSS_KEY_DATA_RSS_KEY_SIZE +
- ICE_AQC_GET_SET_RSS_KEY_DATA_HASH_KEY_SIZE;
+ vsi->rss_key_size = ICE_AQC_GET_SET_RSS_KEY_DATA_RSS_KEY_SIZE;
vsi->rss_lut_size = pf->hash_lut_size;

if (nb_q == 0) {
--
2.34.1

0 comments on commit b12ae4e

Please sign in to comment.