Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1510 struct mlx4_spec_list *spec_l4; 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()
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()
[all …]