Home
last modified time | relevance | path

Searched refs:l4_offload (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c230 enum hinic_l4_offload_type *l4_offload, in get_inner_l4_info() argument
233 *l4_offload = OFFLOAD_DISABLE; in get_inner_l4_info()
239 *l4_offload = TCP_OFFLOAD_ENABLE; in get_inner_l4_info()
246 *l4_offload = UDP_OFFLOAD_ENABLE; in get_inner_l4_info()
256 *l4_offload = SCTP_OFFLOAD_ENABLE; in get_inner_l4_info()
278 enum hinic_l4_offload_type l4_offload; in offload_tso() local
344 get_inner_l4_info(skb, &l4, TX_OFFLOAD_TSO, l4_proto, &l4_offload, in offload_tso()
347 hinic_set_tso_inner_l4(task, queue_info, l4_offload, l4_len, offset, in offload_tso()
356 enum hinic_l4_offload_type l4_offload; in offload_csum() local
431 get_inner_l4_info(skb, &l4, TX_OFFLOAD_CSUM, l4_proto, &l4_offload, in offload_csum()
[all …]
Dhinic_hw_qp.c537 enum hinic_l4_offload_type l4_offload, in hinic_set_cs_inner_l4() argument
543 if (l4_offload == TCP_OFFLOAD_ENABLE || in hinic_set_cs_inner_l4()
544 l4_offload == UDP_OFFLOAD_ENABLE) in hinic_set_cs_inner_l4()
546 else if (l4_offload == SCTP_OFFLOAD_ENABLE) in hinic_set_cs_inner_l4()
549 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l4_offload, L4_OFFLOAD); in hinic_set_cs_inner_l4()
561 enum hinic_l4_offload_type l4_offload, in hinic_set_tso_inner_l4() argument
566 if (l4_offload == TCP_OFFLOAD_ENABLE) in hinic_set_tso_inner_l4()
568 else if (l4_offload == UDP_OFFLOAD_ENABLE) in hinic_set_tso_inner_l4()
573 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l4_offload, L4_OFFLOAD); in hinic_set_tso_inner_l4()
580 HINIC_SQ_CTRL_SET(!!l4_offload, QUEUE_INFO_TCPUDP_CS); in hinic_set_tso_inner_l4()
Dhinic_hw_qp.h169 enum hinic_l4_offload_type l4_offload,
174 enum hinic_l4_offload_type l4_offload,