Seastar
High performance C++ framework for concurrent servers
|
Virtio configuration.
#include <seastar/net/virtio.hh>
Public Types | |
using | value_list_type = boost::intrusive::list< basic_value, boost::intrusive::base_hook< list_base_hook >, boost::intrusive::constant_time_size< false > > |
using | option_group_list_type = boost::intrusive::list< option_group, boost::intrusive::base_hook< list_base_hook >, boost::intrusive::constant_time_size< false > > |
Public Member Functions | |
operator bool () const | |
Does the option group has any values contained in it? | |
bool | used () const |
const std::string & | name () const |
const value_list_type & | values () const |
value_list_type & | values () |
void | describe (options_descriptor &descriptor) const |
void | mutate (options_mutator &mutator) |
Public Attributes | |
program_options::value< std::string > | event_index |
Enable event-index feature (on / off). More... | |
program_options::value< std::string > | csum_offload |
Enable checksum offload feature (on / off). More... | |
program_options::value< std::string > | tso |
Enable TCP segment offload feature (on / off). More... | |
program_options::value< std::string > | ufo |
Enable UDP fragmentation offload feature (on / off). More... | |
program_options::value< unsigned > | virtio_ring_size |
Virtio ring size (must be power-of-two). More... | |
|
inherited |
Describe the content of this option group to the visitor.
The content is visited in a depth-first manner:
false
the entire content of the group, including all its subgroups and values are skipped and options_descriptor::visit_group_end() is called immediately. Otherwise visiting the content of the group proceeds.false
the value is skipped, otherwise visiting the value proceeds.
|
inherited |
Mutate the content of this option group by the visitor.
The visiting algorithm is identical to that of describe(), with the following differences:
true
if it did so and false
otherwise.program_options::value<std::string> seastar::net::virtio_options::csum_offload |
Enable checksum offload feature (on / off).
Default: on
.
program_options::value<std::string> seastar::net::virtio_options::event_index |
Enable event-index feature (on / off).
Default: on
.
program_options::value<std::string> seastar::net::virtio_options::tso |
Enable TCP segment offload feature (on / off).
Default: on
.
program_options::value<std::string> seastar::net::virtio_options::ufo |
Enable UDP fragmentation offload feature (on / off).
Default: on
.
program_options::value<unsigned> seastar::net::virtio_options::virtio_ring_size |
Virtio ring size (must be power-of-two).
Default: 256.