Searched refs:l4_offload (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 229 enum hinic_l4_offload_type *l4_offload, in get_inner_l4_info() argument 232 *l4_offload = OFFLOAD_DISABLE; in get_inner_l4_info() 238 *l4_offload = TCP_OFFLOAD_ENABLE; in get_inner_l4_info() 245 *l4_offload = UDP_OFFLOAD_ENABLE; in get_inner_l4_info() 255 *l4_offload = SCTP_OFFLOAD_ENABLE; in get_inner_l4_info() 277 enum hinic_l4_offload_type l4_offload; in offload_tso() local 343 get_inner_l4_info(skb, &l4, TX_OFFLOAD_TSO, l4_proto, &l4_offload, in offload_tso() 346 hinic_set_tso_inner_l4(task, queue_info, l4_offload, l4_len, offset, in offload_tso() 355 enum hinic_l4_offload_type l4_offload; in offload_csum() local 430 get_inner_l4_info(skb, &l4, TX_OFFLOAD_CSUM, l4_proto, &l4_offload, in offload_csum() [all …]
|
D | hinic_hw_qp.c | 538 enum hinic_l4_offload_type l4_offload, in hinic_set_cs_inner_l4() argument 544 if (l4_offload == TCP_OFFLOAD_ENABLE || in hinic_set_cs_inner_l4() 545 l4_offload == UDP_OFFLOAD_ENABLE) in hinic_set_cs_inner_l4() 547 else if (l4_offload == SCTP_OFFLOAD_ENABLE) in hinic_set_cs_inner_l4() 550 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l4_offload, L4_OFFLOAD); in hinic_set_cs_inner_l4() 562 enum hinic_l4_offload_type l4_offload, in hinic_set_tso_inner_l4() argument 567 if (l4_offload == TCP_OFFLOAD_ENABLE) in hinic_set_tso_inner_l4() 569 else if (l4_offload == UDP_OFFLOAD_ENABLE) in hinic_set_tso_inner_l4() 574 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l4_offload, L4_OFFLOAD); in hinic_set_tso_inner_l4() 581 HINIC_SQ_CTRL_SET(!!l4_offload, QUEUE_INFO_TCPUDP_CS); in hinic_set_tso_inner_l4()
|
D | hinic_hw_qp.h | 169 enum hinic_l4_offload_type l4_offload, 174 enum hinic_l4_offload_type l4_offload,
|