#include "ice_common.h"
static void ice_rt_tsr_set(struct ice_parser_rt *rt, u16 tsr)
{ … }
static void ice_rt_ho_set(struct ice_parser_rt *rt, u16 ho)
{ … }
static void ice_rt_np_set(struct ice_parser_rt *rt, u16 pc)
{ … }
static void ice_rt_nn_set(struct ice_parser_rt *rt, u16 node)
{ … }
static void
ice_rt_flag_set(struct ice_parser_rt *rt, unsigned int idx, bool set)
{ … }
static void ice_rt_gpr_set(struct ice_parser_rt *rt, int idx, u16 val)
{ … }
static void ice_rt_err_set(struct ice_parser_rt *rt, unsigned int idx, bool set)
{ … }
void ice_parser_rt_reset(struct ice_parser_rt *rt)
{ … }
void ice_parser_rt_pktbuf_set(struct ice_parser_rt *rt, const u8 *pkt_buf,
int pkt_len)
{ … }
static void ice_bst_key_init(struct ice_parser_rt *rt,
struct ice_imem_item *imem)
{ … }
static u16 ice_bit_rev_u16(u16 v, int len)
{ … }
static u32 ice_bit_rev_u32(u32 v, int len)
{ … }
static u32 ice_hv_bit_sel(struct ice_parser_rt *rt, int start, int len)
{ … }
static u32 ice_pk_build(struct ice_parser_rt *rt,
struct ice_np_keybuilder *kb)
{ … }
static bool ice_flag_get(struct ice_parser_rt *rt, unsigned int index)
{ … }
static int ice_imem_pgk_init(struct ice_parser_rt *rt,
struct ice_imem_item *imem)
{ … }
static void ice_imem_alu0_set(struct ice_parser_rt *rt,
struct ice_imem_item *imem)
{ … }
static void ice_imem_alu1_set(struct ice_parser_rt *rt,
struct ice_imem_item *imem)
{ … }
static void ice_imem_alu2_set(struct ice_parser_rt *rt,
struct ice_imem_item *imem)
{ … }
static void ice_imem_pgp_set(struct ice_parser_rt *rt,
struct ice_imem_item *imem)
{ … }
static int ice_bst_pgk_init(struct ice_parser_rt *rt,
struct ice_bst_tcam_item *bst)
{ … }
static void ice_bst_alu0_set(struct ice_parser_rt *rt,
struct ice_bst_tcam_item *bst)
{ … }
static void ice_bst_alu1_set(struct ice_parser_rt *rt,
struct ice_bst_tcam_item *bst)
{ … }
static void ice_bst_alu2_set(struct ice_parser_rt *rt,
struct ice_bst_tcam_item *bst)
{ … }
static void ice_bst_pgp_set(struct ice_parser_rt *rt,
struct ice_bst_tcam_item *bst)
{ … }
static struct ice_pg_cam_item *ice_rt_pg_cam_match(struct ice_parser_rt *rt)
{ … }
static
struct ice_pg_nm_cam_item *ice_rt_pg_nm_cam_match(struct ice_parser_rt *rt)
{ … }
static void ice_gpr_add(struct ice_parser_rt *rt, int idx, u16 val)
{ … }
static void ice_pg_exe(struct ice_parser_rt *rt)
{ … }
static void ice_flg_add(struct ice_parser_rt *rt, int idx, bool val)
{ … }
static void ice_flg_update(struct ice_parser_rt *rt, struct ice_alu *alu)
{ … }
static void ice_po_update(struct ice_parser_rt *rt, struct ice_alu *alu)
{ … }
static u16 ice_reg_bit_sel(struct ice_parser_rt *rt, int reg_idx,
int start, int len)
{ … }
static void ice_err_add(struct ice_parser_rt *rt, int idx, bool val)
{ … }
static void ice_dst_reg_bit_set(struct ice_parser_rt *rt, struct ice_alu *alu,
bool val)
{ … }
static void ice_alu_exe(struct ice_parser_rt *rt, struct ice_alu *alu)
{ … }
static void ice_alu0_exe(struct ice_parser_rt *rt)
{ … }
static void ice_alu1_exe(struct ice_parser_rt *rt)
{ … }
static void ice_alu2_exe(struct ice_parser_rt *rt)
{ … }
static void ice_pu_exe(struct ice_parser_rt *rt)
{ … }
static void ice_alu_pg_exe(struct ice_parser_rt *rt)
{ … }
static void ice_proto_off_update(struct ice_parser_rt *rt)
{ … }
static void ice_marker_set(struct ice_parser_rt *rt, int idx)
{ … }
static void ice_marker_update(struct ice_parser_rt *rt)
{ … }
static u16 ice_ptype_resolve(struct ice_parser_rt *rt)
{ … }
static void ice_proto_off_resolve(struct ice_parser_rt *rt,
struct ice_parser_result *rslt)
{ … }
static void ice_result_resolve(struct ice_parser_rt *rt,
struct ice_parser_result *rslt)
{ … }
int ice_parser_rt_execute(struct ice_parser_rt *rt,
struct ice_parser_result *rslt)
{ … }