[dpdk-dev] [PATCH v3 0/2] i40evf: pf reset event report
On Fri, Feb 26, 2016 at 02:51:52PM +0800, Jingjing Wu wrote: > v3 changes: > - commit log doc rewording. > - rebase on latest dpdk-next-net/rel_16_04 branch. > - remove few useless line > - adjust interval and increase times for waiting pf msg > > v2 changes: > - remove the change on vf reset status checking > - add pf event report support in release note > > When Linux PF and DPDK VF are used for i40e PMD, In case of PF reset, > interrupt request will go via adminq event, VF need be informed, a callback > mechanism is introduced by VF. This will allow VF to invoke callback when > reset happens. > Users can register a callback for this interrupt event like: > rte_eth_dev_callback_register(portid, > RTE_ETH_EVENT_INTR_RESET, > reset_event_callback, > arg); > > Jingjing Wu (2): > i40evf: allocate virtchnl cmd buffer for each vf > i40evf: support to report pf reset event > > doc/guides/rel_notes/release_16_04.rst | 1 + > drivers/net/i40e/i40e_ethdev.h | 2 + > drivers/net/i40e/i40e_ethdev_vf.c | 420 > +++-- > lib/librte_ether/rte_ethdev.h | 1 + > 4 files changed, 301 insertions(+), 123 deletions(-) > > -- > 2.4.0 Acked-by: Zhe Tao
[dpdk-dev] [PATCH v3 0/2] i40evf: pf reset event report
On Fri, Feb 26, 2016 at 02:51:52PM +0800, Jingjing Wu wrote: > v3 changes: > - commit log doc rewording. > - rebase on latest dpdk-next-net/rel_16_04 branch. > - remove few useless line > - adjust interval and increase times for waiting pf msg > > v2 changes: > - remove the change on vf reset status checking > - add pf event report support in release note > > When Linux PF and DPDK VF are used for i40e PMD, In case of PF reset, > interrupt request will go via adminq event, VF need be informed, a callback > mechanism is introduced by VF. This will allow VF to invoke callback when > reset happens. > Users can register a callback for this interrupt event like: > rte_eth_dev_callback_register(portid, > RTE_ETH_EVENT_INTR_RESET, > reset_event_callback, > arg); > > Jingjing Wu (2): > i40evf: allocate virtchnl cmd buffer for each vf > i40evf: support to report pf reset event > > doc/guides/rel_notes/release_16_04.rst | 1 + > drivers/net/i40e/i40e_ethdev.h | 2 + > drivers/net/i40e/i40e_ethdev_vf.c | 420 > +++-- > lib/librte_ether/rte_ethdev.h | 1 + > 4 files changed, 301 insertions(+), 123 deletions(-) Hi Jingjing, I'm planning on merging this patch set into dpdk-next-net, but it doesn't apply cleanly. Can you perhaps rebase it on top of dpdk-next-net/rel_16_04 branch, and do a V4 keeping Helin's ack on each patch. Thanks, /Bruce
[dpdk-dev] [PATCH v3 0/2] i40evf: pf reset event report
v3 changes: - commit log doc rewording. - rebase on latest dpdk-next-net/rel_16_04 branch. - remove few useless line - adjust interval and increase times for waiting pf msg v2 changes: - remove the change on vf reset status checking - add pf event report support in release note When Linux PF and DPDK VF are used for i40e PMD, In case of PF reset, interrupt request will go via adminq event, VF need be informed, a callback mechanism is introduced by VF. This will allow VF to invoke callback when reset happens. Users can register a callback for this interrupt event like: rte_eth_dev_callback_register(portid, RTE_ETH_EVENT_INTR_RESET, reset_event_callback, arg); Jingjing Wu (2): i40evf: allocate virtchnl cmd buffer for each vf i40evf: support to report pf reset event doc/guides/rel_notes/release_16_04.rst | 1 + drivers/net/i40e/i40e_ethdev.h | 2 + drivers/net/i40e/i40e_ethdev_vf.c | 420 +++-- lib/librte_ether/rte_ethdev.h | 1 + 4 files changed, 301 insertions(+), 123 deletions(-) -- 2.4.0