Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c510 struct hinic_lro_config lro_cfg = { 0 }; in hinic_set_rx_lro() local
513 u16 out_size = sizeof(lro_cfg); in hinic_set_rx_lro()
516 lro_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_rx_lro()
517 lro_cfg.lro_ipv4_en = ipv4_en; in hinic_set_rx_lro()
518 lro_cfg.lro_ipv6_en = ipv6_en; in hinic_set_rx_lro()
519 lro_cfg.lro_max_wqe_num = max_wqe_num; in hinic_set_rx_lro()
522 &lro_cfg, sizeof(lro_cfg), in hinic_set_rx_lro()
523 &lro_cfg, &out_size); in hinic_set_rx_lro()
524 if (err || !out_size || lro_cfg.status) { in hinic_set_rx_lro()
527 err, lro_cfg.status, out_size); in hinic_set_rx_lro()