Home
last modified time | relevance | path

Searched refs:lro_timer (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_nic_cfg.c96 struct l2nic_cmd_lro_timer lro_timer = {}; in hinic3_set_rx_lro_timer() local
100 lro_timer.opcode = MGMT_MSG_CMD_OP_SET; in hinic3_set_rx_lro_timer()
101 lro_timer.timer = timer_value; in hinic3_set_rx_lro_timer()
103 mgmt_msg_params_init_default(&msg_params, &lro_timer, in hinic3_set_rx_lro_timer()
104 sizeof(lro_timer)); in hinic3_set_rx_lro_timer()
110 if (err || lro_timer.msg_head.status) { in hinic3_set_rx_lro_timer()
112 err, lro_timer.msg_head.status); in hinic3_set_rx_lro_timer()
121 u32 lro_timer, u8 lro_max_pkt_len) in hinic3_set_rx_lro_state() argument
140 dev_dbg(hwdev->dev, "Set LRO timer to %u\n", lro_timer); in hinic3_set_rx_lro_state()
142 return hinic3_set_rx_lro_timer(hwdev, lro_timer); in hinic3_set_rx_lro_state()
H A Dhinic3_nic_cfg.h79 u32 lro_timer, u8 lro_max_pkt_len);
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c537 struct hinic_lro_timer lro_timer = { 0 }; in hinic_set_rx_lro_timer() local
540 u16 out_size = sizeof(lro_timer); in hinic_set_rx_lro_timer()
543 lro_timer.status = 0; in hinic_set_rx_lro_timer()
544 lro_timer.type = 0; in hinic_set_rx_lro_timer()
545 lro_timer.enable = 1; in hinic_set_rx_lro_timer()
546 lro_timer.timer = timer_value; in hinic_set_rx_lro_timer()
549 &lro_timer, sizeof(lro_timer), in hinic_set_rx_lro_timer()
550 &lro_timer, &out_size); in hinic_set_rx_lro_timer()
551 if (lro_timer.status == 0xFF) { in hinic_set_rx_lro_timer()
553 lro_timer.status = 0; in hinic_set_rx_lro_timer()
[all …]
H A Dhinic_port.h802 u32 lro_timer, u32 wqe_num);