[PATCH v6] example:ipsec_offload: Adding ipsec_offload example#12
[PATCH v6] example:ipsec_offload: Adding ipsec_offload example#12NikhilA-Linaro wants to merge 0 commit into
Conversation
a9d7a03 to
8714878
Compare
|
How do we trigger CI build when pull request is updated? @muvarov |
|
@NikhilA-Linaro should be done automatically |
|
@muvarov but it is not triggered for this pull request |
|
@NikhilA-Linaro yes, I can run it manually https://travis-ci.org/Linaro/odp/builds/220518411 but I do not see why it did not trigger or how to trigger it. There is fails with tap test which I can not reproduce locally but Bill can. So looks like Travis is happy this that log. |
|
@NikhilA-Linaro looks like there was Mikes Travis hash and he remove it just in time when you updated pull request. I set up my hash and hope it will work in future. |
|
@NikhilA-Linaro There was some billing issues with github for Linaro group and Travis and web hooks stopped to work. Now all has to work again. To make your pull request validated I think you have to re create it. |
|
@NikhilA-Linaro @muvarov won't just pushing an 'updated' version of the PR be sufficient to trigger CI build? |
|
@NikhilA-Linaro it has to work. |
8714878 to
1a8c9c5
Compare
Codecov Report
@@ Coverage Diff @@
## api-next #12 +/- ##
=============================================
+ Coverage 78.767% 78.887% +0.12%
=============================================
Files 198 198
Lines 34018 34018
=============================================
+ Hits 26795 26836 +41
+ Misses 7223 7182 -41
|
|
@lumag can you please review the same? |
| EXAMPLE_DBG("Error Event\n"); | ||
| odp_event_free((odp_event_t)ev); | ||
| continue; | ||
| } |
There was a problem hiding this comment.
According to current API, there should be a call to odp_event_free() here.
My proposal removes need for it if odp_ipsec_result() returns 0.
|
|
||
| if (odp_unlikely(odp_ipsec_result(&result, ev) < 0)) { | ||
| EXAMPLE_DBG("Error Event\n"); | ||
| odp_event_free((odp_event_t)ev); |
| } | ||
|
|
||
| if (odp_unlikely(res.status.all_error)) { | ||
| odp_packet_free((odp_packet_t)ev); |
There was a problem hiding this comment.
odp_packet_free(out_pkt). Event might be something other than a packet.|
|
||
| eth = (odph_ethhdr_t *)((uint8_t *)ip - | ||
| sizeof(odph_ethhdr_t)); | ||
| eth->dst = out_port->next_hop_addr; |
There was a problem hiding this comment.
Here you should make sure that there is enough space before l3 offset. Also you should push that data in front of the packet.
| } | ||
|
|
||
| /** | ||
| * IPsec pre argument processing intialization |
There was a problem hiding this comment.
Typo: initialization
| } | ||
|
|
||
| /** | ||
| * IPsec post argument processing intialization |
There was a problem hiding this comment.
Typo: initialization
| */ | ||
| #define DEFAULT_BUCKET_COUNT 1024 | ||
|
|
||
| /**< Number of bits represnted by a string of hexadecimal characters */ |
There was a problem hiding this comment.
Typo: represented
|
@NikhilA-Linaro could you please do final changes accroding to the review? Let's finally get this merged. |
|
Ping. Changes are needed according to comments. |
|
Please update and rebase patches. |
|
Ping to @NikhilA-Linaro. PR needs to be rebased before it can be merged. |
|
@NikhilA-Linaro You were going to update this PR to rebase it as well as to illustrate how your proposed change to the definition of |
90e1101 to
d476e19
Compare
d476e19 to
0955fbb
Compare
Signed-off-by: Nikhil Agarwal nikhil.agarwal@linaro.org