MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx4_dev_set_link_up

Function mlx4_dev_set_link_up

dpdk/drivers/net/mlx4/mlx4_ethdev.c:316–322  ·  view source on GitHub ↗

* DPDK callback to bring the link UP. * * @param dev * Pointer to Ethernet device structure. * * @return * 0 on success, negative errno value otherwise and rte_errno is set. */

Source from the content-addressed store, hash-verified

314 * 0 on success, negative errno value otherwise and rte_errno is set.
315 */
316int
317mlx4_dev_set_link_up(struct rte_eth_dev *dev)
318{
319 struct mlx4_priv *priv = dev->data->dev_private;
320
321 return mlx4_dev_set_link(priv, 1);
322}
323
324/**
325 * Supported Rx mode toggles.

Callers 1

mlx4_pci_probeFunction · 0.85

Calls 1

mlx4_dev_set_linkFunction · 0.85

Tested by

no test coverage detected