From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C27FA0350 for ; Wed, 1 Jul 2020 15:08:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E756F1BFBC; Wed, 1 Jul 2020 15:08:52 +0200 (CEST) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by dpdk.org (Postfix) with ESMTP id 91C171BFBA for ; Wed, 1 Jul 2020 15:08:51 +0200 (CEST) Received: by mail-wr1-f43.google.com with SMTP id h5so23744570wrc.7 for ; Wed, 01 Jul 2020 06:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2gsCTSQq0sP2+QVObdCCRA3P0YqPW4Mnb1Og/Otuplo=; b=OPlgNaulNQpOyzKfjZvzBXKM8h3ULZr6dJlmCJl75lf29PUeX6BDYV05rXFgMzTlG7 71owGF9lGUpuLQxuc/9vIJNy1PI+6YQAi6mP/8ow2jctxH+6wv6df6vBJssyB2253I0P nOsIenmVBETPfRrc4W0UrEaAfe5/ST5qqpH8xR49JxtXAFca/zqSTF5/szckPKZ2dU84 dWvSgiaxGzw9K09IYe2PndYANXoKxVewng7yImPdE3b2zT2zaZ12FmlFsIBCILVJ0tAK wVPfei76BuG1GpDqnuYK1+6DnFX1RE+JTlJyv8KF8uHIybp9W2kyPEzNbAdIdLvyuA7j iIxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2gsCTSQq0sP2+QVObdCCRA3P0YqPW4Mnb1Og/Otuplo=; b=BtXOB37fAn6ShMOTUQlvenIqYPY9UvNxL+1RDlAJVBIMKwhSq42+w5d3/801HUXLo5 Lf21cj14NYoVSFzoXXaGuaBJtAheZ4xRfQ/6vx4ojcWPBtDJNWXK1ampYWNwwsZN9QLM ZECeeT0JVAWJIRi6y2/vqm+etPSTj1j65PbE5TTaiymnKtEVNiD6MnT1F1Eb9q6ckAJj q0KyLHn41tEIao0Q7Qu7EvKXzKhISdFEv93l3ZTixyKJyVODNqkNvFw8eCZm1rpnben+ pBBe7O/IK0TuMmCmJo6HAG3K90Z8LBX9wdSyZcKHflbEoUkIPnYjyUIXvaCRdN+38ZYC blAg== X-Gm-Message-State: AOAM530WyBre7p5IrA9uCqx+FLX3JR7X/XiCcaa6iFQeIelq11qnONJ7 yNV39aijDwAqd7QDadHr2q7xn4nF/fUeNx7Aa3iDgzaT X-Google-Smtp-Source: ABdhPJySbATTQDmJRWtpFL20WfBCjMCTgvRKVcznYhHIFSXrxSpomL0AvX3mbrDuXy1lToVGovYDa6vhG+VjqVNwfFo= X-Received: by 2002:adf:91e1:: with SMTP id 88mr20632570wri.89.1593608931154; Wed, 01 Jul 2020 06:08:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Wed, 1 Jul 2020 06:08:38 -0700 Message-ID: To: David Aldrich Cc: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Why is udp packet, sent by dpdk, received with zero'd payload? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Sorry, I didn't see those below, but it looks incorrect. Those numbers should match if you're using a single segment. My guess is the 42 is truncating it to the size of the udp header part only. On Wed, Jul 1, 2020, 06:04 David Aldrich wrote: > > Are you setting data_len and packet_len in the mbuf before sending? >> > > Yes, and I believe that the mbuf dump and the tcpdump that I included > show that these lengths are set correctly. The problem is that udp payload > is present but consists of all 0's. >