INLINE
INLINE u_short fr_nextipid(fin)
INLINE void fr_checkv4sum(fin)
INLINE void fr_checkv6sum(fin)
int inlinelen = INLINE;
static INLINE uint32_t
static INLINE uint32_t
static INLINE boolean_t
#ifndef INLINE
#ifndef INLINE
static INLINE uint32_t
static INLINE uint32_t
#ifdef INLINE
#ifdef INLINE
static INLINE void frpr_tcpcommon(fin)
static INLINE void frpr_udpcommon(fin)
static INLINE void frpr_tcp(fin)
static INLINE void frpr_udp(fin)
static INLINE void frpr_esp(fin)
static INLINE void frpr_ah(fin)
static INLINE void frpr_gre(fin)
static INLINE void frpr_ipv4hdr(fin)
static INLINE int fr_portcheck(frp, pop)
static INLINE int fr_ipfcheck(fin, fr, portcmp)
static INLINE int fr_ipfcheck __P((fr_info_t *, frentry_t *, int));
static INLINE int fr_ipfcheck __P((fr_info_t *, frentry_t *, int));
static INLINE void frpr_ah __P((fr_info_t *));
static INLINE void frpr_esp __P((fr_info_t *));
static INLINE void frpr_gre __P((fr_info_t *));
static INLINE void frpr_udp __P((fr_info_t *));
static INLINE void frpr_tcp __P((fr_info_t *));
static INLINE void frpr_icmp __P((fr_info_t *));
static INLINE void frpr_ipv4hdr __P((fr_info_t *));
static INLINE int frpr_pullup __P((fr_info_t *, int));
static INLINE void frpr_short __P((fr_info_t *, int));
static INLINE void frpr_tcpcommon __P((fr_info_t *));
static INLINE void frpr_udpcommon __P((fr_info_t *));
static INLINE int fr_updateipid __P((fr_info_t *));
static INLINE void *fr_resolvelookup __P((u_int, u_int, lookupfunc_t *,
static INLINE int frpr_ah6 __P((fr_info_t *));
static INLINE void frpr_esp6 __P((fr_info_t *));
static INLINE void frpr_gre6 __P((fr_info_t *));
static INLINE void frpr_udp6 __P((fr_info_t *));
static INLINE void frpr_tcp6 __P((fr_info_t *));
static INLINE void frpr_icmp6 __P((fr_info_t *));
static INLINE void frpr_ipv6hdr __P((fr_info_t *));
static INLINE void frpr_short6 __P((fr_info_t *, int));
static INLINE int frpr_hopopts6 __P((fr_info_t *));
static INLINE int frpr_routing6 __P((fr_info_t *));
static INLINE int frpr_dstopts6 __P((fr_info_t *));
static INLINE int frpr_fragment6 __P((fr_info_t *));
static INLINE int frpr_ipv6exthdr __P((fr_info_t *, int, int));
static INLINE void frpr_short6(fin, xmin)
static INLINE void frpr_ipv6hdr(fin)
static INLINE int frpr_ipv6exthdr(fin, multiple, proto)
static INLINE int fr_updateipid(fin)
INLINE int fr_ioctlswitch(unit, data, cmd, mode, uid, ctx, ifs)
static INLINE int frpr_hopopts6(fin)
static INLINE int frpr_routing6(fin)
static INLINE int frpr_fragment6(fin)
static INLINE int frpr_dstopts6(fin)
static INLINE void frpr_icmp6(fin)
static INLINE void frpr_udp6(fin)
static INLINE void frpr_tcp6(fin)
static INLINE void frpr_esp6(fin)
static INLINE int frpr_ah6(fin)
static INLINE void frpr_gre6(fin)
static INLINE int frpr_pullup(fin, plen)
static INLINE void frpr_short(fin, xmin)
static INLINE void frpr_icmp(fin)
INLINE void fr_checkv4sum(fin)
INLINE void fr_checkv6sum(fin)
static INLINE int ipfr_index __P((fr_info_t *, ipfr_t *));
static INLINE int ipfr_index(fin, frag)
static INLINE int nat_newmap __P((fr_info_t *, nat_t *, natinfo_t *));
static INLINE int nat_newrdr __P((fr_info_t *, nat_t *, natinfo_t *));
static INLINE int nat_icmpquerytype4 __P((int));
static INLINE int nat_icmperrortype4 __P((int));
static INLINE int nat_finalise __P((fr_info_t *, nat_t *, natinfo_t *,
static INLINE int nat_resolverule __P((ipnat_t *, ipf_stack_t *));
static INLINE int nat_newmap(fin, nat, ni)
static INLINE int nat_newrdr(fin, nat, ni)
static INLINE int nat_finalise(fin, nat, ni, tcp, natsave, direction)
static INLINE int nat_icmpquerytype4(icmptype)
static INLINE int nat6_newmap __P((fr_info_t *, nat_t *, natinfo_t *));
static INLINE int nat6_newrdr __P((fr_info_t *, nat_t *, natinfo_t *));
static INLINE int nat6_finalise __P((fr_info_t *, nat_t *, natinfo_t *,
static INLINE int nat_icmpquerytype6 __P((int));
static INLINE int nat_icmpquerytype6(icmptype)
static INLINE int nat6_newmap(fin, nat, ni)
static INLINE int nat6_newrdr(fin, nat, ni)
static INLINE int nat6_finalise(fin, nat, ni, tcp, natsave, direction)
# ifndef INLINE
extern INLINE void ipf_read_enter __P((ipfrwlock_t *));
extern INLINE void ipf_write_enter __P((ipfrwlock_t *));
extern INLINE void ipf_rw_exit __P((ipfrwlock_t *));
extern INLINE void ipf_rw_downgrade __P((ipfrwlock_t *));
static INLINE u8 ecore_vlan_mac_get_rx_tx_flag(struct ecore_vlan_mac_obj *o)
static INLINE void ecore_vlan_mac_set_cmd_hdr_e2(struct _lm_device_t *pdev,
static INLINE void ecore_vlan_mac_set_rdata_hdr_e2(u32 cid, int type,
static INLINE void ecore_vlan_mac_set_rdata_hdr_e1x(struct _lm_device_t *pdev,
static INLINE void ecore_vlan_mac_set_cfg_entry_e1x(struct _lm_device_t *pdev,
static INLINE void ecore_vlan_mac_set_rdata_e1x(struct _lm_device_t *pdev,
static INLINE int ecore_validate_vlan_mac_add(struct _lm_device_t *pdev,
static INLINE int ecore_validate_vlan_mac_del(struct _lm_device_t *pdev,
static INLINE int ecore_validate_vlan_mac_move(struct _lm_device_t *pdev,
static INLINE int ecore_vlan_mac_get_registry_elem(
static INLINE int ecore_vlan_mac_push_new_cmd(
static INLINE void ecore_init_raw_obj(struct ecore_raw_obj *raw, u8 cl_id,
static INLINE void ecore_init_vlan_mac_common(struct ecore_vlan_mac_obj *o,
static INLINE void __storm_memset_mac_filters(struct _lm_device_t *pdev,
static INLINE void ecore_exe_queue_init(struct _lm_device_t *pdev,
static INLINE void ecore_rx_mode_set_rdata_hdr_e2(u32 cid,
static INLINE void ecore_rx_mode_set_cmd_state_e2(struct _lm_device_t *pdev,
static INLINE u8 ecore_mcast_bin_from_mac(u8 *mac)
static INLINE void ecore_exe_queue_free_elem(struct _lm_device_t *pdev,
static INLINE int ecore_mcast_get_next_bin(struct ecore_mcast_obj *o, int last)
static INLINE int ecore_mcast_clear_first_bin(struct ecore_mcast_obj *o)
static INLINE int ecore_exe_queue_length(struct ecore_exe_queue_obj *o)
static INLINE u8 ecore_mcast_get_rx_tx_flag(struct ecore_mcast_obj *o)
static INLINE int ecore_mcast_handle_restore_cmd_e2(
static INLINE void ecore_mcast_hdl_pending_add_e2(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_hdl_pending_del_e2(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_hdl_pending_restore_e2(struct _lm_device_t *pdev,
static INLINE int ecore_mcast_handle_pending_cmds_e2(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_hdl_add(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_hdl_del(struct _lm_device_t *pdev,
static INLINE int ecore_mcast_handle_current_cmd(struct _lm_device_t *pdev,
static INLINE int ecore_exe_queue_add(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_set_rdata_hdr_e2(struct _lm_device_t *pdev,
static INLINE int ecore_mcast_refresh_registry_e2(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_hdl_add_e1h(struct _lm_device_t *pdev,
static INLINE void ecore_mcast_hdl_restore_e1h(struct _lm_device_t *pdev,
static INLINE void __ecore_exe_queue_reset_pending(
static INLINE void ecore_mcast_set_rdata_hdr_e1(struct _lm_device_t *pdev,
static INLINE int ecore_mcast_handle_restore_cmd_e1(
static INLINE int ecore_mcast_handle_pending_cmds_e1(
static INLINE void ecore_get_fw_mac_addr(__le16 *fw_hi, __le16 *fw_mid,
static INLINE int ecore_mcast_refresh_registry_e1(struct _lm_device_t *pdev,
static INLINE int ecore_exe_queue_step(struct _lm_device_t *pdev,
static INLINE BOOL __atomic_add_ifless(atomic_t *v, int a, int u)
static INLINE BOOL __atomic_dec_ifmoe(atomic_t *v, int a, int u)
static INLINE void ecore_init_credit_pool(struct ecore_credit_pool_obj *p,
static INLINE BOOL ecore_exe_queue_empty(struct ecore_exe_queue_obj *o)
static INLINE struct ecore_exeq_elem *ecore_exe_queue_alloc_elem(
static INLINE int ecore_q_init(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_setup_e1x(struct _lm_device_t *pdev,
static INLINE int ecore_state_wait(struct _lm_device_t *pdev, int state,
static INLINE int ecore_q_send_setup_e2(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_update(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_deactivate(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_activate(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_update_tpa(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_halt(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_cfc_del(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_terminate(struct _lm_device_t *pdev,
static INLINE int ecore_q_send_empty(struct _lm_device_t *pdev,
static INLINE int ecore_queue_send_cmd_cmn(struct _lm_device_t *pdev,
static INLINE int ecore_func_state_change_comp(struct _lm_device_t *pdev,
static INLINE int ecore_func_init_func(struct _lm_device_t *pdev,
static INLINE int ecore_func_init_port(struct _lm_device_t *pdev,
static INLINE int ecore_func_init_cmn_chip(struct _lm_device_t *pdev,
static INLINE int ecore_func_init_cmn(struct _lm_device_t *pdev,
static INLINE void ecore_func_reset_func(struct _lm_device_t *pdev,
static INLINE void ecore_func_reset_port(struct _lm_device_t *pdev,
static INLINE void ecore_func_reset_cmn(struct _lm_device_t *pdev,
static INLINE int ecore_func_hw_reset(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_start(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_switch_update(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_afex_update(struct _lm_device_t *pdev,
INLINE int ecore_func_send_afex_viflists(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_stop(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_tx_stop(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_tx_start(struct _lm_device_t *pdev,
static INLINE int ecore_func_send_set_timesync(struct _lm_device_t *pdev,
static INLINE void lm_inc_er_debug_idx(lm_device_t * pdev)
static INLINE u8_t lm_reset_nig_valid_offset(lm_device_t * pdev,
INLINE STATIC u32_t
INLINE STATIC u8_t
INLINE STATIC u16_t
INLINE void
static INLINE lm_status_t _init_mcast_macs_list(lm_device_t *pdev,
static INLINE void __free_mcast_macs_list(lm_device_t *pdev,
static INLINE void lm_eq_handle_function_start_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_function_stop_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_cfc_del_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_fwd_setup_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_mcast_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_classification_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_stats_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_filter_rules_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_rss_update_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_function_update_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_niv_vif_lists_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_vf_flr_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE void lm_eq_handle_malicious_vf_eqe(struct _lm_device_t * pdev, union event_ring_elem * elem)
static INLINE lm_status_t lm_service_eq_elem(struct _lm_device_t * pdev, union event_ring_elem * elem)
#ifndef INLINE
static INLINE int i40e_aq_rc_to_posix(int aq_ret, int aq_rc)
static INLINE u8 i40e_nvmupd_get_module(u32 val)
static INLINE u8 i40e_nvmupd_get_transaction(u32 val)
static INLINE u8 i40e_nvmupd_get_preservation_flags(u32 val)
static INLINE struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype)
static INLINE enum virtchnl_link_speed
static INLINE bool i40e_is_vf(struct i40e_hw *hw)
#ifndef INLINE
#ifndef INLINE