[0/9] kni: cleanups and improvements
mbox series

Message ID 20190608002003.19942-1-stephen@networkplumber.org
Headers show
  • kni: cleanups and improvements
Related show


Stephen Hemminger June 8, 2019, 12:19 a.m. UTC
Going over using KNI with netvsc, saw lots of remove
for improvment (deleting code).

This is still mostly "putting lipstick on a pig" all users
would be better off using virtio_user rather than KNI.

Stephen Hemminger (9):
  kni: don't need stubs for rx_mode or ioctl
  kni: use netdev_alloc_skb
  kni: drop unused field
  kni: don't keep stats in kni_net
  kni: drop unused group_id and device_id
  kni: drop unused status element
  kni: use proper type for kni fifo's
  kni: return -EFAULT if copy_from_user fails
  doc: update KNI documentation

 .../sample_app_ug/kernel_nic_interface.rst    | 18 ++---
 kernel/linux/kni/kni_dev.h                    | 21 ++---
 kernel/linux/kni/kni_misc.c                   | 17 ++--
 kernel/linux/kni/kni_net.c                    | 79 +++++--------------
 4 files changed, 38 insertions(+), 97 deletions(-)