Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dnetdev_rx.c310 struct hfi1_netdev_priv *priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_rx_init()
317 init_dummy_netdev(dd->dummy_netdev); in hfi1_netdev_rx_init()
318 res = hfi1_netdev_rxq_init(dd->dummy_netdev); in hfi1_netdev_rx_init()
331 struct hfi1_netdev_priv *priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_rx_destroy()
336 hfi1_netdev_rxq_deinit(dd->dummy_netdev); in hfi1_netdev_rx_destroy()
353 const int netdev_size = sizeof(*dd->dummy_netdev) + in hfi1_netdev_alloc()
357 dd->dummy_netdev = kcalloc_node(1, netdev_size, GFP_KERNEL, dd->node); in hfi1_netdev_alloc()
359 if (!dd->dummy_netdev) in hfi1_netdev_alloc()
362 priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_alloc()
373 if (dd->dummy_netdev) { in hfi1_netdev_free()
[all …]
Dnetdev.h72 struct hfi1_netdev_priv *priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_ctxt_count()
80 struct hfi1_netdev_priv *priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_get_ctxt()
88 struct hfi1_netdev_priv *priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_get_free_rmt_idx()
96 struct hfi1_netdev_priv *priv = hfi1_netdev_priv(dd->dummy_netdev); in hfi1_netdev_set_free_rmt_idx()
Dhfi.h1411 struct net_device *dummy_netdev; member