Skip to content

improve tap behavior

Pascal Mazon dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v25 patches 0 repliesSuperseded
  3. v15 patches 1 replySuperseded

Changes in v3 from the cover letter

- rebase on top of next-net/master

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net/tap: add debug messagesdrivers/net/tap/rte_eth_tap.c+24 -130 replies
2/5net/tap: remove unnecessary functionsdrivers/net/tap/rte_eth_tap.c+4 -220 replies
3/5net/tap: drop unnecessary nested blockdrivers/net/tap/rte_eth_tap.c+15 -190 replies
4/5net/tap: create netdevice during probingdrivers/net/tap/rte_eth_tap.c+115 -1020 replies
5/5net/tap: do not set remote MAC if not necessarydrivers/net/tap/rte_eth_tap.c+9 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] improve tap behavior

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.

v3 changes:
- rebase on top of next-net/master

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(-)
Signature · 1 line
2.12.0.306.g4a9b9b3