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 963F3A04E0; Wed, 27 Nov 2019 14:33:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1DED58C3; Wed, 27 Nov 2019 14:33:03 +0100 (CET) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) by dpdk.org (Postfix) with ESMTP id BAC434C9D; Wed, 27 Nov 2019 14:33:02 +0100 (CET) Received: by mail-io1-f65.google.com with SMTP id i11so24792632iol.13; Wed, 27 Nov 2019 05:33:02 -0800 (PST) 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=a0FJLYrXi0ff0FesfSZTNnhIvmdhcWgFJS4aZqGcR4U=; b=WVCc2fPd9MhCgxgh8CURrxONlKBF2vwPnraQH5X6SfEkAUVQvdSy4m69yb/5eQ56yL rYmRLXVqe4besu72WAD+0j8MLhBkZy2ZrArlraoa19d2kN9uR82XW5hhzPxDGnbnWwQv 68kUTfk3aJc52K+4NAMWqczC9sNQ1bn1mKntKvFVMr+hy4g44FiUQMQ2l90x3AWKa0kg Z8bwbkEyoyQQWPMy0++tgWDicb5tvH8bayT0qtTNXcjMlCRUhNMKWR//giP8tMhCSUHc hAThgSQeafAzumHX/suO2a8LsYWdv6S6M8stnUcQKSCB062JNHDXCgH32JLBHWskRF9L ffRQ== 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=a0FJLYrXi0ff0FesfSZTNnhIvmdhcWgFJS4aZqGcR4U=; b=tI7ZGcWjpD46J1eOSpx4gF7W57WDmtmYvN40Bn3xoHQJVGym2kNo5RozIJKX3Mo0aP zEwthJN72m6MkiuvxhknagGu+zwndMOgvKFCgYY0m0qvE1Gl7lV5LvMBDB9V6aGnDSZJ p3VjK2uoZuYlJyQ1WaAbWDv8IkT6yp8mefx8LX+6u+fmbn4YgWNi0pSFvl6+NJT50FxL 0TgTK5IoOX/YC+ao2q/6R4Jf/WuFIezjS+gBubqNvUGqaMU34PFB4i6USJAXWrBZQpd/ /w0Sy23HXoO/2OuBZb2vzFcMi7Bnwl4m5PZN7kcbgNasZ0h9EIzBj5NTfL9olBtNTnsq Z7Dw== X-Gm-Message-State: APjAAAV8IzCdqGQgCLtLblsFGgQMAh+cPyCyXAoFCXq6jSmDSB+fFzQ7 lFErR6LoiyLM97aACvLclSxqEh5BIU6bMFC5dD4= X-Google-Smtp-Source: APXvYqy0DpGmmCRTZYg05jucayMOSnCkJSveOji/U40J+bZBrv8QImoaXIjc7fpcP+Yje2Z4c2RDMIFdmPC6+FYwbHo= X-Received: by 2002:a5d:8141:: with SMTP id f1mr37024071ioo.162.1574861581767; Wed, 27 Nov 2019 05:33:01 -0800 (PST) MIME-Version: 1.0 References: <20191127123647.7596-1-pbhagavatula@marvell.com> In-Reply-To: <20191127123647.7596-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Wed, 27 Nov 2019 22:32:45 +0900 Message-ID: To: Pavan Nikhilesh , Thomas Monjalon Cc: Jerin Jacob , dpdk-dev , dpdk stable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] event/octeontx: fix partial Rx packet handling 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Nov 27, 2019 at 9:36 PM wrote: > > From: Pavan Nikhilesh > > When net/octeontx is connected to event/octeontx as an event Rx adapter, > PKI aka 'net/octeontx' can forward packets directly to SSO aka > 'event/octeontx'. > When pumping traffic to PKI if flow control is disabled internal FIFOs > might be overrun causing partial l2 packets to be enqueued. > SSO receives <31:0> TAG tag calculated by PKI, in normal cases <31:28> > is always 0 which signifies RTE_EVENT_TYPE_ETHDEV. But in case of > partial received packets PKI sets the <31:0> TAG as 0xFFFFFFFF which > is an invalid event type. > > Add a check to see if TAG is 0xFFFFFFFF and free the partial receive > packet. > > Cc: stable@dpdk.org > Fixes: d0d654986018 ("net/octeontx: support event Rx adapter") Corrected the Cc: order. > > Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob Applied to dpdk-next-eventdev/master. Thanks. @Thomas, It is possible to pull this patch from next-eventdev?