diff options
| author | Qi Zhang <[email protected]> | 2021-03-09 03:08:10 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-03-22 18:32:12 +0000 |
| commit | d6218317e2eff8b3762f437da582ea970cde576e (patch) | |
| tree | f720fc3c4414388a204052018ac4686eb3ab554c /net/lapb/lapb_iface.c | |
| parent | ice: Add more FDIR filter type for AVF (diff) | |
| download | kernel-d6218317e2eff8b3762f437da582ea970cde576e.tar.gz kernel-d6218317e2eff8b3762f437da582ea970cde576e.zip | |
ice: Check FDIR program status for AVF
Enable 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 <[email protected]>
Signed-off-by: Brett Creeley <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Qi Zhang <[email protected]>
Tested-by: Chen Bo <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
