FreeBSD kernel BXE device code
|
#include <ecore_sp.h>
Definition at line 1005 of file ecore_sp.h.
struct { ... } ecore_mcast_obj::aprox_match |
bool(* ecore_mcast_obj::check_pending) (struct ecore_mcast_obj *o) |
Checks if there are more mcast MACs to be set or a previous command is still pending.
Definition at line 1076 of file ecore_sp.h.
Referenced by bxe_handle_mcast_eqe(), and ecore_init_mcast_obj().
bool(* ecore_mcast_obj::check_sched) (struct ecore_mcast_obj *o) |
Definition at line 1083 of file ecore_sp.h.
Referenced by ecore_config_mcast(), ecore_init_mcast_obj(), and ecore_mcast_check_pending().
void(* ecore_mcast_obj::clear_sched) (struct ecore_mcast_obj *o) |
Definition at line 1082 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_setup_e1(), and ecore_mcast_setup_e2().
int(* ecore_mcast_obj::config_mcast) (struct bxe_softc *sc, struct ecore_mcast_ramrod_params *p, enum ecore_mcast_cmd cmd) |
cmd | command to execute (ECORE_MCAST_CMD_X, see above) |
Definition at line 1046 of file ecore_sp.h.
Referenced by ecore_config_mcast(), and ecore_init_mcast_obj().
uint8_t ecore_mcast_obj::engine_id |
Definition at line 1041 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), and ecore_mcast_set_one_rule_e2().
int(* ecore_mcast_obj::enqueue_cmd) (struct bxe_softc *sc, struct ecore_mcast_obj *o, struct ecore_mcast_ramrod_params *p, enum ecore_mcast_cmd cmd) |
Definition at line 1064 of file ecore_sp.h.
Referenced by ecore_config_mcast(), and ecore_init_mcast_obj().
struct { ... } ecore_mcast_obj::exact_match |
int(* ecore_mcast_obj::get_registry_size) (struct ecore_mcast_obj *o) |
Definition at line 1104 of file ecore_sp.h.
Referenced by ecore_config_mcast(), ecore_init_mcast_obj(), ecore_mcast_validate_e1(), and ecore_mcast_validate_e2().
int(* ecore_mcast_obj::hdl_restore) (struct bxe_softc *sc, struct ecore_mcast_obj *o, int start_bin, int *rdata_idx) |
Fills the ramrod data during the RESTORE flow.
sc | |
o | |
start_idx | Registry index to start from |
rdata_idx | Index in the ramrod data to start from |
Definition at line 1061 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_handle_current_cmd(), ecore_mcast_handle_pending_cmds_e1(), and ecore_mcast_hdl_pending_restore_e2().
ecore_list_t ecore_mcast_obj::macs |
Definition at line 1022 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_handle_restore_cmd_e1(), and ecore_mcast_refresh_registry_e1().
int ecore_mcast_obj::max_cmd_len |
Definition at line 1034 of file ecore_sp.h.
Referenced by ecore_config_mcast(), ecore_init_mcast_obj(), ecore_mcast_handle_pending_cmds_e2(), ecore_mcast_handle_restore_cmd_e2(), ecore_mcast_hdl_pending_add_e2(), ecore_mcast_hdl_pending_del_e2(), ecore_mcast_revert_e1(), ecore_mcast_setup_e1(), ecore_mcast_setup_e2(), and ecore_mcast_validate_e1().
int ecore_mcast_obj::num_bins_set |
Number of BINs to clear. Should be updated immediately when a command arrives in order to properly create DEL commands.
Definition at line 1018 of file ecore_sp.h.
Referenced by ecore_mcast_get_registry_size_aprox(), and ecore_mcast_set_registry_size_aprox().
int ecore_mcast_obj::num_macs_set |
Definition at line 1023 of file ecore_sp.h.
Referenced by ecore_mcast_get_registry_size_exact(), and ecore_mcast_set_registry_size_exact().
ecore_list_t ecore_mcast_obj::pending_cmds_head |
Definition at line 1028 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_enqueue_cmd(), ecore_mcast_handle_pending_cmds_e1(), ecore_mcast_handle_pending_cmds_e2(), ecore_mcast_setup_e1(), and ecore_mcast_setup_e2().
struct ecore_raw_obj ecore_mcast_obj::raw |
Definition at line 1006 of file ecore_sp.h.
Referenced by bxe_handle_mcast_eqe(), ecore_config_mcast(), ecore_init_mcast_obj(), ecore_mcast_check_pending(), ecore_mcast_check_sched(), ecore_mcast_clear_sched(), ecore_mcast_get_rx_tx_flag(), ecore_mcast_refresh_registry_e1(), ecore_mcast_set_one_rule_e1(), ecore_mcast_set_one_rule_e2(), ecore_mcast_set_rdata_hdr_e1(), ecore_mcast_set_rdata_hdr_e2(), ecore_mcast_set_sched(), ecore_mcast_setup_e1(), ecore_mcast_setup_e1h(), ecore_mcast_setup_e2(), and ecore_mcast_wait().
union { ... } ecore_mcast_obj::registry |
Referenced by ecore_init_mcast_obj(), ecore_mcast_clear_first_bin(), ecore_mcast_get_next_bin(), ecore_mcast_get_registry_size_aprox(), ecore_mcast_get_registry_size_exact(), ecore_mcast_handle_restore_cmd_e1(), ecore_mcast_hdl_add_e1h(), ecore_mcast_refresh_registry_e1(), ecore_mcast_refresh_registry_e2(), ecore_mcast_set_one_rule_e2(), ecore_mcast_set_registry_size_aprox(), ecore_mcast_set_registry_size_exact(), and ecore_mcast_setup_e1h().
void(* ecore_mcast_obj::revert) (struct bxe_softc *sc, struct ecore_mcast_ramrod_params *p, int old_num_bins) |
Restore the values of internal counters in case of a failure.
Definition at line 1100 of file ecore_sp.h.
Referenced by ecore_config_mcast(), and ecore_init_mcast_obj().
int ecore_mcast_obj::sched_state |
Definition at line 1031 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_check_sched(), ecore_mcast_clear_sched(), ecore_mcast_set_sched(), and ecore_mcast_wait().
void(* ecore_mcast_obj::set_one_rule) (struct bxe_softc *sc, struct ecore_mcast_obj *o, int idx, union ecore_mcast_config_data *cfg_data, enum ecore_mcast_cmd cmd) |
Definition at line 1068 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_handle_pending_cmds_e1(), ecore_mcast_handle_restore_cmd_e1(), ecore_mcast_handle_restore_cmd_e2(), ecore_mcast_hdl_add(), ecore_mcast_hdl_del(), ecore_mcast_hdl_pending_add_e2(), and ecore_mcast_hdl_pending_del_e2().
void(* ecore_mcast_obj::set_registry_size) (struct ecore_mcast_obj *o, int n) |
Definition at line 1105 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), ecore_mcast_refresh_registry_e2(), ecore_mcast_revert_e1(), ecore_mcast_revert_e2(), ecore_mcast_validate_e1(), and ecore_mcast_validate_e2().
void(* ecore_mcast_obj::set_sched) (struct ecore_mcast_obj *o) |
Set/Clear/Check SCHEDULED state of the object
Definition at line 1081 of file ecore_sp.h.
Referenced by ecore_init_mcast_obj(), and ecore_mcast_enqueue_cmd().
int ecore_mcast_obj::total_pending_num |
Definition at line 1039 of file ecore_sp.h.
Referenced by ecore_config_mcast(), ecore_mcast_revert_e1(), ecore_mcast_revert_e2(), ecore_mcast_setup_e1(), ecore_mcast_setup_e2(), ecore_mcast_validate_e1(), and ecore_mcast_validate_e2().
int(* ecore_mcast_obj::validate) (struct bxe_softc *sc, struct ecore_mcast_ramrod_params *p, enum ecore_mcast_cmd cmd) |
Handle the internal object counters needed for proper commands handling. Checks that the provided parameters are feasible.
Definition at line 1093 of file ecore_sp.h.
Referenced by ecore_config_mcast(), and ecore_init_mcast_obj().
uint64_t ecore_mcast_obj::vec[ECORE_MCAST_VEC_SZ] |
Definition at line 1012 of file ecore_sp.h.
Referenced by ecore_mcast_clear_first_bin(), ecore_mcast_get_next_bin(), ecore_mcast_hdl_add_e1h(), ecore_mcast_refresh_registry_e2(), ecore_mcast_set_one_rule_e2(), and ecore_mcast_setup_e1h().
int(* ecore_mcast_obj::wait_comp) (struct bxe_softc *sc, struct ecore_mcast_obj *o) |
Definition at line 1086 of file ecore_sp.h.
Referenced by ecore_config_mcast(), and ecore_init_mcast_obj().