diff options
author | Luigi Rizzo <luigi@FreeBSD.org> | 2014-06-06 15:15:27 +0000 |
---|---|---|
committer | Luigi Rizzo <luigi@FreeBSD.org> | 2014-06-06 15:15:27 +0000 |
commit | 5c8c100428183898d6da327ab7b81f1d3aaa8b13 (patch) | |
tree | 29d80cd7aeb7d0d83070ee77072510a79416aedd /sys/net | |
parent | 89cc25561cb329c74971d89ca7cd99728e6b659d (diff) | |
download | src-5c8c100428183898d6da327ab7b81f1d3aaa8b13.tar.gz src-5c8c100428183898d6da327ab7b81f1d3aaa8b13.zip |
whitespace change: fix one comment, remove a stale one.
Notes
Notes:
svn path=/head/; revision=267167
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/netmap.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/net/netmap.h b/sys/net/netmap.h index 44a9de0dd68f..15ebf7372d33 100644 --- a/sys/net/netmap.h +++ b/sys/net/netmap.h @@ -124,7 +124,7 @@ * space with a parent device. The ifname indicates the parent device, * which must already exist. Flags in nr_flags indicate if we want to * bind the master or slave side, the index (from nr_ringid) - * is just a cookie and does need to be sequential. + * is just a cookie and does not need to be sequential. * * + NIOCREGIF can also attach to 'monitor' rings that replicate * the content of specific rings, also from the same memory space. @@ -228,7 +228,7 @@ struct netmap_slot { * 'head' and 'cur' must be incremented as slots are filled * with new packets to be sent; * 'cur' can be moved further ahead if we need more space - * for new transmissions. + * for new transmissions. XXX todo (2014-03-12) * * In RX rings: * @@ -454,20 +454,6 @@ struct netmap_if { /* * struct nmreq overlays a struct ifreq (just the name) - * - * On input, nr_ringid indicates which rings we are requesting, - * with the low flags for the specific ring number. - * selection FLAGS RING INDEX - * - * all the NIC rings 0x0000 - - * only HOST ring 0x2000 ring index - * single NIC ring 0x4000 - - * all the NIC+HOST rings 0x6000 - - * one pipe ring, master 0x8000 ring index - * *** INVALID 0xA000 - * one pipe ring, slave 0xC000 ring index - * *** INVALID 0xE000 - * */ struct nmreq { char nr_name[IFNAMSIZ]; |