net/i40e: limit the number of VF messages
authorAlvin Zhang <alvinx.zhang@intel.com>
Tue, 24 Sep 2019 14:24:43 +0000 (22:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commit56270b4208ab7b6881ac9d8ed4ebb5bc6529715a
tree9dd1f697db776d7e795fc28d44f1c244ba7955b6
parent3ac83b1141cc9a636e0dc7cc23dcd1dc23b2df45
net/i40e: limit the number of VF messages

PF driver supports counting VF adminQ messages. If any VF driver
sends much more adminQ messages to its PF driver in a period of
time, it will trigger the PF's message limitation, then in the
next certain amount of seconds the PF driver will ignore any new
adminQ message from that VF.

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/nics/i40e.rst
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_pf.c