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 A4F3FA0C41 for ; Mon, 2 Aug 2021 18:58:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AAC741147; Mon, 2 Aug 2021 18:58:48 +0200 (CEST) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 171F840140 for ; Mon, 2 Aug 2021 18:58:47 +0200 (CEST) Received: by mail-pj1-f42.google.com with SMTP id b1-20020a17090a8001b029017700de3903so436260pjn.1 for ; Mon, 02 Aug 2021 09:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rl1FalKEXMxjl9q7FoWGEayAjmdKn8UVyKkvQj1mlOg=; b=h/3sD5J9c25iuvYjMM9AQG2jLpE5jDdZjNGEDKTfqEz7OUKOy0iEe6QD5jCXNLqA7Z lKr40vfl1GHt/Id+xpgdx4g3vtqOF6EbwrGRWnWbzTizgTLFjs6Zgyw51Bz0F82th7qU F40Yak9Lvf2Zz8YQf0lUmkBvd2y+6Q5hZyL8vE3ZPMx4fCqVI2zJsBw4dMw+srhiB/uB A/Eujh9ELSAugPth71jA7TqDBQgHrnfR9kDtIWNQl+QtT6KKBYdxHNe+ISpweTMFAQIR 1eGQygAewgyj36d37Y5DvYeCSLcFmRN7fTaVmRfNy0esSvXoD4ZpwoMfQ4dPAfwGjF8T IkkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rl1FalKEXMxjl9q7FoWGEayAjmdKn8UVyKkvQj1mlOg=; b=VdWBeehXRvUwz5g7fKJM9SG6aJoD1iv5tY6JwimOngnUCiMQnOvOGCqvBnrmaLPcwt FX4MOklfstwH9od+u0RTDFW7xVPocIBBlc16npa/DcJy0Dn1uyZ59amN4gtuv0VLcVXk iKE2OXQMqBUibExIPBBBgZfBdmLcBjpsHp0CMstPzfjpSNJmH7sJrBi6nmBoJ7a++hGK sFZrczqkyhJDqN/PfVrPZo9Jb7e/tHRrQUN/xq7CGH6e8lOQOI7vDUvJzSC9eN5ZH+Oz OqL6QW3Cp4T0BEPw46rsr4YRnoZTNZAK5xUpkYDdNZoTUtWwzb+TZjibvHuq6FTlV1IK cUAw== X-Gm-Message-State: AOAM532JDs+A88rW3v4CcXfZe8csOs5Php74ZyUbUvTsJ3TI9m3o42Su 4YCnbQS8RMSUrztqylJXiNDT62ar0TE0smH3twbAz0q+P9U= X-Google-Smtp-Source: ABdhPJwf4GdEkwh6mGSFnkfrDBNB0nIe+Wnx3E7uQ+SlPENgfeoykL7FUeuNuo13rQIGFTJvL8JWSmnLSO/AmKSWdqI= X-Received: by 2002:a62:cd03:0:b029:3bb:9dee:a742 with SMTP id o3-20020a62cd030000b02903bb9deea742mr7318012pfg.22.1627923525886; Mon, 02 Aug 2021 09:58:45 -0700 (PDT) MIME-Version: 1.0 From: Eric Christian Date: Mon, 2 Aug 2021 12:58:34 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] e1000 igb packet rx stuck X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 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" Using DPDK 20.11, our application will set Virtual MAC addresses on interfaces. This involves bringing the interface down, changing the MAC address, and bringing the interface back up. There is a probability greater than zero that when this is done 20 times (~1 occurrence in 20 attempts), a port will come up in a bad rx state where all of the received packets are rx_missed_errors (mpc). When the interface is in this bad state, all calls to the rx_pkt_burst() function which in our case is eth_igb_recv_scattered_pkts() return zero packets available for processing. The Receive Descriptor that is pointed to by the tail index is showing that the Done Descriptor is not set, so it returns immediately without reading out any packets. Manually bringing the interface down (ifconfig down) and then back up will usually clear this condition. My initial question is, has anyone seen this condition? And if so, what could be the likely cause? And what are some things I should be checking for to try to understand how the rx queue ring has gotten into this state where HW thinks it cannot write anymore packet descriptors? Thanks for any help. Eric