[dpdk-dev] [RFC 11/16] testpmd: rename vxlan in outer_ip in csum commands
Olivier MATZ
olivier.matz at 6wind.com
Fri Jan 23 18:49:49 CET 2015
Hi Jijiang,
On 01/23/2015 12:21 PM, Liu, Jijiang wrote:
>> static void
>> pkt_burst_checksum_forward(struct fwd_stream *fs) @@ -432,18 +435,18 @@
>> pkt_burst_checksum_forward(struct fwd_stream *fs)
>> /* step 4: fill the mbuf meta data (flags and header lengths) */
>>
>> if (tunnel == 1) {
>> - if (testpmd_ol_flags &
>> TESTPMD_TX_OFFLOAD_VXLAN_CKSUM) {
>> + if (testpmd_ol_flags &
>> TESTPMD_TX_OFFLOAD_OUTER_IP_CKSUM) {
>> m->outer_l2_len = outer_l2_len;
>> m->outer_l3_len = outer_l3_len;
>> m->l2_len = l4_tun_len + l2_len;
>> m->l3_len = l3_len;
>
> There should be m->l4_len = l4_len here.
Right, thank you for reporting it.
I'll fix that (but not in this patch which is just a renaming
of another part of the code).
Regards,
Olivier
More information about the dev
mailing list