]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dpdk: enlarge key length to 52 bytes
authorLukas Sismis <lsismis@oisf.net>
Tue, 26 Mar 2024 21:16:29 +0000 (22:16 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 19 Apr 2024 08:42:26 +0000 (10:42 +0200)
(cherry picked from commit d4085fceb6998a8257df99c7b546c6d6ecc75e1b)

src/runmode-dpdk.c

index 6dfaa13263429d052e7379f64e9a693d4b9bdc29..105cbd94e5541a129e93e32b8089aa7fd714cdc1 100644 (file)
 
 #define RSS_HKEY_LEN 40
 // General purpose RSS key for symmetric bidirectional flow distribution
-uint8_t rss_hkey[] = { 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D,
-    0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D,
-    0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A };
+uint8_t rss_hkey[] = {
+    0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A,
+    0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A,
+    0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A,                         // 40
+    0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, // 52
+};
 
 // Calculates the closest multiple of y from x
 #define ROUNDUP(x, y) ((((x) + ((y)-1)) / (y)) * (y))