[dpdk-dev] [PATCH v3 0/8] kni: fixes and cleanups

Stephen Hemminger stephen at networkplumber.org
Tue Jun 18 18:16:28 CEST 2019


While testing KNI with netvsc, saw lots of places more code
could be safely removed from KNI kernel driver.

v3 - rebase to current master, add style fix patch
v2 - get rid of unnecessary padding, combine the unused field patches

Stephen Hemminger (8):
  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

 .../sample_app_ug/kernel_nic_interface.rst    | 18 ++---
 kernel/linux/kni/kni_dev.h                    | 18 ++---
 kernel/linux/kni/kni_misc.c                   | 17 ++--
 kernel/linux/kni/kni_net.c                    | 79 +++++--------------
 lib/librte_kni/rte_kni.c                      | 30 +++----
 5 files changed, 53 insertions(+), 109 deletions(-)

-- 
2.20.1



More information about the dev mailing list