Lines Matching refs:spec_l4
1510 struct mlx4_spec_list *spec_l4 = NULL; in add_tcp_udp_rule() local
1515 spec_l4 = kzalloc(sizeof(*spec_l4), GFP_KERNEL); in add_tcp_udp_rule()
1516 if (!spec_l2 || !spec_l3 || !spec_l4) { in add_tcp_udp_rule()
1530 spec_l4->id = MLX4_NET_TRANS_RULE_ID_TCP; in add_tcp_udp_rule()
1533 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1534 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1542 spec_l4->id = MLX4_NET_TRANS_RULE_ID_UDP; in add_tcp_udp_rule()
1545 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1546 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1555 spec_l4->tcp_udp.src_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
1557 spec_l4->tcp_udp.dst_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
1560 list_add_tail(&spec_l4->list, list_h); in add_tcp_udp_rule()
1567 kfree(spec_l4); in add_tcp_udp_rule()