| 2382 | } |
| 2383 | |
| 2384 | static int vhost_user_set_log_fd(struct virtio_net **pdev, |
| 2385 | struct vhu_msg_context *ctx, |
| 2386 | int main_fd __rte_unused) |
| 2387 | { |
| 2388 | struct virtio_net *dev = *pdev; |
| 2389 | |
| 2390 | if (validate_msg_fds(dev, ctx, 1) != 0) |
| 2391 | return RTE_VHOST_MSG_RESULT_ERR; |
| 2392 | |
| 2393 | close(ctx->fds[0]); |
| 2394 | VHOST_LOG_CONFIG(dev->ifname, DEBUG, "not implemented.\n"); |
| 2395 | |
| 2396 | return RTE_VHOST_MSG_RESULT_OK; |
| 2397 | } |
| 2398 | |
| 2399 | /* |
| 2400 | * An rarp packet is constructed and broadcasted to notify switches about |
nothing calls this directly
no test coverage detected