[v5,0/9] kni: fixes and cleanups
mbox series

Message ID 20190620192048.13814-1-stephen@networkplumber.org
Headers show
Series
  • kni: fixes and cleanups
Related show

Message

Stephen Hemminger June 20, 2019, 7:20 p.m. UTC
While testing KNI with netvsc, saw lots of places more code
could be safely removed from KNI kernel driver.

v5 - add minimal ethtool, fix checkpath author complaints
v4 - add more style fixes
v3 - rebase to current master, add style fix patch
v2 - get rid of unnecessary padding, combine the unused field patches

Stephen Hemminger (9):
  kni: don't need stubs for rx_mode or ioctl
  kni: use netdev_alloc_skb
  kni: don't keep stats in kni_net
  kni: drop unused fields
  kni: use proper type for kni fifo's
  kni: return -EFAULT if copy_from_user fails
  doc: update KNI documentation
  kni: fix style issues
  kni: add minimal ethtool

 .../sample_app_ug/kernel_nic_interface.rst    |  18 ++--
 kernel/linux/kni/kni_dev.h                    |  20 ++--
 kernel/linux/kni/kni_misc.c                   |  18 ++--
 kernel/linux/kni/kni_net.c                    | 100 +++++++-----------
 lib/librte_kni/rte_kni.c                      |  38 +++----
 5 files changed, 78 insertions(+), 116 deletions(-)