Closed dennisafa closed 5 years ago
In response to PR creation
Your results will arrive shortly
In response to PR creation
Run successful see results: [Results from nimbnode30] Median TX pps for Speed Tester: 35178613
examples/aes_decrypt/aes.h:176: #endif line should be "#endif // _AESH" [build/header_guard] [5]
Total errors found: 1
examples/aes_encrypt/aes.h:185: #endif line should be "#endif // _AESH" [build/header_guard] [5]
Total errors found: 1
examples/flow_table/flow_table.h:63: #endif line should be "#endif // _FLOW_TABLEH" [build/header_guard] [5]
Total errors found: 1
examples/flow_table/msgbuf.h:71: #endif line should be "#endif // _MSGBUFH" [build/header_guard] [5]
Total errors found: 1
examples/flow_table/openflow.h:969: #endif line should be "#endif // _OPENFLOWH" [build/header_guard] [5]
examples/flow_table/openflow.h:50: Using deprecated casting style. Use static_cast
As briefly discussed don't overwrite the packet data, just use the function when you need to compare.
As brifly discussed don't overwrite the packet data, just use the function when you need to compare.
Fixed, looking at other NF's doing the comparison and updating accordingly
is your ordering now the same as in this code? https://github.com/FOXNEOAdvancedTechnology/MinimalDPDKExamples/blob/master/minimal_tx/minimal_tx.c#L68
is your ordering now the same as in this code? https://github.com/FOXNEOAdvancedTechnology/MinimalDPDKExamples/blob/master/minimal_tx/minimal_tx.c#L68
Yes, it is the same. It follows what the IPv4 function is doing here: http://doc.dpdk.org/api/rte__ip_8h.html#a052e2a96de0562a034776fa758255650
Should be good to go
Just in case @onvm
Just in case @onvm
Your results will arrive shortly
Just in case @onvm
Run successful see results: [Results from nimbnode30] Median TX pps for Speed Tester: 35095158
examples/aes_decrypt/aes.h:176: #endif line should be "#endif // _AESH" [build/header_guard] [5]
Total errors found: 1
examples/aes_encrypt/aes.h:185: #endif line should be "#endif // _AESH" [build/header_guard] [5]
Total errors found: 1
examples/arp_response/arp_response.c:284: Lines should be <= 120 characters long [whitespace/line_length] [5]
Total errors found: 1
examples/flow_table/flow_table.h:63: #endif line should be "#endif // _FLOW_TABLEH" [build/header_guard] [5]
Total errors found: 1
examples/flow_table/msgbuf.h:71: #endif line should be "#endif // _MSGBUFH" [build/header_guard] [5]
Total errors found: 1
examples/flow_table/openflow.h:969: #endif line should be "#endif // _OPENFLOWH" [build/header_guard] [5]
examples/flow_table/openflow.h:50: Using deprecated casting style. Use static_cast
We've been parsing string based IP's in reverse order, this aims to fix that functionality and make modifications to NF's using this function as needed.
Summary:
Previously, we have been converting IP's in string form to IPv4 format in reverse order (IPv4(ip[3], ip[2], ip[1], ip[0]) this PR modifies this to parse in proper format (IPv4(ip[0], ip[1], ip[2], ip[3])
Usage:
Merging notes:
TODO before merging :
Test Plan:
Tested this with Pktgen with nf_router running. Assured that IP address being sent from Pktgen matched the properly parsed IP address in the route.conf file.
Review: