From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2D9FEA0093; Mon, 7 Mar 2022 17:06:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DC9640688; Mon, 7 Mar 2022 17:06:08 +0100 (CET) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id A958E4014E for ; Mon, 7 Mar 2022 17:06:06 +0100 (CET) Received: by mail-pf1-f175.google.com with SMTP id z15so14244915pfe.7 for ; Mon, 07 Mar 2022 08:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9i5qB4a5w91DnrTCExMjG897qWchxx8kvCdKC/NZ6iw=; b=FNLDLWArDirJgb16T+qydaJYqtS/tQXmHiyl6kbxmEquzu580Omrn9585PHcP/YWMH OX0X444o5XVlJVfpOA0KFmLdn/ehlINm3SdAb1ZoNXfmnNpCVp4htRwNu7pPZ+bRb/FO 7Q7FBHgk3HsuFD5uT8bgwFi3p2JTgn1Q/0l514+M+Z0zxWxvLAZhtEVaHRDWPp8V7v+r YUpNjl42cpytcyNWTSTNtJFDwElGIJ3VnjFnopV+F9HcB53XzQTCANYmpdEKG8Mvdhw3 IfkXTTM7C+jZ/ZYYECDbbWcjAUR+BHr4YsOLLBwxbaWFMVjGDC0LOD91Pesf5l77vGw0 41eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9i5qB4a5w91DnrTCExMjG897qWchxx8kvCdKC/NZ6iw=; b=EsiLF7UhrugqlhNv6JiooMHc8N+xvySxLv449nrT/bP9b2zq3YEdsp4XHUZC1Hiewd LBH2ycGs3qlOHdzpSdF70zNZ9U5UFpqPsAKn+a0P49DRRxOnOIMPwQrD/z1XJTvXNS+c 1ymsLFHkrvq3hppF7ygVLti3iZQYXd1x8tSFhGUYOmpRPB7Da3dasJciGpRHwI/rzM3f wGOsEmDB6oHI0HOYjHILqwkg8MOhlD47f/xuQ7aM/4/trRo7w6d1tArYmV+DqNbn06yP C5JRi9SVmosn2nKW2ZjmgNCPGWF5w+D+S0ZzBAwlmGRVIPU4idctnqoYe4GrIw/JZkIu VM+w== X-Gm-Message-State: AOAM531Ob4RH9tssZdxv4ZC8PPb3Piin20+cxiL8Lc2w6j0YyZT1pa2d rd2fUijZIRKIAblLjhmKZg5nFg== X-Google-Smtp-Source: ABdhPJxNQ4oegGQes9JQdmfKjxiF3xS7DXF2R9fLEP+W8G2F+Tx6qyYlpLgGXJk/FNonz039f8QqyQ== X-Received: by 2002:a63:710f:0:b0:378:c35a:3c3 with SMTP id m15-20020a63710f000000b00378c35a03c3mr10514221pgc.535.1646669165891; Mon, 07 Mar 2022 08:06:05 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id z6-20020a056a00240600b004e17ab23340sm16929071pfh.177.2022.03.07.08.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 08:06:05 -0800 (PST) Date: Mon, 7 Mar 2022 08:06:02 -0800 From: Stephen Hemminger To: Junjie Lin <277600718@qq.com> Cc: dev@dpdk.org, linjunjie6@huawei.com, xuanziyang2@huawei.com, zhouguoyang@huawei.com Subject: Re: [PATCH] net/hinic: fix Tx mbuf length problem Message-ID: <20220307080602.09340804@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 7 Mar 2022 22:12:20 +0800 Junjie Lin <277600718@qq.com> wrote: > From: Junjie Lin > > The Tx mbuf needs to be ignored if the pkt_len member is zero. > > Fixes: 54faba2295bd ("net/hinic:adds Tx queue xstats members") > Cc: stable@dpdk.org > > Signed-off-by: Junjie Lin Not all drivers do this. It looks like you have a buggy application if it tries to send 0 length packets.