> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of > Alexander Lobakin > Sent: Wednesday, August 21, 2024 3:21 PM > To: Greenwalt, Paul <paul.greenw...@intel.com> > Cc: pmen...@molgen.mpg.de; intel-wired-...@lists.osuosl.org > Subject: Re: [Intel-wired-lan] [PATCH iwl-next v5] ice: add E830 HW VF mailbox > message limit support > > From: Paul Greenwalt <paul.greenw...@intel.com> > Date: Tue, 20 Aug 2024 17:26:16 -0400 > > > E830 adds hardware support to prevent the VF from overflowing the PF > > mailbox with VIRTCHNL messages. E830 will use the hardware feature > > (ICE_F_MBX_LIMIT) instead of the software solution ice_is_malicious_vf(). > > > > To prevent a VF from overflowing the PF, the PF sets the number of > > messages per VF that can be in the PF's mailbox queue > > (ICE_MBX_OVERFLOW_WATERMARK). When the PF processes a message from > a > > VF, the PF decrements the per VF message count using the > > E830_MBX_VF_DEC_TRIG register. > > > > Signed-off-by: Paul Greenwalt <paul.greenw...@intel.com> > > Reviewed-by: Alexander Lobakin <aleksander.loba...@intel.com> > > Thanks, > Olek
Tested-by: Rafal Romanowski <rafal.romanow...@intel.com>