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 A1D18A00BE; Mon, 14 Mar 2022 10:31:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2374940DF4; 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.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 4FF6B40DDD for ; Mon, 14 Mar 2022 10:31:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647250296; 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=RYeNsFPNJE9ejlwDFfSsIu5vN6nU6nTaJWM9qmgtuvDZRDgbGGKbgdC407wcc6zW6RGbRk jvWKamgyTgtKmnMETOyqqQDp0jO2qLPUuqwzagMS90/e86htkUI359nNrYRZXEejAkjd9z JnbFmUImHaKwXp+7WkQ5M0zMiU59YWQ= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-641-f_WHqhfXMOaLqsEy7un4Cg-1; Mon, 14 Mar 2022 05:31:35 -0400 X-MC-Unique: f_WHqhfXMOaLqsEy7un4Cg-1 Received: by mail-lj1-f199.google.com with SMTP id h18-20020a2e3a12000000b00247e2a0e909so6185221lja.7 for ; Mon, 14 Mar 2022 02:31:34 -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=bv3l2VD1FQnyWmAqO7A9pnxWIORJDWHJgXDKyVOMv44RPLApjjGEASRl9g5tB4gy4E ovJpn9zLgNgVnuGvKr8U4R92s31zcOvXNcPBGAafavCu57Zyehdcl2ObPlIBKJBei2KP BsGhNMPGg/BbhZL6Skh8zfxgVoRocCtkzm3NWBCivzjUW19sWfWEPi4E8aw7fTuhT9ly m9FHu0EHQxTxAtjhUTtIcMLZXLLQCsYEcUl0YI6fRUzxa8EadZixXFJj0iRQLXorG5Ak r+fzZ0i2EZE7t82XIT6hi/sy/ffk95f5CnhCUI/XGeV2WEwJv24WNhkwkCWOFr/KqC6r ZX/A== X-Gm-Message-State: AOAM533r5rSzWdErt+kSbMkW+gh3plOq8tYzSjeRDSL4SDzFdOzvNcOs luSHW3wG+9EbQWxWk/vHyBrbX49OTDzX1bSAXrvUQ7GEoaA5hg+faBt0IKtpGJdmstRJl0oait9 4XWayQlACrb7Gjew1+HY= X-Received: by 2002:a2e:9997:0:b0:247:ec9c:8efb with SMTP id w23-20020a2e9997000000b00247ec9c8efbmr13427917lji.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: 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 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