Home
last modified time | relevance | path

Searched refs:u16_t (Results 1 – 25 of 60) sorted by relevance

123

/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h13 u16_t attn_bits_index /* attention bits running index */;
72 u16_t __agg_vars2 /* Various aggregative variables*/;
74 u16_t __agg_vars2 /* Various aggregative variables*/;
81 u16_t hq_cons /* The HQ Consumer */;
82 u16_t hq_prod /* The HQ producer */;
84 u16_t hq_prod /* The HQ producer */;
85 u16_t hq_cons /* The HQ Consumer */;
99 u16_t __reserved64 /* RQ consumer kept by the completor */;
100 u16_t cq_u_prod /* Ustorm producer of CQ */;
102 u16_t cq_u_prod /* Ustorm producer of CQ */;
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dncsi_cmds.h112 u16_t PlusTwoPadding; /* for plus 2 alignment */
117 u16_t EtherType; /* 14 ids pkt as cmd */
164 u16_t PayloadSize; /* 22 ids how much Payload */
172 u16_t EtherType; /* 14 ids pkt as cmd */
181 u16_t PayloadSize; /* 22 ids how much Payload */
309 u16_t Reserved;
317 u16_t Reserved;
334 u16_t PayloadLength;
338 u16_t PayloadLength;
360 u16_t MacHigh;
[all …]
H A Dncsi_basic_types.h80 typedef u16_t* pu16_t;
163 u16_t High;
164 u16_t LowHigh;
165 u16_t LowLow;
170 u16_t LowHigh;
171 u16_t High;
173 u16_t LowLow;
209 u16_t IsEnabled; //
210 u16_t TagControlInfo ; // tag control info
218 u16_t TagControlInfo ; // tag control info
[all …]
H A Dnvm_map.h645 u16_t signature;
649 u16_t target_size;
675 u16_t def_time2wait;
676 u16_t def_time2retain;
677 u16_t max_outstanding_r2t;
678 u16_t tsid;
684 u16_t tpgt;
685 u16_t discovery_parent_idx;
686 u16_t discovery_parent_type;
687 u16_t chap_in_idx;
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlicense.h73 u16_t capability;
89 u16_t max_toe_conn;
92 u16_t reserved;
93 u16_t max_um_rdma_conn;
95 u16_t max_iscsi_init_conn;
96 u16_t max_iscsi_trgt_conn;
98 u16_t max_iser_init_conn;
99 u16_t max_iser_trgt_conn;
101 u16_t max_fcoe_init_conn;
102 u16_t max_fcoe_trgt_conn;
[all …]
H A Dl4states.h106 u16_t vlan_tag; /* 4 MSBs are always 0 */
162 u16_t ipv4_current_ip_id;
163 u16_t _pad;
174 u16_t tcp_flags;
179 u16_t dst_port; /* in host order */
180 u16_t src_port; /* in host order */
182 u16_t remote_mss;
194 u16_t tcp_flags;
201 u16_t _pad;
232 u16_t sm_rtt; /* ndis_tcp_delegated->SRtt */
[all …]
H A Dlm_defs.h417 u16_t vlan_tag;
418 u16_t lso_mss;
419 u16_t lso_ip_hdr_len;
420 u16_t lso_tcp_hdr_len;
425 u16_t lso_ipid;
426 u16_t tcp_pseudo_csum;
429 u16_t fw_ip_csum;
441 u16_t encap_packet_inner_tcp_relative_offset;
475 u16_t vlan_tag;
476 u16_t _pad;
[all …]
H A Discsi_info.h51 u16_t length;
109 u16_t id;
110 u16_t length;
H A Dbcmtype.h75 typedef u16 u16_t; typedef
100 typedef u_int16_t u16_t; typedef
124 typedef u16_t U16;
230 typedef U16 u16_t; typedef
289 #define u16_SUB(_a, _b) ((u16_t) ((s16_t) (_a) - (s16_t) (_b)))
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dbd_chain_st.h22 u16_t page_cnt; /* number of chain pages */
23 u16_t capacity; /* number of _usable_ bds (e.g. not including _next_ bds) */
24 u16_t bd_left; /* number of not produced, _usable_ bds */
25 u16_t prod_idx; /* index of next bd to produce (cyclic) */
26 u16_t cons_idx; /* index of next bd to consume (cyclic) */
27 u16_t bds_per_page; /* Number of bds per page */
28 u16_t bds_per_page_mask; /* Mask of number of bds per page */
29u16_t usable_bds_per_page; /* Number of usable bds in a page (taking into account last 16 …
37 u16_t pbe_idx; /* index of the current pbe page */
38 u16_t usable_bds_mask; /* Mask used to check if end of page was reached */
[all …]
H A Dbd_chain.h23 __inline static u16_t lm_bd_chain_avail_bds(lm_bd_chain_t* bd_chain) in lm_bd_chain_avail_bds()
29 __inline static u16_t lm_bd_chain_prod_idx(lm_bd_chain_t* bd_chain) in lm_bd_chain_prod_idx()
35 __inline static u16_t lm_bd_chain_cons_idx(lm_bd_chain_t* bd_chain) in lm_bd_chain_cons_idx()
41 __inline static u16_t lm_bd_chain_usable_bds_per_page(lm_bd_chain_t* bd_chain) in lm_bd_chain_usable_bds_per_page()
47 __inline static u16_t lm_bd_chain_page_cnt(lm_bd_chain_t* bd_chain) in lm_bd_chain_page_cnt()
53 __inline static u16_t lm_bd_chain_bds_per_page(lm_bd_chain_t* bd_chain) in lm_bd_chain_bds_per_page()
59 __inline static u16_t lm_bd_chain_bds_per_page_mask(lm_bd_chain_t* bd_chain) in lm_bd_chain_bds_per_page_mask()
65 __inline static u16_t lm_bd_chain_bds_skip_eop(lm_bd_chain_t* bd_chain) in lm_bd_chain_bds_skip_eop()
120 u16_t idx; in lm_bd_chain_set_next_ptrs()
208 u16_t page_index; in lm_bd_chain_add_page()
[all …]
H A Dlm_recv.c34 u16_t const iro_prod_offset, in lm_rx_set_prods()
43 u16_t val16_lo = lm_bd_chain_prod_idx(rcq_chain_bd); in lm_rx_set_prods()
44 u16_t val16_hi = lm_bd_chain_prod_idx(rx_chain_bd); in lm_rx_set_prods()
109 u16_t current_prod = 0; in lm_post_buffers()
110 u16_t active_entry = 0; in lm_post_buffers()
264 IN const u16_t new_index) in lm_tpa_sge_update_last_max()
267u16_t const prod_idx = lm_bd_chain_prod_idx(&LM_TPA_CHAIN_BD(pdev, chain_idx)); in lm_tpa_sge_update_last_max()
268 u16_t const prod_minus_new_sge = prod_idx - new_index; in lm_tpa_sge_update_last_max()
269 u16_t const prod_minus_saved = prod_idx - sge_tpa_chain->last_max_con; in lm_tpa_sge_update_last_max()
297 IN const u16_t mask_entry_idx) in lm_tpa_incr_sge_cons()
[all …]
H A Dlm_send.c66 IN u16_t data_part_size, in lm_handle_lso_split()
73 u16_t old_nbd = mm_le16_to_cpu(start_bd->nbd); in lm_handle_lso_split()
74 u16_t old_nbytes = mm_le16_to_cpu(generic_bd->nbytes); in lm_handle_lso_split()
106 IN u16_t total_hlen_bytes in lm_pre_process_lso_packet()
112 u16_t sum_frag_size = 0; in lm_pre_process_lso_packet()
120 sum_frag_size += (u16_t)frags->frag_arr[cnt].size; in lm_pre_process_lso_packet()
141 IN u16_t total_hlen_bytes, in lm_process_lso_packet()
146 u16_t hlen_reminder = total_hlen_bytes; in lm_process_lso_packet()
206 u16_t start_bd_nbytes = mm_le16_to_cpu(start_bd->nbytes); in lm_process_lso_packet()
222 prod_bd->nbytes = mm_cpu_to_le16((u16_t) (*frag)->size); in lm_process_lso_packet()
[all …]
H A Dlm_dmae.h213 u16_t length;
552 IN const u16_t length,
592 IN const u16_t length);
677 … pdev, lm_dmae_context_t* context, void* source_vaddr, u32_t dest_offset, u16_t length, u8_t b_rep…
693 …e_t* pdev, lm_dmae_context_t* context, lm_address_t source_paddr, u32_t dest_offset, u16_t length);
713 … pdev, lm_dmae_context_t* context, u32_t source_offset, void* dest_vaddr, u16_t length, u8_t le32_…
732 …dev, lm_dmae_context_t* context, lm_address_t source_paddr, lm_address_t dest_paddr, u16_t length);
H A Dlm_pf.c58 lm_vf_info_t * lm_pf_find_vf_info_by_rel_id(struct _lm_device_t *pdev, u16_t relative_vf_id) in lm_pf_find_vf_info_by_rel_id()
72 u16_t relative_vf_id = 0xFFFF; in lm_pf_find_vf_info_by_abs_id()
205 u16_t num_vfs = 0; in lm_pf_allocate_vfs()
274 u16_t vf_idx; in lm_pf_allocate_vfs()
291 lm_status_t lm_pf_init_vfs(struct _lm_device_t *pdev, u16_t num_vfs) in lm_pf_init_vfs()
299 u16_t vf_idx = 0; in lm_pf_init_vfs()
357 u16_t pretend_val;
358 u16_t ind_cids, start_cid, end_cid;
399 lm_status_t lm_pf_set_vf_ctx(struct _lm_device_t *pdev, u16_t vf_id, void* ctx) in lm_pf_set_vf_ctx()
415 u16_t vf_id, in lm_pf_set_vf_stat_id()
[all …]
H A Dl2_dbg.c30 static void dbg_assert_attn_lines(lm_device_t *pdev, u16_t lines_to_assert) in dbg_assert_attn_lines()
56 static void dbg_deassert_attn_lines(lm_device_t *pdev, u16_t lines_to_deassert) in dbg_deassert_attn_lines()
81 static void dbg_ack_assert_attn_lines(lm_device_t *pdev, u16_t assert_lines_to_ack) in dbg_ack_assert_attn_lines()
184 u16_t lcl_attn_bits = 0; in dbg_def_sb_dpc()
185 u16_t lcl_attn_ack = 0; in dbg_def_sb_dpc()
186 u16_t asserted_proc_grps = 0; in dbg_def_sb_dpc()
187 u16_t deasserted_proc_grps = 0; in dbg_def_sb_dpc()
H A Dlm_dmae.c284 IN const u16_t length/*in DWORDS*/) in lm_dmae_command_set_block()
337 IN const u16_t length, in lm_dmae_operation_create()
462 IN const u16_t length) in lm_dmae_operation_add_sge()
880 IN const u16_t length) in lm_dmae_context_execute_sub_operation()
887 u16_t i = 0; in lm_dmae_context_execute_sub_operation()
988 u16_t length_current = 0 ; in lm_dmae_context_execute_single_block()
989 u16_t i = 0 ; in lm_dmae_context_execute_single_block()
997 …const u16_t length_limit = (operation->blocks[0].dest.type != LM_DMAE_ADDRESS_GRC) ? min… in lm_dmae_context_execute_single_block()
998 u16_t cnt_split = 0; // number of chunks of splits in lm_dmae_context_execute_single_block()
999 u16_t length_mod = 0; in lm_dmae_context_execute_single_block()
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4st.h64 u16_t bd_used; /* Number of BDs consumed in the bd chain for this tcp buffer */
65 u16_t _pad;
226 u16_t first_buf_offset;
232 u16_t pending_return_indications;
293 u16_t _pad;
341 u16_t bds_without_comp_flag; /* counter of consecutive BDs without CompFlag */
369 u16_t dpc_bd_used; /* number of bds used - aggregated during process stage */
370u16_t dpc_flags; /* flags marked during cqe processing - only accessed during…
395 u16_t snapshot_flags; /* only accessed under lock */
452 u16_t db_more_bufs; /* number of tcp buffers to be produced in next doorbell */
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h40 lm_vf_en(struct _lm_device_t * pf_dev, u16_t vf_num);
85 u16_t recent_opcode;
86 u16_t req_resp_state;
107 u16_t pci_segment_num;
168 u16_t mtu;
222 u16_t current_interrupr_moderation;
249 u16_t number_of_enabled_vfs;
269 u16_t lm_vf_pf_get_sb_running_index(struct _lm_device_t *pdev, u8_t sb_id, u8_t sm_idx);
270 u16_t lm_vf_pf_get_sb_index(struct _lm_device_t *pdev, u8_t sb_id, u8_t idx);
271 u16_t lm_vf_get_doorbell_size(struct _lm_device_t *pdev);
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h225 u16_t type;
483 u32_t upper_align_power_of_2(IN const u16_t num, IN const u8_t num_bits_supported);
502 u16_t _state = (_pdev)->vars.attn_state; \
577 u16_t next_bd_idx;
579 u16_t bd_used;
584 u16_t reserve;
589 u16_t dbg_start_bd_idx;
590 u16_t dbg_frag_cnt;
596 u16_t next_bd_idx;
769 …#define MAX_CLI_PACKET_SIZE(pdev, chain_idx) ((u16_t)(pdev)->params.l2_cli_con_params[(chain_idx)]…
[all …]
H A Dcommand.h83 u16_t type, in lm_sq_post_fill_entry()
139 u16_t type,
158 u8_t command, u16_t type, u32_t cid );
181 u16_t type, in lm_command_post()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_linux.h206 u16_t * ret
237 u16_t val
274 static inline u16_t mm_le16_to_cpu_imp(u16_t val) in mm_le16_to_cpu_imp()
304 static inline u16_t mm_cpu_to_le16_imp(u16_t val) in mm_cpu_to_le16_imp()
H A Dbcm_utils.h66 static __inline u16_t SWAP_BYTES16(u16_t val16) in SWAP_BYTES16()
/titanic_44/usr/src/uts/common/io/bnxe/
H A Dbnxe_tx.c562 static inline u16_t BnxeCalcCksum(void * start, in BnxeCalcCksum()
564 u16_t prev_sum) in BnxeCalcCksum()
566 u16_t * pword; in BnxeCalcCksum()
569 pword = (u16_t *)start; in BnxeCalcCksum()
580 sum += (u16_t)(*((u8_t *)pword)); in BnxeCalcCksum()
591 return (u16_t)sum; in BnxeCalcCksum()
613 static inline u16_t BnxeUdpPseudoCsum(um_device_t * pUM, in BnxeUdpPseudoCsum()
619 u16_t sum16; in BnxeUdpPseudoCsum()
620 u16_t pseudo_cs; in BnxeUdpPseudoCsum()
629 pseudo_cs = (*((u16_t *)&pUdpHdr[6])); in BnxeUdpPseudoCsum()
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c166 IN u16_t page_cnt, in lm_l5_alloc_eq()
226 u16_t volatile * sb_indexes; in lm_sc_setup_eq()
238 …bd_chain->bd_chain_phy, (u16_t)bd_chain->page_cnt, sizeof(struct iscsi_kcqe), 1/*0*/, is_chain_mod… in lm_sc_setup_eq()
342 u16_t volatile * sb_indexes; in lm_fc_setup_eq()
356 (u16_t)bd_chain->page_cnt, sizeof(struct fcoe_kcqe), in lm_fc_setup_eq()
485 u16_t i = 0; in lm_sc_alloc_resc()
532 u16_t
536 const u16_t reserved_eq_elements, in lm_l5_eq_page_cnt()
537 const u16_t eqes_per_page, in lm_l5_eq_page_cnt()
538 const u16_t max_eq_pages in lm_l5_eq_page_cnt()
[all …]

123