Searched refs:addr_mod (Results 1 – 2 of 2) sorted by relevance
540 u8 addr_mod[3]; in mlx5i_dev_init() local543 addr_mod[0] = (ipriv->qpn >> 16) & 0xff; in mlx5i_dev_init()544 addr_mod[1] = (ipriv->qpn >> 8) & 0xff; in mlx5i_dev_init()545 addr_mod[2] = (ipriv->qpn) & 0xff; in mlx5i_dev_init()546 dev_addr_mod(dev, 1, addr_mod, sizeof(addr_mod)); in mlx5i_dev_init()
1701 u8 addr_mod[3]; in ipoib_dev_init_default() local1729 addr_mod[0] = (priv->qp->qp_num >> 16) & 0xff; in ipoib_dev_init_default()1730 addr_mod[1] = (priv->qp->qp_num >> 8) & 0xff; in ipoib_dev_init_default()1731 addr_mod[2] = (priv->qp->qp_num) & 0xff; in ipoib_dev_init_default()1732 dev_addr_mod(priv->dev, 1, addr_mod, sizeof(addr_mod)); in ipoib_dev_init_default()