Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1491 struct mlx4_spec_list *spec_l4; in add_tcp_udp_rule() local
1496 spec_l4 = kzalloc(sizeof(*spec_l4), GFP_KERNEL); in add_tcp_udp_rule()
1497 if (!spec_l2 || !spec_l3 || !spec_l4) { in add_tcp_udp_rule()
1511 spec_l4->id = MLX4_NET_TRANS_RULE_ID_TCP; in add_tcp_udp_rule()
1514 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1515 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1523 spec_l4->id = MLX4_NET_TRANS_RULE_ID_UDP; in add_tcp_udp_rule()
1526 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1527 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1536 spec_l4->tcp_udp.src_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
[all …]