- Timestamp:
- 01/15/19 11:51:07 (2 years ago)
- Branches:
- develop
- Children:
- ab0ca91
- Parents:
- f98e550
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dpdk.c
rfce4572 r4d390c0 268 268 if((file = fopen(path, "r")) != NULL) { 269 269 int numa_node = -1; 270 fscanf(file, "%d", &numa_node); 270 if (fscanf(file, "%d", &numa_node) != 1) { 271 numa_node = -1; 272 } 271 273 fclose(file); 272 274 return numa_node; … … 888 890 if (port != format_data->port) { 889 891 fprintf(stderr, "Port does not match port in format data in dpdk_lsc_callback()\n"); 890 return -1; 892 #if RTE_VERSION >= RTE_VERSION_NUM(17, 8, 0, 1) 893 return -1; 894 #else 895 return; 896 #endif 891 897 } 892 898
Note: See TracChangeset
for help on using the changeset viewer.