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 42B1145B42; Tue, 15 Oct 2024 17:19:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01F6C400D7; Tue, 15 Oct 2024 17:19:57 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id D30CA400D6 for ; Tue, 15 Oct 2024 17:19:55 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-20cd76c513cso21774985ad.3 for ; Tue, 15 Oct 2024 08:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729005595; x=1729610395; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=vxUYrGeo9xNTZkfFYYG2H0W+v9ohMZ4G0m5WcQJQWeg=; b=gyc6b7uQ33BiFpzKXVpZYp+G1rhkAEDkUuJt4+nfVaHJeN1kqgAl6xvZ+Xeh5H2sSB BTyIQChMLeuZAowxYcl3qjRK6lDwqXASoqf0MUn5qdvA864FxHOnef+sqRlJz/aXOypm gagmqack6IW1mVWbC2WmgGsXcDp3q/gKQGvi2zeEHWtpUDeTVppY23MFh3f6T8xkAOmE /hgjjWmxSGkDrfuRWNy/43ZmYFzY20gQMsY062OJcRr4J9ulzga7sZb7f0uDpqEUjXkn 3Pkbj58Qb1v8Uay6slfrRUislfer+OgXG9KtmpTX+bYbb4O54aqYSLJIRHQKiajxVrRA 1n8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729005595; x=1729610395; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vxUYrGeo9xNTZkfFYYG2H0W+v9ohMZ4G0m5WcQJQWeg=; b=T8/bQpgKhdKxkGcGHN1Ssix9PZEJY06ak+m4lTz0A3S6MrLFcsBYQ9I/xNzWr9clHa eqz+QlKj3yyWgD8iAafyxDT6Ah0vIl3NasvJKcVVijO6h86vEc/EWR5CzP0OFBFQULgq FUhV+K2Yc2EmaoQoKJXVZpUqkt73sY+Uq3QVprYjtXhOC0hz7Gh65qWqOLf3ODQO+sHJ ibiOx3pbs4l59hM97W7tz4HYyRExGFs47Bn/KBLJnB4+gf8seMOJhQeLmCNOgcLtETvQ 1TMxJs8fPi2zOiU61vyemJAyEc3gMWusp4wAdn2NhPgbPVYQht2s5RpiwgkL3otJtB1S xs7w== X-Gm-Message-State: AOJu0YwSMFt4u4tAaNS6y9hnCv0L6hL7C9e+Bz3sRtWxrswbukyhTx+u YB4l+F8HgIb7fkYU/vp7pP1GntThoIjrNbFZAcNN03olBeNJwvIsHBd9c/Ygk64= X-Google-Smtp-Source: AGHT+IHbEx8B2SKCVKLN71qgTHgpnU7OmmSQQOaYRVzjSw0DKDY9ASwzL9M5Rk3oaJSTtZ31BJ7PEg== X-Received: by 2002:a17:902:e548:b0:20c:b9ca:c12d with SMTP id d9443c01a7336-20cb9cac3a5mr216885525ad.38.1729005594027; Tue, 15 Oct 2024 08:19:54 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20d1804c050sm13110935ad.216.2024.10.15.08.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 08:19:53 -0700 (PDT) Date: Tue, 15 Oct 2024 08:19:51 -0700 From: Stephen Hemminger To: Gur Stavi Cc: , "John W. Linville" Subject: Re: [PATCH v02] net/af_packet: support link status update Message-ID: <20241015081951.24ac3608@hermes.local> In-Reply-To: <09f27e6b7844ee016487d4ea6c1e11ef940e3a87.1728983875.git.gur.stavi@huawei.com> References: <09f27e6b7844ee016487d4ea6c1e11ef940e3a87.1728983875.git.gur.stavi@huawei.com> 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 Tue, 15 Oct 2024 12:57:29 +0300 Gur Stavi wrote: > For net_af_packet PMD, eth_link_update was an empty function. > Application may be interested in link up/down status. > This patch adds implementation that updates dev_link->link_status based > on socket IFF_RUNNING flag. > > Signed-off-by: Gur Stavi > --- > v2: > * return error on ioctl error Acked-by: Stephen Hemminger