Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp321832lqd; Wed, 24 Apr 2024 03:33:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUPXRgphFFsA4a5K4DzP8GE4uMuYm/CHoMAYdvrBkkMR2xWbijmfT84VdjLNQKAnHpKLq5oZild/SkjxsmoRe7ARHZ0Gw9aErdcebpoYA== X-Google-Smtp-Source: AGHT+IHt3RiwhAwoiwCPT+6eyUVNmpPUQXCOHyIbr7dLBXgZ0q3Sz+7FUO69iQw62Gq4AamDwUpM X-Received: by 2002:a05:6a00:1786:b0:6ed:416d:f86 with SMTP id s6-20020a056a00178600b006ed416d0f86mr3087968pfg.15.1713954795963; Wed, 24 Apr 2024 03:33:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713954795; cv=pass; d=google.com; s=arc-20160816; b=HIpTKnAJRvxKaMUT1Ot5J28NcVkIlU1ukKWZWAfVci//lZXNy97yguPyT/2aM/mSpL F5sxu3OWhjqmYPBvd/0H61KG6+bNLT/svXqra6bqeNIi0CB+H8QJVnFT04/0tOlro5hL TiEK5zokXfyQnz87fmmkiXV2npzK5zO7nVo1//AmQX4ByTJH+NkvBcQGd4kFbpIwYYY9 1ilw2fJCapW+6vKEIe/K6MweKVh1WNkrJBOAXBMaxydwHzJXyUFeK4JGoKxkueexTxBJ nXvmoyJmriN6hc41HEBlC1ozDasXcSxK27j5ApX9uURkQfN5YGVYRU3aTiJM9GlHKAh4 7nhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=LzzCfUU9HvnZaQBq2MUqtGpeAstNrDhVt8hKpFsSmes=; fh=9F/zgAfNvLnDgRbLMUtbyBgsbRvrFwmtG/oTUj9XYVQ=; b=F8b2PUbjH4FW6H/3GwcaqeZH4IX6AmWfqdmX45nB9itLu95iY+WyD11egwKNAB1xRt HFuqOrWVyWo+bfDdOk4ftyPwm84KmhLuSkJAVV4kpNBf94UI1gzDhIyLIhaGZEDXcCyi JyjU80noRE/O8xYRBLdvp7Lc+fi2HtQJGby/+kJ6nLAV0yi5razQyQsRngpIXxiyY1Aa 4/1sJG2t1hIUqYn+3SH6HI2iYpAujmZBOqwrSyCqDFRAYL7K6WsG1e7Nkr2A40YTuM2b T5HkSbik/3wJZPe22j8IqTstVAoKJRi4S+RP6PE1DvBj66p7HKGhQbPSnLvx4dymGPp2 leMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=gros7Kmr; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-156729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j19-20020aa78dd3000000b006ecef03a767si11017542pfr.340.2024.04.24.03.33.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 03:33:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=gros7Kmr; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-156729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8EC03283B91 for ; Wed, 24 Apr 2024 10:33:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A8EC159564; Wed, 24 Apr 2024 10:33:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="gros7Kmr" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DEE8433AD; Wed, 24 Apr 2024 10:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713954786; cv=none; b=ftdb52ypxg1SGS1lwCca2Mu/GEGBHx8+dazLe0JSfrEDnBYFw/0cIPmJkX4TD4uCIhYv4foDCwBKOQ/g7GXkhvtAN2bG/T8Ea6P+0UzK74ki+sALM8Bx9jUfUOk51J7EM0rImb8NHiWXo0rBsn0tGzECdRJI5pEzsIFEx9YvJCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713954786; c=relaxed/simple; bh=jCVljMfq1PpKaWHeVUKrIL8LOKqChFRbFlWU60rpjRo=; h=From:To:Cc:Subject:Date:Message-Id; b=O1RFW3m0XY4hYWpkqqNvHaZBEXxpx6Ny58zWYMfsxvAdwHgHfjy7p9WF/dNtuYEApnhmwRxXL3yuPtRTkQP2aUD1kAR7QaTkCq4/28of7rvCwOircnlqNhrkVp5oKhMDTPg2D5R+xO72qzxFuCGUAzuEGqVepi/oNiRibxgSto8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=gros7Kmr; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: by linux.microsoft.com (Postfix, from userid 1134) id C9E19208591D; Wed, 24 Apr 2024 03:33:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com C9E19208591D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1713954782; bh=LzzCfUU9HvnZaQBq2MUqtGpeAstNrDhVt8hKpFsSmes=; h=From:To:Cc:Subject:Date:From; b=gros7KmrRv5FTZZZxQQEGeft3ZsQGpTtO5qnaHhPn4Rg+CnlajHylcHiA6YTmr/5S 5YwZ+Ggu6H2izV2gB4pFkOzK/exXeJBuSVLt/0z8rVLnwsrGtnyGVyLHO6WB9+RhNg twxinsWdzgnqf/KaCHvUPh93bkIJ/9aqBIKiwXLM= From: Shradha Gupta To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Helgaas , Jonathan Corbet , Randy Dunlap , Johannes Berg , Breno Leitao , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Souradeep Chakrabarti , Konstantin Taranov , Yury Norov , linux-hyperv@vger.kernel.org Cc: Shradha Gupta , shradhagupta@microsoft.com Subject: [PATCH net-next v2 0/2] Add sysfs attributes for MANA Date: Wed, 24 Apr 2024 03:32:54 -0700 Message-Id: <1713954774-29953-1-git-send-email-shradhagupta@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: These patches include adding sysfs attributes for improving debuggability on MANA devices. The first patch consists on max_mtu, min_mtu attributes that are implemented generically for all devices The second patch has mana specific attributes max_num_msix and num_ports Shradha Gupta (2): net: Add sysfs atttributes for max_mtu min_mtu net: mana: Add new device attributes for mana Documentation/ABI/testing/sysfs-class-net | 16 ++++++++++ .../net/ethernet/microsoft/mana/gdma_main.c | 32 +++++++++++++++++++ net/core/net-sysfs.c | 4 +++ 3 files changed, 52 insertions(+) -- 2.34.1