Changeset 121ee4fd in mainline


Ignore:
Timestamp:
2018-05-30T21:05:31Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
848e880f
Parents:
0d3bfb9e
git-author:
Jakub Jermar <jakub@…> (2018-05-30 21:05:28)
git-committer:
Jakub Jermar <jakub@…> (2018-05-30 21:05:31)
Message:

Add least effort virtio_net_send implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/virtio-net/virtio-net.c

    r0d3bfb9e r121ee4fd  
    252252}
    253253
     254static void virtio_net_send(nic_t *nic, void *data, size_t size)
     255{
     256        // TODO
     257}
     258
    254259static errno_t virtio_net_on_broadcast_mode_change(nic_t *nic,
    255260    nic_broadcast_mode_t new_mode)
     
    283288        ddf_fun_set_ops(fun, &virtio_net_dev_ops);
    284289
     290        nic_set_send_frame_handler(nic, virtio_net_send);
    285291        nic_set_filtering_change_handlers(nic, NULL, NULL,
    286292            virtio_net_on_broadcast_mode_change, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.