Home
last modified time | relevance | path

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

/drivers/net/
Dgeneve.c65 u8 vni[3]; /* virtual network ID for tunnel */ member
93 static inline __u32 geneve_net_vni_hash(u8 vni[3]) in geneve_net_vni_hash()
97 vnid = (vni[0] << 16) | (vni[1] << 8) | vni[2]; in geneve_net_vni_hash()
101 static __be64 vni_to_tunnel_id(const __u8 *vni) in vni_to_tunnel_id() argument
104 return (vni[0] << 16) | (vni[1] << 8) | vni[2]; in vni_to_tunnel_id()
106 return (__force __be64)(((__force u64)vni[0] << 40) | in vni_to_tunnel_id()
107 ((__force u64)vni[1] << 48) | in vni_to_tunnel_id()
108 ((__force u64)vni[2] << 56)); in vni_to_tunnel_id()
118 __be32 addr, u8 vni[]) in geneve_lookup() argument
125 hash = geneve_net_vni_hash(vni); in geneve_lookup()
[all …]
Dvxlan.c183 static inline struct hlist_head *vni_head(struct vxlan_sock *vs, __be32 vni) in vni_head() argument
185 return &vs->vni_list[hash_32((__force u32)vni, VNI_HASH_BITS)]; in vni_head()
228 static struct vxlan_dev *vxlan_vs_find_vni(struct vxlan_sock *vs, __be32 vni) in vxlan_vs_find_vni() argument
234 vni = 0; in vxlan_vs_find_vni()
236 hlist_for_each_entry_rcu(node, vni_head(vs, vni), hlist) { in vxlan_vs_find_vni()
237 if (node->vxlan->default_dst.remote_vni == vni) in vxlan_vs_find_vni()
245 static struct vxlan_dev *vxlan_find_vni(struct net *net, __be32 vni, in vxlan_find_vni() argument
255 return vxlan_vs_find_vni(vs, vni); in vxlan_find_vni()
442 __be32 vni, __u32 ifindex) in vxlan_fdb_find_rdst() argument
449 rd->remote_vni == vni && in vxlan_fdb_find_rdst()
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.h68 u32 vni; member
Dqed_l2.c1035 p_first_filter->vni = cpu_to_le32(p_filter_cmd->vni); in qed_filter_ucast_common()
1043 p_second_filter->vni = p_first_filter->vni; in qed_filter_ucast_common()
Dqed_hsi.h4530 __le32 vni; member
/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c887 rule_hw->vxlan.vni = in parse_trans_rule()
888 cpu_to_be32(be32_to_cpu(spec->vxlan.vni) << 8); in parse_trans_rule()
961 "VNID = %d ", be32_to_cpu(cur->vxlan.vni)); in mlx4_err_rule()
/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h1739 MLXSW_ITEM32(reg, sfmr, vni, 0x10, 0, 24);
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h3462 __le32 vni; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_hsi.h3839 __le32 vni; member