From: Or Gerlitz <gerlitz...@gmail.com> Date: Wed, 24 Feb 2016 22:06:25 +0200
> On Wed, Feb 24, 2016 at 6:26 AM, Jeff Kirsher > <jeffrey.t.kirs...@intel.com> wrote: >> From: Gangfeng Huang <gangfeng.hu...@ni.com> > >> This patch create a character device for Intel I210 Ethernet controller, > > wait, do we want L2 network driver to create char devices > >> it can be used for developing Audio/Video Bridging applications,Industrial >> Ethernet applications which require precise timing control over frame >> transmission, or test harnesses for measuring system latencies and sampling >> events. > > for various reasons such as the above? This is definitely not the direction to go for such a facility. Character devices make no sense at all, and are an invitation for ad-hoc user interfaces for what should be a generic and clean facility. There is no reason we cannot provide this facility with extensions of traditional networking APIs such as netlink or recvmsg/sendmsg over a raw or AF_PACKET socket. If there has been a lot of work, time and effort put into this character device solution then that's too bad. Because anything that ends up being user facing should have been proposed here on netdev from the start. I'm not applying this, no way.