Re: [dpdk-dev] [PATCH v8 2/4] unci: add kernel control path kernel module

2017-06-30 Thread Ferruh Yigit
On 6/21/2017 4:23 PM, Stephen Hemminger wrote: > On Wed, 21 Jun 2017 12:06:49 +0100 > Ferruh Yigit wrote: > >> +static struct ethtool_input_buffer { >> +int magic; >> +void *buffer; >> +size_t length; >> +struct completion *msg_received; >> +int *err; >> +u32 in_use; >> +}

Re: [dpdk-dev] [PATCH v8 2/4] unci: add kernel control path kernel module

2017-06-21 Thread Stephen Hemminger
On Wed, 21 Jun 2017 12:06:49 +0100 Ferruh Yigit wrote: > +static struct ethtool_input_buffer { > + int magic; > + void *buffer; > + size_t length; > + struct completion *msg_received; > + int *err; > + u32 in_use; > +} ethtool_input_buffer Naming in kernel is important. T

[dpdk-dev] [PATCH v8 2/4] unci: add kernel control path kernel module

2017-06-21 Thread Ferruh Yigit
This kernel module is based on KNI module, but this one is stripped version of it and only for control messages, no data transfer functionality provided. This Linux kernel module helps userspace application create virtual interfaces and when a control command issued into that virtual interface, mo