From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f176.google.com (mail-yb0-f176.google.com [209.85.213.176]) by dpdk.org (Postfix) with ESMTP id 26EC92C2B for ; Fri, 24 Aug 2018 12:17:53 +0200 (CEST) Received: by mail-yb0-f176.google.com with SMTP id t10-v6so3298057ybb.1 for ; Fri, 24 Aug 2018 03:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ey0WJ6ClWjDVgkiMNhgJDW9+z2Vu5pKA33hbDKXt1Ts=; b=VsmSGxBrEZuwoaVj4rXxrjRsSJA2OH7oSqY3dk39gxemUCdiKk6xHxpgGZXdFMdhUV c4lD5It7TCU09VrGlENo/aB8x4gZJkuR62+zMJLS0TBbFISkWOjvI9BVfLtE3KBB7MAp WBZvQcu0amvHtZeaobjIPIcmpu7K4weIIiAcJUdvadn3NEN2uiWDR7sWIUY4NMMRZBPh KJXG9RTTv3jE0zHwxuurzo3KP0XWBsezeJ5kr9ekFWptqycbV3Ze1uKGP7Yo1E9vt/BU 65JCevlRCH5Q5uihLhIv1FbF6dH4Zkb1Rq7q0aUxwNrh5F8KRmWVlYwcQyHEUUxDD1xi x3Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ey0WJ6ClWjDVgkiMNhgJDW9+z2Vu5pKA33hbDKXt1Ts=; b=Ajo5MOQ9B45BBKjgZfdLatLLotZ86A2WhiOqq+eq28T//hJhXV56H6+6oAAdpZ1tGq +ZREfa+ZT0oILvwsOGpBXz7nHqAtJLVGVCtY60YRNZyPZprL3YHKH+rMn0us5ibUDHqG 5qCpaDcu/wERZdDY6FxmLlma3G9M0AfGIdFXsn4LoiQRtLgQ6IMvvXiNSHmnUlI+csvc ozTvjD1VZFGy3O2Z4a1k4z/70crd9uOoEdwWumHGiB3VevYy7Ql85X/YerN1hF1jYRp5 JeeSetDlo6EqrjkzXHeTiM1mnjIoToJZn1vxRcv7qBUoxOYZOB62Uwjx3hOe+79GLt/r +Rww== X-Gm-Message-State: APzg51CiKtEJByV6rCNhyzrF81HS3Z2M2/vd0Ku9YOcMLfEBFgHt/hFH K93bvotEkHoxSuUEwQyCD1DopSPXHiGh1fAjMdykwHfW X-Google-Smtp-Source: ANB0VdaBanA8zdsSW29GHaLSntKfhfBUCjawlM3Li9gMPH/YJq5/DFGpFHsXrNTfPoMpTa/RpWRou7w4162RdP5jMuk= X-Received: by 2002:a25:bb8c:: with SMTP id y12-v6mr516205ybg.283.1535105872213; Fri, 24 Aug 2018 03:17:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:d809:0:0:0:0:0 with HTTP; Fri, 24 Aug 2018 03:17:31 -0700 (PDT) In-Reply-To: <1534176226-21911-2-git-send-email-david.marchand@6wind.com> References: <1534176226-21911-1-git-send-email-david.marchand@6wind.com> <1534176226-21911-2-git-send-email-david.marchand@6wind.com> From: David Marchand Date: Fri, 24 Aug 2018 12:17:31 +0200 Message-ID: To: dev@dpdk.org Cc: Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Olivier Matz Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [RFC 2/2] ethdev: check received mbufs sanity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 10:17:53 -0000 On Mon, Aug 13, 2018 at 6:03 PM, David Marchand wrote: > Let's check the mbufs given by the drivers directly in the rx handler. > The only drawback is that you need CONFIG_RTE_LIBRTE_MBUF_DEBUG to be set > for this to actually do some real checks. Comments ? -- David Marchand