All of lore.kernel.org
 help / color / mirror / Atom feed
From: luca.boccassi@gmail.com
To: dev@dpdk.org
Cc: wenzhuo.lu@intel.com, wei.dai@intel.com, remy.horton@intel.com
Subject: [PATCH 0/3] RFC: implement VF reset for i40e, e1000 and ixgbe
Date: Tue, 24 Oct 2017 14:16:27 +0100	[thread overview]
Message-ID: <20171024131630.16595-1-luca.boccassi@gmail.com> (raw)

From: Luca Boccassi <bluca@debian.org>

These patches were originally sent by Wenzhuo Lu:

http://dpdk.org/dev/patchwork/patch/14009/
http://dpdk.org/dev/patchwork/patch/14010/
http://dpdk.org/dev/patchwork/patch/14011/

The current rte_eth_dev_reset API does not correctly reset the VF
when the PF flaps on the host. With these patches, at least the ixgbe
driver with a X540 card (Linux kernel 4.9 on the host) appears to
work correctly.
The test is as simple ip link down/up on the host, and then check that
traffic still flows through the VF in the guest.

I am not an expert in these PMDs hence the RFC mark - I would like to
ask for feedback and help from the PMD maintainers and developers.

Thanks!

Luca Boccassi (3):
  net/i40e: implement VF reset
  net/e1000: implement VF reset
  net/ixgbe: implement VF reset

 drivers/net/e1000/igb_ethdev.c    | 59 ++++++++++++++++++++++++++++++++++++++
 drivers/net/i40e/i40e_ethdev.h    |  3 ++
 drivers/net/i40e/i40e_ethdev_vf.c | 56 +++++++++++++++++++++++++++++++++---
 drivers/net/i40e/i40e_rxtx.c      | 11 +++++++
 drivers/net/i40e/i40e_rxtx.h      |  4 +++
 drivers/net/ixgbe/ixgbe_ethdev.c  | 60 ++++++++++++++++++++++++++++++++++-----
 drivers/net/ixgbe/ixgbe_ethdev.h  |  2 +-
 drivers/net/ixgbe/ixgbe_rxtx.c    | 12 ++++++--
 8 files changed, 192 insertions(+), 15 deletions(-)

-- 
2.11.0

             reply	other threads:[~2017-10-24 13:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24 13:16 luca.boccassi [this message]
2017-10-24 13:16 ` [PATCH 1/3] net/i40e: implement VF reset luca.boccassi
2017-10-24 13:16 ` [PATCH 2/3] net/e1000: " luca.boccassi
2017-10-24 13:16 ` [PATCH 3/3] net/ixgbe: " luca.boccassi
2017-10-25  1:17 ` [PATCH 0/3] RFC: implement VF reset for i40e, e1000 and ixgbe Ferruh Yigit
2017-10-25 10:04   ` Luca Boccassi
2017-10-26  8:08 ` Dai, Wei
2017-10-26 10:43   ` Luca Boccassi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171024131630.16595-1-luca.boccassi@gmail.com \
    --to=luca.boccassi@gmail.com \
    --cc=dev@dpdk.org \
    --cc=remy.horton@intel.com \
    --cc=wei.dai@intel.com \
    --cc=wenzhuo.lu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.