Message ID | 1619516192-40499-1-git-send-email-humin29@huawei.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Thomas Monjalon |
Headers | show |
Series | lib: fix socket id type | expand |
Context | Check | Description |
---|---|---|
ci/iol-mellanox-Performance | success | Performance Testing PASS |
ci/intel-Testing | success | Testing PASS |
ci/Intel-compilation | success | Compilation OK |
ci/iol-testing | success | Testing PASS |
ci/iol-abi-testing | success | Testing PASS |
ci/github-robot | success | github build: passed |
ci/iol-intel-Performance | success | Performance Testing PASS |
ci/iol-intel-Functional | success | Functional Testing PASS |
ci/checkpatch | success | coding style OK |
diff --git a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c index 77f4680..4d354d8 100644 --- a/lib/efd/rte_efd.c +++ b/lib/efd/rte_efd.c @@ -500,7 +500,7 @@ rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len, struct rte_efd_table *table = NULL; uint8_t *key_array = NULL; uint32_t num_chunks, num_chunks_shift; - uint8_t socket_id; + unsigned int socket_id; struct rte_efd_list *efd_list = NULL; struct rte_tailq_entry *te; uint64_t offline_table_size; @@ -746,7 +746,7 @@ rte_efd_find_existing(const char *name) void rte_efd_free(struct rte_efd_table *table) { - uint8_t socket_id; + unsigned int socket_id; struct rte_efd_list *efd_list; struct rte_tailq_entry *te, *temp; diff --git a/lib/node/ip4_lookup.c b/lib/node/ip4_lookup.c index d083a72..4811378 100644 --- a/lib/node/ip4_lookup.c +++ b/lib/node/ip4_lookup.c @@ -129,7 +129,7 @@ rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop, { char abuf[INET6_ADDRSTRLEN]; struct in_addr in; - uint8_t socket; + int socket; uint32_t val; int ret;