Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1402 struct mlx4_spec_list *spec_l2, in mlx4_en_ethtool_add_mac_rule() argument
1407 spec_l2->id = MLX4_NET_TRANS_RULE_ID_ETH; in mlx4_en_ethtool_add_mac_rule()
1408 memcpy(spec_l2->eth.dst_mac_msk, &mac_msk, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule()
1409 memcpy(spec_l2->eth.dst_mac, mac, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule()
1413 spec_l2->eth.vlan_id = cmd->fs.h_ext.vlan_tci; in mlx4_en_ethtool_add_mac_rule()
1414 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule()
1417 list_add_tail(&spec_l2->list, rule_list_h); in mlx4_en_ethtool_add_mac_rule()
1425 struct mlx4_spec_list *spec_l2, in mlx4_en_ethtool_add_mac_rule_by_ipv4() argument
1440 return mlx4_en_ethtool_add_mac_rule(cmd, rule_list_h, spec_l2, &mac[0]); in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1451 struct mlx4_spec_list *spec_l2; in add_ip_rule() local
[all …]