-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Necessary changes to migrate to DPDK_23_11
- Loading branch information
Showing
10 changed files
with
77 additions
and
107 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
diff --color -ruN dpdk-23.11/lib/ethdev/rte_ethdev.c dpdk-23.11-patch/lib/ethdev/rte_ethdev.c | ||
--- dpdk-23.11/lib/ethdev/rte_ethdev.c 2023-11-28 14:35:41.000000000 +0000 | ||
+++ dpdk-23.11-patch/lib/ethdev/rte_ethdev.c 2024-03-04 12:28:35.492608466 +0000 | ||
@@ -428,7 +428,7 @@ | ||
return 1; | ||
} | ||
|
||
-uint64_t | ||
+uint16_t | ||
rte_eth_find_next_owned_by(uint16_t port_id, const uint64_t owner_id) | ||
{ | ||
port_id = rte_eth_find_next(port_id); | ||
diff --color -ruN dpdk-23.11/lib/ethdev/rte_ethdev.h dpdk-23.11-patch/lib/ethdev/rte_ethdev.h | ||
--- dpdk-23.11/lib/ethdev/rte_ethdev.h 2023-11-28 14:35:41.000000000 +0000 | ||
+++ dpdk-23.11-patch/lib/ethdev/rte_ethdev.h 2024-03-04 12:28:28.084570580 +0000 | ||
@@ -2126,7 +2126,7 @@ | ||
* @return | ||
* Next valid port ID owned by owner_id, RTE_MAX_ETHPORTS if there is none. | ||
*/ | ||
-uint64_t rte_eth_find_next_owned_by(uint16_t port_id, | ||
+uint16_t rte_eth_find_next_owned_by(uint16_t port_id, | ||
const uint64_t owner_id); | ||
|
||
/** |
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
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,12 @@ | ||
diff --color -ruN dpdk-23.11/lib/telemetry/telemetry_data.c dpdk-23.11-patch/lib/telemetry/telemetry_data.c | ||
--- dpdk-23.11/lib/telemetry/telemetry_data.c 2023-11-28 14:35:41.000000000 +0000 | ||
+++ dpdk-23.11-patch/lib/telemetry/telemetry_data.c 2024-03-04 13:35:15.585285834 +0000 | ||
@@ -141,7 +141,7 @@ | ||
valid_name(const char *name) | ||
{ | ||
/* non-alphanumeric characters allowed in names */ | ||
- static const char allowed[128] = { ['_'] = 1, ['/'] = 1 }; | ||
+ static const char allowed[128] = { ['_'] = 1, ['/'] = 1, ['.'] = 1, [':'] = 1, ['-'] = 1 }; | ||
|
||
for (; *name != '\0'; name++) { | ||
if (isalnum(*name)) |
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
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
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