Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Den_port.c191 struct mlx4_cmd_mailbox *mailbox, *mailbox_priority; in mlx4_en_DUMP_ETH_STATS() local
202 mailbox_priority = mlx4_alloc_cmd_mailbox(mdev->dev); in mlx4_en_DUMP_ETH_STATS()
203 if (IS_ERR(mailbox_priority)) { in mlx4_en_DUMP_ETH_STATS()
205 return PTR_ERR(mailbox_priority); in mlx4_en_DUMP_ETH_STATS()
222 memset(mailbox_priority->buf, 0xff, in mlx4_en_DUMP_ETH_STATS()
226 memset(mailbox_priority->buf, 0, in mlx4_en_DUMP_ETH_STATS()
228 err = mlx4_cmd_box(mdev->dev, 0, mailbox_priority->dma, in mlx4_en_DUMP_ETH_STATS()
236 flowstats = mailbox_priority->buf; in mlx4_en_DUMP_ETH_STATS()
433 mlx4_free_cmd_mailbox(mdev->dev, mailbox_priority); in mlx4_en_DUMP_ETH_STATS()