Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Protected Attributes | List of all members
seastar::net::device Class Referenceabstract

Public Member Functions

qpqueue_for_cpu (unsigned cpu)
 
qplocal_queue ()
 
void l2receive (packet p)
 
future receive (std::function< future<>(packet)> next_packet)
 
virtual ethernet_address hw_address ()=0
 
virtual net::hw_features hw_features ()=0
 
virtual rss_key_type rss_key () const
 
virtual uint16_t hw_queues_count ()
 
virtual future link_ready ()
 
virtual std::unique_ptr< qpinit_local_queue (const program_options::option_group &opts, uint16_t qid)=0
 
virtual unsigned hash2qid (uint32_t hash)
 
void set_local_queue (std::unique_ptr< qp > dev)
 
template<typename Func >
unsigned forward_dst (unsigned src_cpuid, Func &&hashfn)
 
virtual unsigned hash2cpu (uint32_t hash)
 

Protected Attributes

std::unique_ptr< qp *[]> _queues
 
size_t _rss_table_bits = 0
 

The documentation for this class was generated from the following file: