From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen, BoX C Date: Mon, 15 Mar 2021 08:22:21 +0000 Subject: [Intel-wired-lan] [Patch v5 13/18] ice: Check FDIR program status for AVF In-Reply-To: References: <20210309030815.5299-1-haiyue.wang@intel.com> <20210309030815.5299-14-haiyue.wang@intel.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > -----Original Message----- > From: Wang, Haiyue > Sent: March 15, 2021 16:22 > To: intel-wired-lan at lists.osuosl.org > Cc: Liang, Cunming ; Cao, Yahui > ; Zhang, Qi Z ; Chen, BoX C > > Subject: RE: [Intel-wired-lan] [Patch v5 13/18] ice: Check FDIR program status > for AVF > > > -----Original Message----- > > From: Intel-wired-lan On Behalf > > Of Haiyue Wang > > Sent: Tuesday, March 9, 2021 11:08 > > To: intel-wired-lan at lists.osuosl.org > > Cc: Liang, Cunming ; Cao, Yahui > > ; Zhang, Qi Z > > Subject: [Intel-wired-lan] [Patch v5 13/18] ice: Check FDIR program > > status for AVF > > > > From: Qi Zhang > > > > Enables returning FDIR completion status by checking the ctrl_vsi Rx > > queue descriptor value. > > > > To enable returning FDIR completion status from ctrl_vsi Rx queue, > > COMP_Queue and COMP_Report of FDIR filter programming descriptor > needs > > to be properly configured. After program request sent to ctrl_vsi Tx > > queue, ctrl_vsi Rx queue interrupt will be triggered and completion > > status will be returned. > > > > Driver will first issue request in ice_vc_fdir_add_fltr(), then pass > > FDIR context to the background task in interrupt service routine > > ice_vc_fdir_irq_handler() and finally deal with them in > > ice_flush_fdir_ctx(). ice_flush_fdir_ctx() will check the descriptor's > > value, fdir context, and then send back virtual channel message to VF > > by calling ice_vc_add_fdir_fltr_post(). An additional timer will be > > setup in case of hardware interrupt timeout. > > > > Signed-off-by: Yahui Cao > > Signed-off-by: Brett Creeley > > Signed-off-by: Jesse Brandeburg > > Signed-off-by: Qi Zhang > > --- > > Re-send to Bo, as a new member. > Tested-by: Chen Bo BRs, Chen Bo > > -- > > 2.30.1 > > > > _______________________________________________ > > Intel-wired-lan mailing list > > Intel-wired-lan at osuosl.org > > https://lists.osuosl.org/mailman/listinfo/intel-wired-lan