Lines Matching refs:net_device_ctx
37 struct net_device_context *net_device_ctx = netdev_priv(ndev);
38 struct hv_device *dev = net_device_ctx->device_ctx;
39 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev);
45 net_device_ctx->data_path_is_vf = vf;
88 net_device_ctx->data_path_is_vf = vf;
692 struct net_device_context *net_device_ctx = netdev_priv(ndev);
694 = rtnl_dereference(net_device_ctx->nvdev);
709 RCU_INIT_POINTER(net_device_ctx->nvdev, NULL);
1397 struct net_device_context *net_device_ctx = netdev_priv(ndev);
1411 netif_err(net_device_ctx, rx_err, ndev,
1419 netif_err(net_device_ctx, rx_err, ndev,
1427 netif_err(net_device_ctx, rx_err, ndev,
1434 netif_err(net_device_ctx, rx_err, ndev,
1445 netif_err(net_device_ctx, rx_err, ndev,
1462 netif_err(net_device_ctx, rx_err, ndev,
1475 netif_err(net_device_ctx, rx_err, ndev,
1510 struct net_device_context *net_device_ctx = netdev_priv(ndev);
1548 net_device_ctx->tx_table[i] = tab[i];
1555 struct net_device_context *net_device_ctx = netdev_priv(ndev);
1564 net_device_ctx->vf_alloc = nvmsg->msg.v4_msg.vf_assoc.allocated;
1565 net_device_ctx->vf_serial = nvmsg->msg.v4_msg.vf_assoc.serial;
1567 if (net_device_ctx->vf_alloc)
1568 complete(&net_device_ctx->vf_add);
1571 net_device_ctx->vf_serial,
1572 net_device_ctx->vf_alloc ? "added" : "removed");
1723 struct net_device_context *net_device_ctx = netdev_priv(ndev);
1730 net_device_ctx->tx_table[i] = 0;
1802 rcu_assign_pointer(net_device_ctx->nvdev, net_device);
1807 RCU_INIT_POINTER(net_device_ctx->nvdev, NULL);