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 0A7DEA034C for ; Mon, 14 Mar 2022 10:31:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F070A41147; Mon, 14 Mar 2022 10:31:39 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id E6EA440DDD for ; Mon, 14 Mar 2022 10:31:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647250297; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sSQcB8VDko5dX4M7dzEyFuizV8N4MF2GSx5t5o2Bpa8=; b=KyebEIuCgYRB4iymIUTs+EQvNTOHQckY7NgDp5ltDl6f4EVn6Aj5o9gbrjYHnnvQk9cWDG GXqOhRTvldoF6lynd4tB4zwoN3GaLDFr99i/PiTdGd9u4r8Jfis1g/5nWqGRJvj0LpYxl9 hW9Q6NShsbHVsj+REjNMK/BQzh9UMmo= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-464-m_tdd3ZaMduno1iwArUH2w-1; Mon, 14 Mar 2022 05:31:36 -0400 X-MC-Unique: m_tdd3ZaMduno1iwArUH2w-1 Received: by mail-lj1-f197.google.com with SMTP id v2-20020a2e9f42000000b00247e9c3f0e1so6160386ljk.1 for ; Mon, 14 Mar 2022 02:31:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sSQcB8VDko5dX4M7dzEyFuizV8N4MF2GSx5t5o2Bpa8=; b=jMYscJ7xmdrkRsqW6z8Q5ifjlsdgqaEqlLrPdFd220L4yS2WEAuHUTj9nF+Z0YsDJw JeJCrPxYxB4jxpm+ranqWG97Kiges+ViYPxytnpjSCYUUv3xBMCDZxOxBfUexLozobYY 4EPorsEjwxxVUOsL4muaKg3FfWvB6GX6BzAsWTAK4J346GPisUQ9HHhktHCwSAUnXF5j 7MIXP5/MFi++GDzHOk0jCAvbBI3j7Rx92FtJdwdmUwSE+6S3yfpmFSlbxvLo0XYO3hZq rLxpgEm7uJG/024xES/8WQRnqNMCTju8u5DlDRVFtqQspfJ9ugTo1znDk11BJVtn0lzo rKfw== X-Gm-Message-State: AOAM530C5HYi0TLliqjvn+KCRXM01lFyQuxsUQb+qrxn4hk8Q+2zE3aG cFVtKSx+Yt1M4sjCuvh0LFe7s+6qoXBcYP9kh/CY+Pz0p/VcVhohACLdStVGoAEeYVe0dyOJnPR iwYYBGcOSbI+hynP+JVboQQs= X-Received: by 2002:a2e:9997:0:b0:247:ec9c:8efb with SMTP id w23-20020a2e9997000000b00247ec9c8efbmr13427918lji.297.1647250293225; Mon, 14 Mar 2022 02:31:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzioU6vldGPKhMhrwRmGi9LAj7rikPBcn2gHCp3fLGPJKWenF0V1yjUxOZxEJO7aaAMtA7Po2ieM+GvCuMjviw= X-Received: by 2002:a2e:9997:0:b0:247:ec9c:8efb with SMTP id w23-20020a2e9997000000b00247ec9c8efbmr13427844lji.297.1647250291590; Mon, 14 Mar 2022 02:31:31 -0700 (PDT) MIME-Version: 1.0 References: <20220310131923.1144368-1-michaelba@nvidia.com> <4694126.GXAFRqVoOG@thomas> In-Reply-To: From: David Marchand Date: Mon, 14 Mar 2022 10:31:20 +0100 Message-ID: Subject: Re: [PATCH] net/mlx5: fix FD configuration for Rx interrupt To: Michael Baum Cc: "NBU-Contact-Thomas Monjalon (EXTERNAL)" , "dev@dpdk.org" , Matan Azrad , Raslan Darawsheh , Slava Ovsiienko , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Thu, Mar 10, 2022 at 6:04 PM Michael Baum wrote: > > > # strace -r -f ./dpdk-dir/v21.11/examples/dpdk-l3fwd-power --lcores > > > 0@3,1@5 -a 0000:82:00.0 --in-memory -- -p 0x1 -P --config '(0,0,1)' > > > ... > > > [pid 534983] 0.000348 epoll_wait(26, [], 1, 10) = 0 > > > [pid 534983] 0.010082 read(24, > > > > > > For some reason, there is an event available for fd 18 right away > > > (which is the issue in the first place). > > I don't understand who is FD 18, I cannot see it in your log I had refreshed the trace before sending, but did not update the mail, I meant fd 24. Now, looking from scratch (rather than my one month old mail), epoll_wait() returning 0 is normal since it's returning on a 10ms timeout. The mlx5 rx fd should be left in non blocking mode. -- David Marchand