-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ric Li <[email protected]>
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|