From: Maxim Uvarov <maxim.uva...@linaro.org> function name already has l3 and l4 layer, argument enable is more clean here.
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> --- /** Email created from pull request 264 (muvarov:api-next_chsum) ** https://github.com/Linaro/odp/pull/264 ** Patch: https://github.com/Linaro/odp/pull/264.patch ** Base sha: cc97d3ae6d6d4c07ec77e7b33e2529154fb0ed24 ** Merge commit sha: cf53a8c3dcf766470215250d617cbe1ce7fbd1f9 **/ include/odp/api/spec/packet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index 3fc460641..fac7790ba 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -1414,10 +1414,10 @@ odp_packet_chksum_status_t odp_packet_l4_chksum_status(odp_packet_t pkt); * the relevant pktout chksum bit set in the pktio capability. * * @param pkt Packet handle - * @param l3 0: do not insert L3 checksum + * @param insert 0: do not insert L3 checksum * 1: insert L3 checksum */ -void odp_packet_l3_chksum_insert(odp_packet_t pkt, int l3); +void odp_packet_l3_chksum_insert(odp_packet_t pkt, int insert); /** * Layer 4 checksum insertion override @@ -1431,10 +1431,10 @@ void odp_packet_l3_chksum_insert(odp_packet_t pkt, int l3); * the relevant pktout chksum bit set in the pktio capability. * * @param pkt Packet handle - * @param l4 0: do not insert L4 checksum + * @param insert 0: do not insert L4 checksum * 1: insert L4 checksum */ -void odp_packet_l4_chksum_insert(odp_packet_t pkt, int l4); +void odp_packet_l4_chksum_insert(odp_packet_t pkt, int insert); /** * Packet flow hash value