Lines Matching refs:u16
64 #define BE_HDR_LEN ((u16) 64)
118 u16 len;
119 u16 entry_size; /* Size of an element in the queue */
120 u16 id;
121 u16 tail, head;
126 static inline u32 MODULO(u16 val, u16 limit) in MODULO()
132 static inline void index_adv(u16 *index, u16 val, u16 limit) in index_adv()
137 static inline void index_inc(u16 *index, u16 limit) in index_inc()
152 static inline void *queue_index_node(struct be_queue_info *q, u16 index) in queue_index_node()
162 static inline void index_dec(u16 *index, u16 limit) in index_dec()
185 u16 spurious_intr;
248 u16 end_index; /* Completed TXQ Index */
259 u16 pend_wrb_cnt; /* Number of WRBs yet to be given to HW */
260 u16 last_req_wrb_cnt; /* wrb cnt of the last req in the Q */
261 u16 last_req_hdr; /* index of the last req's hdr-wrb */
269 u16 page_offset;
287 u16 vlan_tag;
288 u16 pkt_size;
289 u16 port;
365 u16 vlan_tag;
400 u16 phy_type;
401 u16 interface_type;
403 u16 auto_speeds_supported;
404 u16 fixed_speeds_supported;
414 u16 max_vfs; /* Total VFs "really" supported by FW/HW */
415 u16 max_mcast_mac;
416 u16 max_tx_qs;
417 u16 max_rss_qs;
418 u16 max_rx_qs;
419 u16 max_cq_count;
420 u16 max_uc_mac; /* Max UC MACs programmable */
421 u16 max_vlans; /* Number of vlans supported */
422 u16 max_iface_count;
423 u16 max_mcc_count;
424 u16 max_evt_qs;
465 u16 vlan_tag; /* VLAN tag */
466 u16 lso_mss; /* MSS for LSO */
487 u16 cfg_num_qs; /* configured via set-channels */
488 u16 num_evt_qs;
489 u16 num_msix_vec;
495 u16 num_tx_qs;
499 u16 num_rx_qs;
500 u16 num_rss_qs;
501 u16 need_def_rxq;
508 u16 recommended_prio; /* Recommended Priority */
514 u16 work_counter;
529 u16 vlans_added;
559 u16 num_vfs; /* Number of VFs provisioned by PF */
565 u16 pvid;
571 u16 asic_rev;
572 u16 qnq_vid;
602 static inline u16 be_max_qs(struct be_adapter *adapter) in be_max_qs()
605 u16 num = max_t(u16, be_max_rss(adapter), 1); in be_max_qs()
608 return min_t(u16, num, num_online_cpus()); in be_max_qs()
797 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm,
798 u16 num_popped);