Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1452 struct mlx4_spec_list *spec_l3; in add_ip_rule() local
1455 spec_l3 = kzalloc(sizeof(*spec_l3), GFP_KERNEL); in add_ip_rule()
1457 if (!spec_l2 || !spec_l3) { in add_ip_rule()
1467 spec_l3->id = MLX4_NET_TRANS_RULE_ID_IPV4; in add_ip_rule()
1468 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; in add_ip_rule()
1470 spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; in add_ip_rule()
1471 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()
1473 spec_l3->ipv4.dst_ip_msk = EN_ETHTOOL_WORD_MASK; in add_ip_rule()
1474 list_add_tail(&spec_l3->list, list_h); in add_ip_rule()
1480 kfree(spec_l3); in add_ip_rule()
[all …]