diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-03-29 18:06:20 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-04-07 15:38:59 +0200 |
commit | 404123c2db798027e852480ed9c4accef9f1d9e6 (patch) | |
tree | 07f8ecc47704cfbc7759e19d0121acf201f7e6ba /drivers/net/virtio_net.c | |
parent | virtio_net: enable big packets for large MTU values (diff) | |
download | linux-404123c2db798027e852480ed9c4accef9f1d9e6.tar.xz linux-404123c2db798027e852480ed9c4accef9f1d9e6.zip |
virtio: allow drivers to validate features
Some drivers can't support all features in all configurations. At the
moment we blindly set FEATURES_OK and later FAILED. Support this better
by adding a callback drivers can use to do some early checks.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions