[dpdk-dev] [PATCH 0/5] improve tap behavior

Pascal Mazon pascal.mazon at 6wind.com
Tue Apr 18 10:17:52 CEST 2017


The tap does not behave properly in some cases.

It is generally expected that a real device should be available once the
probing has been done.

It is also better to check if an operation (here, setting MAC) is
mandatory before performing it. Typically in cases where the remote
netdevice is a VF with limited capabilities.

This series ensures that the tap works more logically.

v2 changes:
  - fix uninitialized fd variable

Pascal Mazon (5):
  net/tap: add debug messages
  net/tap: remove unnecessary functions
  net/tap: drop unnecessary nested block
  net/tap: create netdevice during probing
  net/tap: do not set remote MAC if not necessary

 drivers/net/tap/rte_eth_tap.c | 301 +++++++++++++++++++++---------------------
 1 file changed, 154 insertions(+), 147 deletions(-)

-- 
2.12.0.306.g4a9b9b3



More information about the dev mailing list