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()
437 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_mtu_set() local
454 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_mtu_set()
456 ctrl_cmd.eth_dev = eth_dev; in lio_dev_mtu_set()
457 ctrl_cmd.cond = 0; in lio_dev_mtu_set()
461 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_mtu_set()
468 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_mtu_set()
484 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_rss_reta_update() local
507 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_rss_reta_update()
511 ctrl_cmd.eth_dev = eth_dev; in lio_dev_rss_reta_update()
512 ctrl_cmd.cond = 0; in lio_dev_rss_reta_update()
516 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_rss_reta_update()
541 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_rss_reta_update()
622 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_rss_hash_update() local
637 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_rss_hash_update()
641 ctrl_cmd.eth_dev = eth_dev; in lio_dev_rss_hash_update()
642 ctrl_cmd.cond = 0; in lio_dev_rss_hash_update()
646 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_rss_hash_update()
729 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_rss_hash_update()
754 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_udp_tunnel_add() local
771 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_udp_tunnel_add()
773 ctrl_cmd.eth_dev = eth_dev; in lio_dev_udp_tunnel_add()
774 ctrl_cmd.cond = 0; in lio_dev_udp_tunnel_add()
779 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_udp_tunnel_add()
786 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_udp_tunnel_add()
811 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_udp_tunnel_del() local
828 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_udp_tunnel_del()
830 ctrl_cmd.eth_dev = eth_dev; in lio_dev_udp_tunnel_del()
831 ctrl_cmd.cond = 0; in lio_dev_udp_tunnel_del()
836 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_udp_tunnel_del()
843 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_udp_tunnel_del()
855 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_dev_vlan_filter_set() local
867 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_dev_vlan_filter_set()
869 ctrl_cmd.eth_dev = eth_dev; in lio_dev_vlan_filter_set()
870 ctrl_cmd.cond = 0; in lio_dev_vlan_filter_set()
875 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_dev_vlan_filter_set()
883 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_dev_vlan_filter_set()
955 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_change_dev_flag() local
964 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_change_dev_flag()
966 ctrl_cmd.eth_dev = eth_dev; in lio_change_dev_flag()
967 ctrl_cmd.cond = 0; in lio_change_dev_flag()
972 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_change_dev_flag()
979 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_change_dev_flag()
1577 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_enable_hw_tunnel_rx_checksum() local
1586 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_enable_hw_tunnel_rx_checksum()
1588 ctrl_cmd.eth_dev = eth_dev; in lio_enable_hw_tunnel_rx_checksum()
1589 ctrl_cmd.cond = 0; in lio_enable_hw_tunnel_rx_checksum()
1593 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_enable_hw_tunnel_rx_checksum()
1600 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) in lio_enable_hw_tunnel_rx_checksum()
1611 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_enable_hw_tunnel_tx_checksum() local
1620 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_enable_hw_tunnel_tx_checksum()
1622 ctrl_cmd.eth_dev = eth_dev; in lio_enable_hw_tunnel_tx_checksum()
1623 ctrl_cmd.cond = 0; in lio_enable_hw_tunnel_tx_checksum()
1627 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_enable_hw_tunnel_tx_checksum()
1634 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) in lio_enable_hw_tunnel_tx_checksum()
1643 struct lio_dev_ctrl_cmd ctrl_cmd; in lio_send_queue_count_update() local
1658 memset(&ctrl_cmd, 0, sizeof(struct lio_dev_ctrl_cmd)); in lio_send_queue_count_update()
1660 ctrl_cmd.eth_dev = eth_dev; in lio_send_queue_count_update()
1661 ctrl_cmd.cond = 0; in lio_send_queue_count_update()
1666 ctrl_pkt.ctrl_cmd = &ctrl_cmd; in lio_send_queue_count_update()
1673 if (lio_wait_for_ctrl_cmd(lio_dev, &ctrl_cmd)) { in lio_send_queue_count_update()