Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib_vlan.c159 struct mlx5i_priv *ipriv, *parent_ipriv; in mlx5i_pkey_dev_init() local
181 parent_ipriv = netdev_priv(parent_dev); in mlx5i_pkey_dev_init()
182 ipriv->qpn_htbl = parent_ipriv->qpn_htbl; in mlx5i_pkey_dev_init()
H A Dipoib.c165 struct mlx5i_priv *ipriv, *parent_ipriv; in mlx5i_parent_get() local
176 parent_ipriv = netdev_priv(parent_dev); in mlx5i_parent_get()
179 parent_ipriv->num_sub_interfaces++; in mlx5i_parent_get()
189 struct mlx5i_priv *ipriv, *parent_ipriv; in mlx5i_parent_put() local
192 parent_ipriv = netdev_priv(ipriv->parent_dev); in mlx5i_parent_put()
195 parent_ipriv->num_sub_interfaces--; in mlx5i_parent_put()