Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dport.c699 int reset_qkey_viols; in mlx4_common_set_port() local
859 reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40; in mlx4_common_set_port()
862 reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1; in mlx4_common_set_port()
890 *(u8 *) inbox->buf |= !!reset_qkey_viols << 6; in mlx4_common_set_port()
893 ((u8 *) inbox->buf)[3] |= !!reset_qkey_viols; in mlx4_common_set_port()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmain.c842 static int mlx4_ib_SET_PORT(struct mlx4_ib_dev *dev, u8 port, int reset_qkey_viols, in mlx4_ib_SET_PORT() argument
853 *(u8 *) mailbox->buf = !!reset_qkey_viols << 6; in mlx4_ib_SET_PORT()
856 ((u8 *) mailbox->buf)[3] = !!reset_qkey_viols; in mlx4_ib_SET_PORT()