Lines Matching full:mailbox

17  * Send message to VF driver (0x0802) using mailbox
86 /* The mailbox overflow detection algorithm helps to check if there
89 * 1. The mailbox snapshot structure, ice_mbx_snapshot, is initialized during
92 * messages within the mailbox queue while looking for a malicious VF.
94 * 2. When the caller starts processing its mailbox queue in response to an
120 * in ice_mbx_snapshot for every new mailbox interrupt handled.
129 * ice_mbx_reset_snapshot - Reset mailbox snapshot structure
130 * @snap: pointer to the mailbox snapshot
136 /* Clear mbx_buf in the mailbox snaphot structure and setting the in ice_mbx_reset_snapshot()
137 * mailbox snapshot state to a new capture. in ice_mbx_reset_snapshot()
148 * ice_mbx_traverse - Pass through mailbox snapshot
152 * Traversing the mailbox static snapshot without checking
164 /* As mailbox buffer is circular, applying a mask in ice_mbx_traverse()
170 * Condition-1: If the number of iterations in the mailbox is equal to in ice_mbx_traverse()
171 * the mailbox head which would indicate that we have reached the end in ice_mbx_traverse()
173 * Condition-2: If the maximum messages serviced in the mailbox for a in ice_mbx_traverse()
177 * to the maximum number of mailbox entries serviced in current work item. in ice_mbx_traverse()
188 * @vf_info: mailbox tracking structure for a VF
207 /* continue to iterate through the mailbox snapshot */ in ice_mbx_detect_malvf()
214 * ice_mbx_vf_dec_trig_e830 - Decrements the VF mailbox queue counter
220 * the buffers at the PF mailbox queue.
231 * ice_mbx_vf_clear_cnt_e830 - Clear the VF mailbox queue count
248 * @mbx_data: pointer to structure containing mailbox data
249 * @vf_info: mailbox tracking structure for the VF in question
256 * snapshot. The data from any previous mailbox snapshot is
257 * cleared and a new capture of the mailbox head and tail is
284 /* When entering the mailbox state machine assume that the VF in ice_mbx_vf_state_handler()
294 * set for the number of asynchronous messages a VF can send to mailbox in ice_mbx_vf_state_handler()
296 * mailbox serviced in current interrupt. in ice_mbx_vf_state_handler()
307 /* Clear any previously held data in mailbox snapshot structure. */ in ice_mbx_vf_state_handler()
312 * Mailbox for current interrupt. in ice_mbx_vf_state_handler()
318 /* Capture a new static snapshot of the mailbox by logging the in ice_mbx_vf_state_handler()
329 * mailbox queue. Comparing this value against the watermark in ice_mbx_vf_state_handler()
369 * ice_mbx_clear_malvf - Clear VF mailbox info
370 * @vf_info: the mailbox tracking structure for a VF
373 * current mailbox tracking state.
382 * ice_mbx_init_vf_info - Initialize a new VF mailbox tracking info
384 * @vf_info: the mailbox tracking info structure for a VF
386 * Initialize a VF mailbox tracking info structure and insert it into the
401 * ice_mbx_init_snapshot - Initialize mailbox snapshot data
404 * Clear the mailbox snapshot structure and initialize the VF mailbox list.