Lines Matching refs:ctrl_cmd

42 		      struct lio_dev_ctrl_cmd *ctrl_cmd)  in lio_wait_for_ctrl_cmd()  argument
46 while ((ctrl_cmd->cond == 0) && --timeout) { in lio_wait_for_ctrl_cmd()
63 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_send_rx_ctrl_cmd() local
72 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_send_rx_ctrl_cmd()
74 ctrl_cmd.eth_dev = eth_dev; in lio_send_rx_ctrl_cmd()
75 ctrl_cmd.cond = 0; in lio_send_rx_ctrl_cmd()
79 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_send_rx_ctrl_cmd()
86 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_send_rx_ctrl_cmd()
247 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_xstats_reset() local
263 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_xstats_reset()
265 ctrl_cmd.eth_dev = eth_dev; in lio_dev_xstats_reset()
266 ctrl_cmd.cond = 0; in lio_dev_xstats_reset()
269 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_xstats_reset()
277 ret = lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd); in lio_dev_xstats_reset()
439 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_mtu_set() local
465 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_mtu_set()
467 ctrl_cmd.eth_dev = eth_dev; in lio_dev_mtu_set()
468 ctrl_cmd.cond = 0; in lio_dev_mtu_set()
472 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_mtu_set()
479 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_mtu_set()
505 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_rss_reta_update() local
528 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_rss_reta_update()
532 ctrl_cmd.eth_dev = eth_dev; in lio_dev_rss_reta_update()
533 ctrl_cmd.cond = 0; in lio_dev_rss_reta_update()
537 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_rss_reta_update()
562 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_rss_reta_update()
643 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_rss_hash_update() local
658 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_rss_hash_update()
662 ctrl_cmd.eth_dev = eth_dev; in lio_dev_rss_hash_update()
663 ctrl_cmd.cond = 0; in lio_dev_rss_hash_update()
667 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_rss_hash_update()
750 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_rss_hash_update()
775 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_udp_tunnel_add() local
792 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_udp_tunnel_add()
794 ctrl_cmd.eth_dev = eth_dev; in lio_dev_udp_tunnel_add()
795 ctrl_cmd.cond = 0; in lio_dev_udp_tunnel_add()
800 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_udp_tunnel_add()
807 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_udp_tunnel_add()
832 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_udp_tunnel_del() local
849 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_udp_tunnel_del()
851 ctrl_cmd.eth_dev = eth_dev; in lio_dev_udp_tunnel_del()
852 ctrl_cmd.cond = 0; in lio_dev_udp_tunnel_del()
857 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_udp_tunnel_del()
864 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_udp_tunnel_del()
876 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_vlan_filter_set() local
888 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_vlan_filter_set()
890 ctrl_cmd.eth_dev = eth_dev; in lio_dev_vlan_filter_set()
891 ctrl_cmd.cond = 0; in lio_dev_vlan_filter_set()
896 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_vlan_filter_set()
904 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_vlan_filter_set()
976 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_change_dev_flag() local
985 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_change_dev_flag()
987 ctrl_cmd.eth_dev = eth_dev; in lio_change_dev_flag()
988 ctrl_cmd.cond = 0; in lio_change_dev_flag()
993 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_change_dev_flag()
1000 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_change_dev_flag()
1602 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_enable_hw_tunnel_rx_checksum() local
1611 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_enable_hw_tunnel_rx_checksum()
1613 ctrl_cmd.eth_dev = eth_dev; in lio_enable_hw_tunnel_rx_checksum()
1614 ctrl_cmd.cond = 0; in lio_enable_hw_tunnel_rx_checksum()
1618 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_enable_hw_tunnel_rx_checksum()
1625 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) in lio_enable_hw_tunnel_rx_checksum()
1636 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_enable_hw_tunnel_tx_checksum() local
1645 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_enable_hw_tunnel_tx_checksum()
1647 ctrl_cmd.eth_dev = eth_dev; in lio_enable_hw_tunnel_tx_checksum()
1648 ctrl_cmd.cond = 0; in lio_enable_hw_tunnel_tx_checksum()
1652 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_enable_hw_tunnel_tx_checksum()
1659 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) in lio_enable_hw_tunnel_tx_checksum()
1668 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_send_queue_count_update() local
1683 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_send_queue_count_update()
1685 ctrl_cmd.eth_dev = eth_dev; in lio_send_queue_count_update()
1686 ctrl_cmd.cond = 0; in lio_send_queue_count_update()
1691 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_send_queue_count_update()
1698 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_send_queue_count_update()