Thread (33 messages) flat view 33 messages, 8 authors, 2016-06-22

Re: [PATCH net-next 12/18] IB/mlx5: Add kernel offload flow-tag

From: Or Gerlitz <hidden>
Date: 2016-06-21 15:57:49

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help