Lines Matching refs:u16
66 #define BE_HDR_LEN ((u16) 64)
109 #define CNTL_SERIAL_NUM_WORD_SZ (sizeof(u16)) /* Byte-sz of serial num word */
122 u16 len;
123 u16 entry_size; /* Size of an element in the queue */
124 u16 id;
125 u16 tail, head;
130 static inline u32 MODULO(u16 val, u16 limit) in MODULO()
136 static inline void index_adv(u16 *index, u16 val, u16 limit) in index_adv()
141 static inline void index_inc(u16 *index, u16 limit) in index_inc()
156 static inline void *queue_index_node(struct be_queue_info *q, u16 index) in queue_index_node()
166 static inline void index_dec(u16 *index, u16 limit) in index_dec()
189 u16 spurious_intr;
253 u16 end_index; /* Completed TXQ Index */
264 u16 pend_wrb_cnt; /* Number of WRBs yet to be given to HW */
265 u16 last_req_wrb_cnt; /* wrb cnt of the last req in the Q */
266 u16 last_req_hdr; /* index of the last req's hdr-wrb */
274 u16 page_offset;
293 u16 vlan_tag;
294 u16 pkt_size;
295 u16 port;
370 u16 vlan_tag;
407 u16 phy_type;
408 u16 interface_type;
410 u16 auto_speeds_supported;
411 u16 fixed_speeds_supported;
421 u16 max_vfs; /* Total VFs "really" supported by FW/HW */
422 u16 max_mcast_mac;
423 u16 max_tx_qs;
424 u16 max_rss_qs;
425 u16 max_rx_qs;
426 u16 max_cq_count;
427 u16 max_uc_mac; /* Max UC MACs programmable */
428 u16 max_vlans; /* Number of vlans supported */
429 u16 max_iface_count;
430 u16 max_mcc_count;
431 u16 max_evt_qs;
481 u16 vlan_tag; /* VLAN tag */
482 u16 lso_mss; /* MSS for LSO */
503 u16 cfg_num_qs; /* configured via set-channels */
504 u16 num_evt_qs;
505 u16 num_msix_vec;
511 u16 num_tx_qs;
515 u16 num_rx_qs;
516 u16 num_rss_qs;
517 u16 need_def_rxq;
524 u16 recommended_prio; /* Recommended Priority */
530 u16 work_counter;
546 u16 vlans_added;
576 u16 num_vfs; /* Number of VFs provisioned by PF */
582 u16 pvid;
589 u16 asic_rev;
590 u16 qnq_vid;
599 u16 serial_num[CNTL_SERIAL_NUM_WORDS];
625 static inline u16 be_max_qs(struct be_adapter *adapter) in be_max_qs()
628 u16 num = max_t(u16, be_max_rss(adapter), 1); in be_max_qs()
631 return min_t(u16, num, num_online_cpus()); in be_max_qs()
830 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm,
831 u16 num_popped);