Changeset 9364ced in mainline for uspace/drv/nic/virtio-net/virtio-net.h
- Timestamp:
- 2018-05-22T19:06:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1ba24a
- Parents:
- 5b5c286
- git-author:
- Jakub Jermar <jakub@…> (2018-05-20 10:35:33)
- git-committer:
- Jakub Jermar <jakub@…> (2018-05-22 19:06:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/virtio-net/virtio-net.h
r5b5c286 r9364ced 32 32 #include <virtio-pci.h> 33 33 34 #define RX_BUFFERS 8 35 #define TX_BUFFERS 8 36 #define CT_BUFFERS 4 37 34 38 /** Device handles packets with partial checksum. */ 35 39 #define VIRTIO_NET_F_CSUM (1U << 0) … … 47 51 typedef struct { 48 52 virtio_dev_t virtio_dev; 53 void *rx_buf[RX_BUFFERS]; 54 uintptr_t rx_buf_p[RX_BUFFERS]; 55 void *tx_buf[TX_BUFFERS]; 56 uintptr_t tx_buf_p[TX_BUFFERS]; 57 void *ct_buf[CT_BUFFERS]; 58 uintptr_t ct_buf_p[CT_BUFFERS]; 49 59 } virtio_net_t; 50 60
Note:
See TracChangeset
for help on using the changeset viewer.