Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c540 u8 addr_mod[3]; in mlx5i_dev_init() local
543 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()
/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1701 u8 addr_mod[3]; in ipoib_dev_init_default() local
1729 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()