Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp748390pxu; Fri, 23 Oct 2020 12:15:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRIYS8kSO+axom+xVgLcc4UJRoR5moj2NO3ySoRZH1MjXuPlAPHWLpcvCgxiUgCOlFkE/x X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr3848827edx.220.1603480506936; Fri, 23 Oct 2020 12:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603480506; cv=none; d=google.com; s=arc-20160816; b=Co43CmGPQ9Ft30R6xI0Fs+V7il+PZOXs7UmwzzWQz3pzJB2+mtsg2+PBANWFeCsp5d QyiAbl634s/c6bG6MoME5/LYc0hzfGx8UCzN4KApiYE545gi84fTzsf0T672dBMOTbOa BRer6LEIEAaezzA8uUGVxLS3sZH+8eOYTRBPj9hO4EDiT0MP1PzL6+lerplcFiHzUH0z AkC3I8Ia0q3mX7j8NBxq+J/J8dPuprw0qMMDmW0FeL7UsXLsh0dExj4m6FfVo5dk4zsQ KhUzgRxtMyNmFeGlo6rZqq5xU1MoXRIvmAVsbqJl7jKqscL5MqaKPgN/LI/W2gtAJTA6 ncow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=llvQWkxEs5XIXIPlX7GK4aVrFn0/WQtWgonMmazwvKA=; b=OkirhDs0+iEX8lT4Rn6tdi6VPsKzHVIO0f9sGnooPaMkY+NZlBmvfHOj4o7M9xeIIH TyTIJBq7qqWtyYbZUyi3fOdweN+QXkQzs+0hhR7Vc/D0ACAZBNZuBWtNkVreq8MeMozd IhxIH8R8rEMDbpMReI3oZZBDOJyfJVWd9NVfBGsw331R92NuPXBJ1AN3M8Jl1yYCUQUx CNir9b3x/onmHfoYxg8q5DKzD1zHz+SEwX9Ms0oBtN3nmcbffZW1KG+avHKoD6+65PpM so8U5GfGCxkm4Min0XHFuDJjapzjV+lnlASQrZ62q6fIkj1i1uyflb5bsGhQhW6wFWcp O6VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FHRrRMCh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du3si1458923ejc.411.2020.10.23.12.14.44; Fri, 23 Oct 2020 12:15:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FHRrRMCh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754432AbgJWSUa (ORCPT + 99 others); Fri, 23 Oct 2020 14:20:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:51460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750463AbgJWSU3 (ORCPT ); Fri, 23 Oct 2020 14:20:29 -0400 Received: from kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B64832192A; Fri, 23 Oct 2020 18:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603477229; bh=QjJQ1djuvt9qqAazUX+8bLpM2PEI9Imum/LHktieF4U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FHRrRMChg5JF4NMkb06ect8VeyjcQkkpZjw/lBsYd5FVj/jdsAKRNLA2vVWgXb/0h GEVAsYEq3ZplQtFI3JAdPdYb1e7XuYlmpmWl4WRUo0PewI2tvHghjSqP/QSgnAP8QH oRMlm9EVrdKb9zeIxe3ojJYHpuGWfOp3DeYN1GGc= Date: Fri, 23 Oct 2020 11:20:27 -0700 From: Jakub Kicinski To: izabela.bakollari@gmail.com Cc: nhorman@tuxdriver.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCHv4 net-next] dropwatch: Support monitoring of dropped frames Message-ID: <20201023112027.74ae41d1@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20201023042943.563284-1-izabela.bakollari@gmail.com> References: <20200707171515.110818-1-izabela.bakollari@gmail.com> <20201023042943.563284-1-izabela.bakollari@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Oct 2020 06:29:43 +0200 izabela.bakollari@gmail.com wrote: > From: Izabela Bakollari > > Dropwatch is a utility that monitors dropped frames by having userspace > record them over the dropwatch protocol over a file. This augument > allows live monitoring of dropped frames using tools like tcpdump. > > With this feature, dropwatch allows two additional commands (start and > stop interface) which allows the assignment of a net_device to the > dropwatch protocol. When assinged, dropwatch will clone dropped frames, > and receive them on the assigned interface, allowing tools like tcpdump > to monitor for them. > > With this feature, create a dummy ethernet interface (ip link add dev > dummy0 type dummy), assign it to the dropwatch kernel subsystem, by using > these new commands, and then monitor dropped frames in real time by > running tcpdump -i dummy0. > > Signed-off-by: Izabela Bakollari Doesn't seem to apply to net-next, also the tree is closed during the merge window so please rebase and repost after the weekend.