From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 015B9C48BC2 for ; Fri, 25 Jun 2021 06:16:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2B2E61424 for ; Fri, 25 Jun 2021 06:16:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233170AbhFYGSh (ORCPT ); Fri, 25 Jun 2021 02:18:37 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:57156 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230192AbhFYGSg (ORCPT ); Fri, 25 Jun 2021 02:18:36 -0400 X-UUID: 81f0045238004a81bdd54952ca6ea636-20210625 X-UUID: 81f0045238004a81bdd54952ca6ea636-20210625 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 266820426; Fri, 25 Jun 2021 14:16:10 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Jun 2021 14:16:03 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 25 Jun 2021 14:15:55 +0800 From: Rocco Yue To: Greg KH CC: "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , , , , , , , , , , Rocco Yue Subject: Re: [PATCH 1/4] net: if_arp: add ARPHRD_PUREIP type Date: Fri, 25 Jun 2021 14:01:07 +0800 Message-ID: <20210625060107.14098-1-rocco.yue@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Does changelog mean adding these details to the commit message ? > > Yes please. > will do. > > > And are these user-visable flags documented in a man page or something > > > else somewhere? If not, how does userspace know about them? > > > > > > > There are mappings of these device types value in the libc: > > "/bionic/libc/kernel/uapi/linux/if_arp.h". > > userspace can get it from here. > > Yes, they will show up in a libc definition, but where is it documented > in text form what the flag does? Judging from the changes of ARPHRD_xxx submitted before, I am sorry I could not find the corresponding doucuments to describe their respective behaviors in details. Perhaps the best way to understand their behaviors is to read the code directly. Thanks, Rocco From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0117C49EA7 for ; Fri, 25 Jun 2021 06:26:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99DA561404 for ; Fri, 25 Jun 2021 06:26:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99DA561404 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+dzaeP/TEULtjZueDhauXvyyVNDhTS4CoBRJmCAjpt8=; b=vRw73Th4FfLSZC C54rcYfn/Nyk1e4qw9wqTkRwLgu9NwSgbCQxmnAHpVR99qlF1kjbGHWKraVLEYIGi8cavvQR5I1e3 tVQH+zgxLPqWFM6H54BPb2DddjWvsCuTJZcrxkuR4Y9D9g5jNVn7vLmX1NNoALNdv0KuGav/a4XKU UDgKVp++MbSi5qH9SPwd83nG+ogU6xR01fsdYc7QctO5/RTTInupqEOaTW6+iYzHjl7dKbb+T6RBq s9gmU8oPx370Pbr2w0O0QnbPbJOq6asd6jHg0uz6vxbJr04oxmhjbWGaA0uJm/Mu4tKkDjaitBMJY OU4s2Atdm3rxGK7rZMsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwfIE-00HP4Y-LD; Fri, 25 Jun 2021 06:26:22 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwfIA-00HP2R-HK; Fri, 25 Jun 2021 06:26:21 +0000 X-UUID: 33fe199a7e2e4ad19e3b25717ebef6bf-20210624 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=gbrYq07dAzm8K9NW7hLU0ClCxJK/K27I+6hS1itqntk=; b=pxmKFZmpK+BQ2dXidfedmrPCvyfG9pDbGcFDbxviG25ip6+JE6SLUCdKP7KY+n+pJUFQZYVhZNscokw9fuR4hh+cMPfHew0L97ZTSbOx9tTbMzCyN7fYX4JPVs4BvTfGt+oCHy4nUwB/JPcbnhduT8ZNJGnGaK42h0+HV9wdsjo=; X-UUID: 33fe199a7e2e4ad19e3b25717ebef6bf-20210624 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 267249273; Thu, 24 Jun 2021 23:26:13 -0700 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Jun 2021 23:16:10 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Jun 2021 14:16:03 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 25 Jun 2021 14:15:55 +0800 From: Rocco Yue To: Greg KH CC: "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , , , , , , , , , , Rocco Yue Subject: Re: [PATCH 1/4] net: if_arp: add ARPHRD_PUREIP type Date: Fri, 25 Jun 2021 14:01:07 +0800 Message-ID: <20210625060107.14098-1-rocco.yue@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_232620_093224_928804FF X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org > Does changelog mean adding these details to the commit message ? > > Yes please. > will do. > > > And are these user-visable flags documented in a man page or something > > > else somewhere? If not, how does userspace know about them? > > > > > > > There are mappings of these device types value in the libc: > > "/bionic/libc/kernel/uapi/linux/if_arp.h". > > userspace can get it from here. > > Yes, they will show up in a libc definition, but where is it documented > in text form what the flag does? Judging from the changes of ARPHRD_xxx submitted before, I am sorry I could not find the corresponding doucuments to describe their respective behaviors in details. Perhaps the best way to understand their behaviors is to read the code directly. Thanks, Rocco _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9026C2B9F4 for ; Fri, 25 Jun 2021 06:28:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A541A6141C for ; Fri, 25 Jun 2021 06:28:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A541A6141C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5OYmN3qXvvowyUWmaoreH/n4m6nM950DZ7s9KA3FU6M=; b=Iv8jcpknKcGEmv chqCVGIwADFfHG1Xl2MbdYKUFuh7g5tKuTfc/bwzhdwAfEfC8SG2At8A6dec8OTTw8GtvKwr7h30I x0Xwehz0lqtnTp+snNzgFQ367i75rR1hXNqft/It0glcVJcHyGrYalfjnyzOJhDmxHDQHfRU8ZVJT Gsdqw/YwY0qdhKieESfdHxCYFHePo/kMsJGDkFXyAr4hqVvf1s+sWaOik8h7t2GeCjSC+Z9OXKf+G XQSkXCU+xjFUEaOU2lCWPqXhQxsYjMpnmYoIyEQOu9S0tRAMkRpLfj6l/5nre/TmQhcT2r3Exilx9 iEE3KrR87H0a4V/eL6jQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwfIG-00HP51-QB; Fri, 25 Jun 2021 06:26:25 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwfIA-00HP2R-HK; Fri, 25 Jun 2021 06:26:21 +0000 X-UUID: 33fe199a7e2e4ad19e3b25717ebef6bf-20210624 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=gbrYq07dAzm8K9NW7hLU0ClCxJK/K27I+6hS1itqntk=; b=pxmKFZmpK+BQ2dXidfedmrPCvyfG9pDbGcFDbxviG25ip6+JE6SLUCdKP7KY+n+pJUFQZYVhZNscokw9fuR4hh+cMPfHew0L97ZTSbOx9tTbMzCyN7fYX4JPVs4BvTfGt+oCHy4nUwB/JPcbnhduT8ZNJGnGaK42h0+HV9wdsjo=; X-UUID: 33fe199a7e2e4ad19e3b25717ebef6bf-20210624 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 267249273; Thu, 24 Jun 2021 23:26:13 -0700 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Jun 2021 23:16:10 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Jun 2021 14:16:03 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 25 Jun 2021 14:15:55 +0800 From: Rocco Yue To: Greg KH CC: "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , , , , , , , , , , Rocco Yue Subject: Re: [PATCH 1/4] net: if_arp: add ARPHRD_PUREIP type Date: Fri, 25 Jun 2021 14:01:07 +0800 Message-ID: <20210625060107.14098-1-rocco.yue@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_232620_093224_928804FF X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > Does changelog mean adding these details to the commit message ? > > Yes please. > will do. > > > And are these user-visable flags documented in a man page or something > > > else somewhere? If not, how does userspace know about them? > > > > > > > There are mappings of these device types value in the libc: > > "/bionic/libc/kernel/uapi/linux/if_arp.h". > > userspace can get it from here. > > Yes, they will show up in a libc definition, but where is it documented > in text form what the flag does? Judging from the changes of ARPHRD_xxx submitted before, I am sorry I could not find the corresponding doucuments to describe their respective behaviors in details. Perhaps the best way to understand their behaviors is to read the code directly. Thanks, Rocco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel