Reference http://galsagie.github.io/2015/02/26/dpdk-tips-1/ https://www.ndsl.kaist.edu/~kyoungsoo/papers/TR-symRSS.pdf What is RSS? Receive side scaling (RSS) is a network driver technology that enables the efficient distribution of network receive processing across multiple CPUs in multiprocessor systems. What it does is issue a hash function with a predefined hash key on every packet coming in. The hash function takes the packet IP … Continue reading Receive side scaling (RSS)
Month: October 2020
IP Packet dump and related utilities
IP packet dump typedef std::basic_string<uint8_t> Packet; void hexdump(const Packet& pkt) { unsigned j=0; for(Packet::const_iterator i=pkt.begin(); i != pkt.end(); ++i) { printf("%02x ", *i); ++j; if(j==8) { printf(" "); } else if(j==16) { j=0; printf("\n"); } } printf("\n"); } ///////////////Alternate///////////////void hexdump(buf, size){ unsigned i; unsigned j=0; for (i=0; i< size; i++) { printf("%02x ", data_pkt[i]); j++; … Continue reading IP Packet dump and related utilities