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.c1499 struct mlx4_spec_list *spec_l4 = NULL; in add_tcp_udp_rule() local
1504 spec_l4 = kzalloc(sizeof(*spec_l4), GFP_KERNEL); in add_tcp_udp_rule()
1505 if (!spec_l2 || !spec_l3 || !spec_l4) { in add_tcp_udp_rule()
1519 spec_l4->id = MLX4_NET_TRANS_RULE_ID_TCP; in add_tcp_udp_rule()
1522 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1523 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1531 spec_l4->id = MLX4_NET_TRANS_RULE_ID_UDP; in add_tcp_udp_rule()
1534 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1535 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1544 spec_l4->tcp_udp.src_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
[all …]