Lines Matching defs:cur
904 struct mlx4_spec_list *cur;
913 list_for_each_entry(cur, &rule->list, list) {
914 switch (cur->id) {
917 "dmac = %pM ", &cur->eth.dst_mac);
918 if (cur->eth.ether_type)
921 be16_to_cpu(cur->eth.ether_type));
922 if (cur->eth.vlan_id)
925 be16_to_cpu(cur->eth.vlan_id));
929 if (cur->ipv4.src_ip)
932 &cur->ipv4.src_ip);
933 if (cur->ipv4.dst_ip)
936 &cur->ipv4.dst_ip);
941 if (cur->tcp_udp.src_port)
944 be16_to_cpu(cur->tcp_udp.src_port));
945 if (cur->tcp_udp.dst_port)
948 be16_to_cpu(cur->tcp_udp.dst_port));
953 "dst-gid = %pI6\n", cur->ib.dst_gid);
956 cur->ib.dst_gid_msk);
961 "VNID = %d ", be32_to_cpu(cur->vxlan.vni));
981 struct mlx4_spec_list *cur;
999 list_for_each_entry(cur, &rule->list, list) {
1000 ret = parse_trans_rule(dev, cur, mailbox->buf + size);