net/i40e: add PF MDD event handler
authorTao Zhu <taox.zhu@intel.com>
Fri, 17 Jan 2020 14:35:56 +0000 (14:35 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:59:19 +0000 (19:59 +0100)
commit9accffad65938dea6a2bfdc28a30ad1ccad24112
treebce5365092194c888227a98bce1770bf44c1740e
parentd13a7447a131a3a7078caf1d14e674e8add1d0a5
net/i40e: add PF MDD event handler

Add warning and counter to handle the malicious driver detection (MDD)
event.
When the hardware determines that a malicious driver on VF, this VF will
become unworkable, the PF records and gives a warning message.

Signed-off-by: Tao Zhu <taox.zhu@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
doc/guides/nics/i40e.rst
doc/guides/rel_notes/release_20_02.rst
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h