Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp67797rwi; Thu, 3 Nov 2022 17:23:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4LFTBpFjLYUY8G8xqivovBjQq834WTOpVdrXGA1udMEeEgXR/dVeUc5Iwj7y3y5e3fESXT X-Received: by 2002:a17:90a:e606:b0:212:f100:22e3 with SMTP id j6-20020a17090ae60600b00212f10022e3mr51715758pjy.83.1667521391388; Thu, 03 Nov 2022 17:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667521391; cv=none; d=google.com; s=arc-20160816; b=ObCnq1GplgNQkcG8Nj2cyZDHy8Gz/ZifE+ArAx7JCwFXxmd/HqHaiUtzUpH/lJdINi EdXc24ad9WybnTycZ39aDJNhzh+p4/KKhQUXYuUVyL51ThyM8eRPchS54YZMg05Om4Ms yevDdMnAPxYfzPQfSgoT0MqFhKHF3b41vdaddBvpj6CTnIQdu5dnSLZdEaT+llOkl1+l wTPfSmkxvxoNo38X8wfkmE4e+FXfZikXEXgftfJcZwzYSZJ9tS/hDop8zVdKe7yeWTUc u7BlYTb/562XhD4qBPomqoi4jfEJpBPQPZgn/OiCSRMSQM7hU7kDsfV+7SS1/l090Qiu DdGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kqzQruhXx3eIhPRm5egIBhrBjIecuzW4Kx8QQz0kkR0=; b=vxkf7drYw0AWzO104DOexdZtfnUOlM5PS1yY3yzdn/KYqDpokgwX6PsHKvJ6lqUDdu qx5ZWkt8tXKQg8GeNFMRboVD4SMYowdaYIbgdmzTO5HF1yjfmtZ4bl+Icwo4t0fiPM6R Fgd38rQ+IDUTghOFdTtZkkk5A0FPKWafec5b0wO+ZtkGsr4lX4uUiMjn0db+Enz2V+sW cW0fkOrWCyDA9Kf7rKF2/oTVAYqAoQyODQIk0hlsMi0356In/vZwWbPCUg2EfJg+KBcf mzvDWAmbDVDNnrmMr5Z/sl4hTd+iQbKAR9SPGP5fwKMkRNMFUUfodqxJqpAWdfBd72SG 6rNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Io3euxkx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd33-20020a056a0027a100b00547d55a4d3bsi2645002pfb.285.2022.11.03.17.22.59; Thu, 03 Nov 2022 17:23:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Io3euxkx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbiKCWvb (ORCPT + 97 others); Thu, 3 Nov 2022 18:51:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbiKCWv3 (ORCPT ); Thu, 3 Nov 2022 18:51:29 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE29B1AD; Thu, 3 Nov 2022 15:51:28 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id f5so9135051ejc.5; Thu, 03 Nov 2022 15:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=kqzQruhXx3eIhPRm5egIBhrBjIecuzW4Kx8QQz0kkR0=; b=Io3euxkxdP5o8qUZ/KC9TfOXd9DCWFqP51ENEK++HcLUVg3+zEXRSwwwqi8ILOqcPh gXQe4bEWguHsZqUgNkM6EdjhasPU+qcANrB56dh1mucwG7YmeyqtBqSSRvlm/xdgjkz0 5thWthTludIVMHfyzRdT6ZCkyWCPF7EGvbmptMZWQXAf3w16xl/LBQs0OjuMjnb54q+f lKeCgt6vgU9SH7jTtI4FQTXuxaYchWNSRC/mf3CUiv5gPL2RMI8EMjEYd54L350edJb2 eiCytOGRnhfCNsBPmxluy/EaVJkn2dWv+cooRR8A/ZEzG/sulH00OhZvj1+siwC/1ArN thjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kqzQruhXx3eIhPRm5egIBhrBjIecuzW4Kx8QQz0kkR0=; b=PtGkoZXRIF3fdtI75IPJU5tbb+2rL1taFpYC18vwilWVJDIuwBajG9fN/4gtsQY021 YIVrRw2io6yatQxwrCzlSG8BuVVKnNKbpujxR8UztqJBuBDgc4yfCzQYzk2EwAVJwi1e UT7h8CuSpfQQfZDkYznwkXim4+nWod2KA+OYA1qlXjaXfkECcNPCFTF9IMDPXb5IqX4r g+SoW+eXjGVPnp5Ol9hRH4fhAvi6tloNlRElJw6YQAfdH1V1WZJsptnBw+v7S+a6GUya uzDpvOreyb94Ij0gAkmed5DGolAag2YC58tuiTTIjXXn6TEasJSZ4apmJaGm3nGnZ/DT 56kw== X-Gm-Message-State: ACrzQf2i8WUm/3k/emuCXHzfkkh7Vb9ndddfG4jtwLw+QMvcJfahVHGy FdmtCO5siZkIQ9smh7Yca2U= X-Received: by 2002:a17:907:2708:b0:7a6:38d7:5987 with SMTP id w8-20020a170907270800b007a638d75987mr31538019ejk.467.1667515887271; Thu, 03 Nov 2022 15:51:27 -0700 (PDT) Received: from skbuf ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id ev24-20020a056402541800b00459f4974128sm1064372edb.50.2022.11.03.15.51.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 15:51:26 -0700 (PDT) Date: Fri, 4 Nov 2022 00:51:24 +0200 From: Vladimir Oltean To: Pranavi Somisetty Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, git@amd.com, harini.katakam@amd.com, radhey.shyam.pandey@amd.com, michal.simek@amd.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC PATCH net-next 0/2] Add support for Frame preemption (IEEE Message-ID: <20221103225124.h6nrj2qnypltgqbr@skbuf> References: <20221103113348.17378-1-pranavi.somisetty@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221103113348.17378-1-pranavi.somisetty@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pranavi, On Thu, Nov 03, 2022 at 05:33:46AM -0600, Pranavi Somisetty wrote: > Frame Preemption is one of the core standards of TSN. It enables > low latency trasmission of time-critical frames by allowing them to > interrupt the transmission of other non time-critical traffic. Frame > preemption is only active when the link partner is also capable of it. > This negotiation is done using LLDP as specified by the standard. Open > source lldp utilities and other applications, can make use of > the ioctls and the header being here, to query preemption capabilities > and configure various parameters. > > Pranavi Somisetty (2): > include: uapi: Add new ioctl definitions to support Frame Preemption > include: uapi: Add Frame preemption parameters > > include/uapi/linux/preemption_8023br.h | 30 ++++++++++++++++++++++++++ > include/uapi/linux/sockios.h | 6 ++++++ > net/core/dev_ioctl.c | 6 +++++- > 3 files changed, 41 insertions(+), 1 deletion(-) > create mode 100644 include/uapi/linux/preemption_8023br.h > > -- > 2.36.1 > Have you seen: https://patchwork.kernel.org/project/netdevbpf/cover/20220816222920.1952936-1-vladimir.oltean@nxp.com/