Home
last modified time | relevance | path

Searched refs:tid_info (Results 1 - 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h105 struct tid_info { struct
166 static inline void *lookup_tid(const struct tid_info *t, unsigned int tid) in lookup_tid()
172 static inline bool tid_out_of_range(const struct tid_info *t, unsigned int tid) in tid_out_of_range()
177 static inline void *lookup_atid(const struct tid_info *t, unsigned int atid) in lookup_atid()
182 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid()
195 static inline void cxgb4_insert_tid(struct tid_info *t, void *data, in cxgb4_insert_tid()
213 static inline struct eotid_entry *cxgb4_lookup_eotid(struct tid_info *t, in cxgb4_lookup_eotid()
219 static inline int cxgb4_get_free_eotid(struct tid_info *t) in cxgb4_get_free_eotid()
230 static inline void cxgb4_alloc_eotid(struct tid_info *t, u32 eotid, void *data) in cxgb4_alloc_eotid()
237 static inline void cxgb4_free_eotid(struct tid_info *
[all...]
H A Dcxgb4_filter.c445 static bool cxgb4_filter_prio_in_range(struct tid_info *t, u32 idx, u8 nslots, in cxgb4_filter_prio_in_range()
550 struct tid_info *t = &adap->tids; in cxgb4_get_free_ftid()
689 static int cxgb4_set_ftid(struct tid_info *t, int fidx, int family, in cxgb4_set_ftid()
712 static int cxgb4_set_hpftid(struct tid_info *t, int fidx, int family) in cxgb4_set_hpftid()
730 static void cxgb4_clear_ftid(struct tid_info *t, int fidx, int family, in cxgb4_clear_ftid()
745 static void cxgb4_clear_hpftid(struct tid_info *t, int fidx, int family) in cxgb4_clear_hpftid()
1375 struct tid_info *t = &adapter->tids; in cxgb4_set_hash_filter()
1738 struct tid_info *t = &adapter->tids; in cxgb4_del_hash_filter()
1971 struct tid_info *t = &adap->tids; in hash_del_filter_rpl()
2000 struct tid_info * in hash_filter_rpl()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h105 struct tid_info { struct
166 static inline void *lookup_tid(const struct tid_info *t, unsigned int tid) in lookup_tid()
172 static inline bool tid_out_of_range(const struct tid_info *t, unsigned int tid) in tid_out_of_range()
177 static inline void *lookup_atid(const struct tid_info *t, unsigned int atid) in lookup_atid()
182 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid()
195 static inline void cxgb4_insert_tid(struct tid_info *t, void *data, in cxgb4_insert_tid()
213 static inline struct eotid_entry *cxgb4_lookup_eotid(struct tid_info *t, in cxgb4_lookup_eotid()
219 static inline int cxgb4_get_free_eotid(struct tid_info *t) in cxgb4_get_free_eotid()
230 static inline void cxgb4_alloc_eotid(struct tid_info *t, u32 eotid, void *data) in cxgb4_alloc_eotid()
237 static inline void cxgb4_free_eotid(struct tid_info *
[all...]
H A Dcxgb4_filter.c445 static bool cxgb4_filter_prio_in_range(struct tid_info *t, u32 idx, u8 nslots, in cxgb4_filter_prio_in_range()
550 struct tid_info *t = &adap->tids; in cxgb4_get_free_ftid()
689 static int cxgb4_set_ftid(struct tid_info *t, int fidx, int family, in cxgb4_set_ftid()
712 static int cxgb4_set_hpftid(struct tid_info *t, int fidx, int family) in cxgb4_set_hpftid()
730 static void cxgb4_clear_ftid(struct tid_info *t, int fidx, int family, in cxgb4_clear_ftid()
745 static void cxgb4_clear_hpftid(struct tid_info *t, int fidx, int family) in cxgb4_clear_hpftid()
1375 struct tid_info *t = &adapter->tids; in cxgb4_set_hash_filter()
1738 struct tid_info *t = &adapter->tids; in cxgb4_del_hash_filter()
1971 struct tid_info *t = &adap->tids; in hash_del_filter_rpl()
2000 struct tid_info * in hash_filter_rpl()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_defs.h47 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry()
53 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry()
62 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid()
74 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid()
93 static inline struct t3c_tid_entry *lookup_atid(const struct tid_info *t, in lookup_atid()
H A Dcxgb3_offload.h157 struct tid_info { struct
194 struct tid_info tid_maps;
H A Dcxgb3_offload.c503 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_atid()
523 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_stid()
538 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_insert_tid()
629 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_remove_tid()
654 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_alloc_atid()
678 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_alloc_stid()
799 struct tid_info *t = &(T3C_DATA(dev))->tid_maps; in do_cr()
893 struct tid_info *t = &(T3C_DATA(dev))->tid_maps; in do_act_establish()
1115 struct tid_info *ti; in cxgb_redirect()
1157 static int init_tid_tabs(struct tid_info *
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_defs.h47 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry()
53 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry()
62 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid()
74 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid()
93 static inline struct t3c_tid_entry *lookup_atid(const struct tid_info *t, in lookup_atid()
H A Dcxgb3_offload.h157 struct tid_info { struct
194 struct tid_info tid_maps;
H A Dcxgb3_offload.c503 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_atid()
523 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_stid()
538 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_insert_tid()
629 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_remove_tid()
654 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_alloc_atid()
678 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_alloc_stid()
799 struct tid_info *t = &(T3C_DATA(dev))->tid_maps; in do_cr()
893 struct tid_info *t = &(T3C_DATA(dev))->tid_maps; in do_act_establish()
1115 struct tid_info *ti; in cxgb_redirect()
1157 static int init_tid_tabs(struct tid_info *
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
H A Dmain.c186 struct carl9170_sta_tid *tid_info; in carl9170_ampdu_gc() local
190 list_for_each_entry_rcu(tid_info, &ar->tx_ampdu_list, list) { in carl9170_ampdu_gc()
192 if (tid_info->state == CARL9170_TID_STATE_SHUTDOWN) { in carl9170_ampdu_gc()
193 tid_info->state = CARL9170_TID_STATE_KILLED; in carl9170_ampdu_gc()
194 list_del_rcu(&tid_info->list); in carl9170_ampdu_gc()
196 list_add_tail(&tid_info->tmp_list, &tid_gc); in carl9170_ampdu_gc()
201 rcu_assign_pointer(ar->tx_ampdu_iter, tid_info); in carl9170_ampdu_gc()
208 tid_info = list_first_entry(&tid_gc, struct carl9170_sta_tid, in carl9170_ampdu_gc()
211 while ((skb = __skb_dequeue(&tid_info->queue))) in carl9170_ampdu_gc()
214 list_del_init(&tid_info in carl9170_ampdu_gc()
252 struct carl9170_sta_tid *tid_info; carl9170_flush_ba() local
1346 struct carl9170_sta_tid *tid_info; carl9170_op_sta_remove() local
1406 struct carl9170_sta_tid *tid_info; carl9170_op_ampdu_action() local
[all...]
H A Dtx.c345 /* Caller must hold the tid_info->lock & rcu_read_lock */
347 struct carl9170_sta_tid *tid_info, u16 seq) in carl9170_tx_shift_bm()
351 off = SEQ_DIFF(seq, tid_info->bsn); in carl9170_tx_shift_bm()
362 WARN_ON_ONCE(!test_and_clear_bit(off, tid_info->bitmap)); in carl9170_tx_shift_bm()
364 off = SEQ_DIFF(tid_info->snx, tid_info->bsn); in carl9170_tx_shift_bm()
368 if (!bitmap_empty(tid_info->bitmap, off)) in carl9170_tx_shift_bm()
369 off = find_first_bit(tid_info->bitmap, off); in carl9170_tx_shift_bm()
371 tid_info->bsn += off; in carl9170_tx_shift_bm()
372 tid_info in carl9170_tx_shift_bm()
346 carl9170_tx_shift_bm(struct ar9170 *ar, struct carl9170_sta_tid *tid_info, u16 seq) carl9170_tx_shift_bm() argument
385 struct carl9170_sta_tid *tid_info; carl9170_tx_status_process_ampdu() local
1130 struct carl9170_sta_tid *tid_info; carl9170_tx_ampdu() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/
H A Dmain.c186 struct carl9170_sta_tid *tid_info; in carl9170_ampdu_gc() local
190 list_for_each_entry_rcu(tid_info, &ar->tx_ampdu_list, list) { in carl9170_ampdu_gc()
192 if (tid_info->state == CARL9170_TID_STATE_SHUTDOWN) { in carl9170_ampdu_gc()
193 tid_info->state = CARL9170_TID_STATE_KILLED; in carl9170_ampdu_gc()
194 list_del_rcu(&tid_info->list); in carl9170_ampdu_gc()
196 list_add_tail(&tid_info->tmp_list, &tid_gc); in carl9170_ampdu_gc()
201 rcu_assign_pointer(ar->tx_ampdu_iter, tid_info); in carl9170_ampdu_gc()
208 tid_info = list_first_entry(&tid_gc, struct carl9170_sta_tid, in carl9170_ampdu_gc()
211 while ((skb = __skb_dequeue(&tid_info->queue))) in carl9170_ampdu_gc()
214 list_del_init(&tid_info in carl9170_ampdu_gc()
252 struct carl9170_sta_tid *tid_info; carl9170_flush_ba() local
1344 struct carl9170_sta_tid *tid_info; carl9170_op_sta_remove() local
1405 struct carl9170_sta_tid *tid_info; carl9170_op_ampdu_action() local
[all...]
H A Dtx.c345 /* Caller must hold the tid_info->lock & rcu_read_lock */
347 struct carl9170_sta_tid *tid_info, u16 seq) in carl9170_tx_shift_bm()
351 off = SEQ_DIFF(seq, tid_info->bsn); in carl9170_tx_shift_bm()
362 WARN_ON_ONCE(!test_and_clear_bit(off, tid_info->bitmap)); in carl9170_tx_shift_bm()
364 off = SEQ_DIFF(tid_info->snx, tid_info->bsn); in carl9170_tx_shift_bm()
368 if (!bitmap_empty(tid_info->bitmap, off)) in carl9170_tx_shift_bm()
369 off = find_first_bit(tid_info->bitmap, off); in carl9170_tx_shift_bm()
371 tid_info->bsn += off; in carl9170_tx_shift_bm()
372 tid_info in carl9170_tx_shift_bm()
346 carl9170_tx_shift_bm(struct ar9170 *ar, struct carl9170_sta_tid *tid_info, u16 seq) carl9170_tx_shift_bm() argument
385 struct carl9170_sta_tid *tid_info; carl9170_tx_status_process_ampdu() local
1132 struct carl9170_sta_tid *tid_info; carl9170_tx_ampdu() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_nvmetcp.c197 struct qed_tid_mem *tid_info; in qed_nvmetcp_start() local
221 tid_info = kzalloc(sizeof(*tid_info), GFP_KERNEL); in qed_nvmetcp_start()
222 if (!tid_info) { in qed_nvmetcp_start()
228 rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info); in qed_nvmetcp_start()
232 kfree(tid_info); in qed_nvmetcp_start()
238 tasks->size = tid_info->tid_size; in qed_nvmetcp_start()
239 tasks->num_tids_per_block = tid_info->num_tids_per_block; in qed_nvmetcp_start()
240 memcpy(tasks->blocks, tid_info->blocks, in qed_nvmetcp_start()
242 kfree(tid_info); in qed_nvmetcp_start()
[all...]
H A Dqed_fcoe.c820 struct qed_tid_mem *tid_info = kzalloc(sizeof(*tid_info), in qed_fcoe_start() local
823 if (!tid_info) { in qed_fcoe_start()
830 rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info); in qed_fcoe_start()
834 kfree(tid_info); in qed_fcoe_start()
839 tasks->size = tid_info->tid_size; in qed_fcoe_start()
840 tasks->num_tids_per_block = tid_info->num_tids_per_block; in qed_fcoe_start()
841 memcpy(tasks->blocks, tid_info->blocks, in qed_fcoe_start()
844 kfree(tid_info); in qed_fcoe_start()
H A Dqed_iscsi.c1108 struct qed_tid_mem *tid_info; in qed_iscsi_start() local
1128 tid_info = kzalloc(sizeof(*tid_info), GFP_KERNEL); in qed_iscsi_start()
1130 if (!tid_info) { in qed_iscsi_start()
1135 rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info); in qed_iscsi_start()
1139 kfree(tid_info); in qed_iscsi_start()
1144 tasks->size = tid_info->tid_size; in qed_iscsi_start()
1145 tasks->num_tids_per_block = tid_info->num_tids_per_block; in qed_iscsi_start()
1146 memcpy(tasks->blocks, tid_info->blocks, in qed_iscsi_start()
1149 kfree(tid_info); in qed_iscsi_start()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_fcoe.c820 struct qed_tid_mem *tid_info = kzalloc(sizeof(*tid_info), in qed_fcoe_start() local
823 if (!tid_info) { in qed_fcoe_start()
830 rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info); in qed_fcoe_start()
834 kfree(tid_info); in qed_fcoe_start()
839 tasks->size = tid_info->tid_size; in qed_fcoe_start()
840 tasks->num_tids_per_block = tid_info->num_tids_per_block; in qed_fcoe_start()
841 memcpy(tasks->blocks, tid_info->blocks, in qed_fcoe_start()
844 kfree(tid_info); in qed_fcoe_start()
H A Dqed_iscsi.c1108 struct qed_tid_mem *tid_info; in qed_iscsi_start() local
1128 tid_info = kzalloc(sizeof(*tid_info), GFP_KERNEL); in qed_iscsi_start()
1130 if (!tid_info) { in qed_iscsi_start()
1135 rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info); in qed_iscsi_start()
1139 kfree(tid_info); in qed_iscsi_start()
1144 tasks->size = tid_info->tid_size; in qed_iscsi_start()
1145 tasks->num_tids_per_block = tid_info->num_tids_per_block; in qed_iscsi_start()
1146 memcpy(tasks->blocks, tid_info->blocks, in qed_iscsi_start()
1149 kfree(tid_info); in qed_iscsi_start()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c898 struct tid_info *t = lldi->tids; in do_act_establish()
1051 struct tid_info *t = lldi->tids; in do_act_open_rpl()
1097 struct tid_info *t = lldi->tids; in do_peer_close()
1118 struct tid_info *t = lldi->tids; in do_close_con_rpl()
1157 struct tid_info *t = lldi->tids; in do_abort_req_rss()
1205 struct tid_info *t = lldi->tids; in do_abort_rpl_rss()
1229 struct tid_info *t = lldi->tids; in do_rx_data()
1251 struct tid_info *t = lldi->tids; in do_rx_iscsi_hdr()
1354 struct tid_info *t = lldi->tids; in do_rx_iscsi_data()
1452 struct tid_info * in do_rx_data_ddp()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c899 struct tid_info *t = lldi->tids; in do_act_establish()
1052 struct tid_info *t = lldi->tids; in do_act_open_rpl()
1098 struct tid_info *t = lldi->tids; in do_peer_close()
1119 struct tid_info *t = lldi->tids; in do_close_con_rpl()
1158 struct tid_info *t = lldi->tids; in do_abort_req_rss()
1206 struct tid_info *t = lldi->tids; in do_abort_rpl_rss()
1230 struct tid_info *t = lldi->tids; in do_rx_data()
1252 struct tid_info *t = lldi->tids; in do_rx_iscsi_hdr()
1355 struct tid_info *t = lldi->tids; in do_rx_iscsi_data()
1453 struct tid_info * in do_rx_data_ddp()
[all...]
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c1222 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_accept_req()
1581 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_open_rpl()
1603 struct tid_info *t = cdev->lldi.tids; in cxgbit_close_listsrv_rpl()
1625 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_establish()
1905 struct tid_info *t = lldi->tids; in cxgbit_set_tcb_rpl()
1926 struct tid_info *t = lldi->tids; in cxgbit_rx_data()
1966 struct tid_info *t = lldi->tids; in cxgbit_rx_cpl()
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c1223 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_accept_req()
1582 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_open_rpl()
1604 struct tid_info *t = cdev->lldi.tids; in cxgbit_close_listsrv_rpl()
1626 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_establish()
1903 struct tid_info *t = lldi->tids; in cxgbit_set_tcb_rpl()
1924 struct tid_info *t = lldi->tids; in cxgbit_rx_data()
1964 struct tid_info *t = lldi->tids; in cxgbit_rx_cpl()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c2086 copy = sizeof(cmd.cmd.tid_info); in qib_write()
2087 dest = &cmd.cmd.tid_info; in qib_write()
2088 src = &ucmd->cmd.tid_info; in qib_write()
2188 ret = qib_tid_update(rcd, fp, &cmd.cmd.tid_info); in qib_write()
2192 ret = qib_tid_free(rcd, subctxt_fp(fp), &cmd.cmd.tid_info); in qib_write()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c2085 copy = sizeof(cmd.cmd.tid_info); in qib_write()
2086 dest = &cmd.cmd.tid_info; in qib_write()
2087 src = &ucmd->cmd.tid_info; in qib_write()
2187 ret = qib_tid_update(rcd, fp, &cmd.cmd.tid_info); in qib_write()
2191 ret = qib_tid_free(rcd, subctxt_fp(fp), &cmd.cmd.tid_info); in qib_write()

Completed in 36 milliseconds

12