FreeBSD kernel BXE device code
|
#include <ecore_sp.h>
Definition at line 652 of file ecore_sp.h.
int ecore_exe_queue_obj::exe_chunk_len |
Definition at line 662 of file ecore_sp.h.
Referenced by ecore_exe_queue_init(), and ecore_exe_queue_step().
ecore_list_t ecore_exe_queue_obj::exe_queue |
Definition at line 654 of file ecore_sp.h.
Referenced by ecore_exe_queue_add(), ecore_exe_queue_empty(), ecore_exe_queue_init(), ecore_exe_queue_length(), ecore_exe_queue_step(), ecore_exeq_get_mac(), ecore_exeq_get_vlan(), ecore_exeq_get_vlan_mac(), ecore_exeq_get_vxlan_fltr(), ecore_optimize_vlan_mac(), and ecore_vlan_mac_del_all().
exe_q_execute ecore_exe_queue_obj::execute |
Run the next commands chunk (owner specific).
Definition at line 694 of file ecore_sp.h.
Referenced by ecore_exe_queue_init(), and ecore_exe_queue_step().
exe_q_get ecore_exe_queue_obj::get |
Return the exe_queue element containing the specific command if any. Otherwise return NULL.
Definition at line 700 of file ecore_sp.h.
Referenced by ecore_exe_queue_init(), ecore_optimize_vlan_mac(), ecore_validate_vlan_mac_add(), ecore_validate_vlan_mac_del(), and ecore_validate_vlan_mac_move().
ECORE_MUTEX_SPIN ecore_exe_queue_obj::lock |
Definition at line 659 of file ecore_sp.h.
Referenced by __ecore_vlan_mac_execute_step(), ecore_complete_vlan_mac(), ecore_exe_queue_add(), ecore_exe_queue_init(), ecore_exe_queue_length(), ecore_vlan_mac_del_all(), ecore_vlan_mac_h_read_lock(), ecore_vlan_mac_h_read_unlock(), and ecore_vlan_mac_h_write_unlock().
exe_q_optimize ecore_exe_queue_obj::optimize |
This will try to cancel the current pending commands list considering the new command.
Returns the number of optimized commands or a negative error code
Must run under exe_queue->lock
Definition at line 689 of file ecore_sp.h.
Referenced by ecore_exe_queue_add(), and ecore_exe_queue_init().
union ecore_qable_obj* ecore_exe_queue_obj::owner |
Definition at line 664 of file ecore_sp.h.
Referenced by ecore_exe_queue_add(), ecore_exe_queue_init(), ecore_exe_queue_step(), and ecore_vlan_mac_del_all().
ecore_list_t ecore_exe_queue_obj::pending_comp |
Definition at line 657 of file ecore_sp.h.
Referenced by __ecore_exe_queue_reset_pending(), ecore_exe_queue_empty(), ecore_exe_queue_init(), and ecore_exe_queue_step().
exe_q_remove ecore_exe_queue_obj::remove |
Called before removing pending commands, cleaning allocated resources (e.g., credits from validate)
Definition at line 679 of file ecore_sp.h.
Referenced by ecore_exe_queue_init(), and ecore_vlan_mac_del_all().
exe_q_validate ecore_exe_queue_obj::validate |
Called before commands execution for commands that are really going to be executed (after 'optimize').
Must run under exe_queue->lock
Definition at line 673 of file ecore_sp.h.
Referenced by ecore_exe_queue_add(), and ecore_exe_queue_init().