From: Jacob Keller <jacob.e.keller@intel.com>
To: Vladimir Oltean <vladimir.oltean@nxp.com>,
Max Georgiev <glipus@gmail.com>
Cc: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>, "Andrew Lunn" <andrew@lunn.ch>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Horatiu Vultur" <horatiu.vultur@microchip.com>,
"Köry Maincent" <kory.maincent@bootlin.com>,
"Maxime Chevallier" <maxime.chevallier@bootlin.com>,
"Richard Cochran" <richardcochran@gmail.com>,
"Vadim Fedorenko" <vadim.fedorenko@linux.dev>,
"Gerhard Engleder" <gerhard@engleder-embedded.com>,
"Hangbin Liu" <liuhangbin@gmail.com>,
"Russell King" <linux@armlinux.org.uk>,
"Heiner Kallweit" <hkallweit1@gmail.com>,
"Jay Vosburgh" <j.vosburgh@gmail.com>,
"Andy Gospodarek" <andy@greyhouse.net>,
"Wei Fang" <wei.fang@nxp.com>,
"Shenwei Wang" <shenwei.wang@nxp.com>,
"Clark Wang" <xiaoning.wang@nxp.com>,
"NXP Linux Team" <linux-imx@nxp.com>,
UNGLinuxDriver@microchip.com,
"Lars Povlsen" <lars.povlsen@microchip.com>,
"Steen Hegelund" <Steen.Hegelund@microchip.com>,
"Daniel Machon" <daniel.machon@microchip.com>,
"Simon Horman" <simon.horman@corigine.com>,
"Casper Andersson" <casper.casan@gmail.com>,
"Sergey Organov" <sorganov@gmail.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 net-next 00/10] Introduce ndo_hwtstamp_get() and ndo_hwtstamp_set()
Date: Mon, 17 Jul 2023 13:23:02 -0700 [thread overview]
Message-ID: <5f8da155-736e-cdd8-35bf-0f68385c6117@intel.com> (raw)
In-Reply-To: <20230717112534.nhy7ldeer42r4rz3@skbuf>
On 7/17/2023 4:25 AM, Vladimir Oltean wrote:
> Hi Maxim,
>
> On Sun, Jul 16, 2023 at 07:22:23PM -0600, Max Georgiev wrote:
>> Vladimir, thank you for taking over and improving this patch stack!
>>
>> I see you dropped the netdevsim patch:
>> https://www.spinics.net/lists/netdev/msg901378.html
>> Do you believe it's not useful any more since the rest of the
>> patches in the stack were tested through other means?
>
> I just didn't consider that adding mock hardware timestamping support to
> netdevsim was necessary or useful, considering the number of other driver
> conversions that will have to be submitted. Just an extra, avoidable effort
> for me.
FWIW I think its unnecessary as well.
I read through the implementation and noticed that it also used the
.get_ts_info callback by directly reporting whatever type and filter was
set via SIOCSHWTSTAMP, rather than reporting some device capability.
Obviously as a mock device there is no real capability, and that was
likely done for testing purposes. However, it would still leave the
kernel with an implementation that does not follow the expected rules
for these ioctls.
For a mock device thats not really an issue. However, I'd prefer to
avoid such in the kernel so that its not available for copying when
someone without such knowledge comes along to write a new driver.
next prev parent reply other threads:[~2023-07-17 20:23 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 12:18 [PATCH v7 net-next 00/10] Introduce ndo_hwtstamp_get() and ndo_hwtstamp_set() Vladimir Oltean
2023-07-13 12:18 ` [PATCH v7 net-next 01/10] net: add NDOs for configuring hardware timestamping Vladimir Oltean
2023-07-13 12:18 ` [PATCH v7 net-next 02/10] net: add hwtstamping helpers for stackable net devices Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 03/10] net: vlan: convert to ndo_hwtstamp_get() / ndo_hwtstamp_set() Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 04/10] net: macvlan: " Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 05/10] net: bonding: " Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 06/10] net: fec: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() Vladimir Oltean
2023-07-14 3:05 ` Wei Fang
2023-07-14 8:47 ` Russell King (Oracle)
2023-07-14 9:08 ` Wei Fang
2023-07-13 12:19 ` [PATCH v7 net-next 07/10] net: fec: delete fec_ptp_disable_hwts() Vladimir Oltean
2023-07-14 3:06 ` Wei Fang
2023-07-13 12:19 ` [PATCH v7 net-next 08/10] net: sparx5: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 09/10] net: lan966x: " Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 10/10] net: remove phy_has_hwtstamp() -> phy_mii_ioctl() decision from converted drivers Vladimir Oltean
2023-07-14 2:50 ` Jakub Kicinski
2023-07-13 21:50 ` [PATCH v7 net-next 00/10] Introduce ndo_hwtstamp_get() and ndo_hwtstamp_set() Jacob Keller
2023-07-13 22:33 ` Vladimir Oltean
2023-07-13 22:36 ` Jacob Keller
2023-07-14 8:00 ` Horatiu Vultur
2023-07-17 11:29 ` Vladimir Oltean
2023-07-17 1:22 ` Max Georgiev
2023-07-17 11:25 ` Vladimir Oltean
2023-07-17 20:23 ` Jacob Keller [this message]
2023-07-18 3:28 ` Richard Cochran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5f8da155-736e-cdd8-35bf-0f68385c6117@intel.com \
--to=jacob.e.keller@intel.com \
--cc=Steen.Hegelund@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew@lunn.ch \
--cc=andy@greyhouse.net \
--cc=casper.casan@gmail.com \
--cc=daniel.machon@microchip.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=gerhard@engleder-embedded.com \
--cc=glipus@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=horatiu.vultur@microchip.com \
--cc=j.vosburgh@gmail.com \
--cc=kory.maincent@bootlin.com \
--cc=kuba@kernel.org \
--cc=lars.povlsen@microchip.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=liuhangbin@gmail.com \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=shenwei.wang@nxp.com \
--cc=simon.horman@corigine.com \
--cc=sorganov@gmail.com \
--cc=vadim.fedorenko@linux.dev \
--cc=vladimir.oltean@nxp.com \
--cc=wei.fang@nxp.com \
--cc=xiaoning.wang@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox