Lines Matching refs:queue_info
273 static int offload_tso(struct hinic_sq_task *task, u32 *queue_info, in offload_tso() argument
347 hinic_set_tso_inner_l4(task, queue_info, l4_offload, l4_len, offset, in offload_tso()
353 static int offload_csum(struct hinic_sq_task *task, u32 *queue_info, in offload_csum() argument
434 hinic_set_cs_inner_l4(task, queue_info, l4_offload, l4_len, offset); in offload_csum()
439 static void offload_vlan(struct hinic_sq_task *task, u32 *queue_info, in offload_vlan() argument
445 *queue_info |= HINIC_SQ_CTRL_SET(vlan_pri, QUEUE_INFO_PRI); in offload_vlan()
449 u32 *queue_info) in hinic_tx_offload() argument
455 enabled = offload_tso(task, queue_info, skb); in hinic_tx_offload()
459 enabled = offload_csum(task, queue_info, skb); in hinic_tx_offload()
468 offload_vlan(task, queue_info, vlan_tag, in hinic_tx_offload()
477 if (HINIC_SQ_CTRL_GET(*queue_info, QUEUE_INFO_PLDOFF) > in hinic_tx_offload()
483 if (HINIC_SQ_CTRL_GET(*queue_info, QUEUE_INFO_MSS) < HINIC_MSS_MIN) { in hinic_tx_offload()
484 *queue_info = HINIC_SQ_CTRL_CLEAR(*queue_info, QUEUE_INFO_MSS); in hinic_tx_offload()
485 *queue_info |= HINIC_SQ_CTRL_SET(HINIC_MSS_MIN, QUEUE_INFO_MSS); in hinic_tx_offload()
619 err = hinic_tx_offload(skb, &sq_wqe->task, &sq_wqe->ctrl.queue_info); in hinic_xmit_frame()