[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9dfdfcfd-3252-2c38-6c07-ae2d6eaa299a@mellanox.com>
Date: Tue, 21 Jun 2016 18:41:34 +0300
From: Or Gerlitz <ogerlitz@...lanox.com>
To: Eric Dumazet <edumazet@...gle.com>,
Saeed Mahameed <saeedm@....mellanox.co.il>
CC: Alexei Starovoitov <alexei.starovoitov@...il.com>,
Saeed Mahameed <saeedm@...lanox.com>,
"David S. Miller" <davem@...emloft.net>,
"Linux Netdev List" <netdev@...r.kernel.org>,
Doug Ledford <dledford@...hat.com>,
"Maor Gottlieb" <maorg@...lanox.com>,
Huy Nguyen <huyn@...lanox.com>, Tal Alon <talal@...lanox.com>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH net-next 12/18] IB/mlx5: Add kernel offload flow-tag
On 6/21/2016 6:18 PM, Eric Dumazet wrote:
> One solution would be to setup a special netdev used only for sniffers
> (No IP address on it)
>
> -> Only changes would happen in the driver, to set skb->dev to this
> 'debug' device.
Eric,
Yep, that was an option too, but when we realized that libpcap has the
means to add plug-in for non-netdevices (e.g usb, can devices and now we
are thinking to add one for uverbs), it means we can avoid adding tons
of pretty complex code into the kernel driver and happily have simpler
code is user-space, so... why not? will try that 1st.
Or.
Powered by blists - more mailing lists