Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1510 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()
[all …]