This website requires JavaScript.
Explore
Help
Sign In
d
/
numam-dpdk
Watch
1
Star
0
Fork
0
You've already forked numam-dpdk
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
numam-dpdk
/
lib
/
librte_net
/
rte_net_version.map
7 lines
57 B
Plaintext
Raw
Normal View
History
Unescape
Escape
net: introduce net library Previously, librte_net only contained header files. Add a C file (empty for now) and generate a library. It will contain network helpers like checksum calculation, software packet type parser, ... Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-10-03 10:38:45 +02:00
DPDK_16.11 {
net: add function to get packet type from data Introduce the function rte_net_get_ptype() that parses a mbuf and returns its packet type. For now, the following packet types are parsed: L2: Ether L3: IPv4, IPv6 L4: TCP, UDP, SCTP The goal here is to provide a reference implementation for packet type parsing. This function will be used by testpmd in next commits, allowing to compare its result with the value given by the hardware. This function will also be useful when implementing Rx offload support in virtio pmd. Indeed, the virtio protocol gives the csum start and offset, but it does not give the L4 protocol nor it tells if the checksum is relevant for inner or outer. This information has to be known to properly set the ol_flags in mbuf. Signed-off-by: Didier Pallard <didier.pallard@6wind.com> Signed-off-by: Jean Dao <jean.dao@6wind.com> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-10-03 10:38:46 +02:00
global:
rte_net_get_ptype;
net: introduce net library Previously, librte_net only contained header files. Add a C file (empty for now) and generate a library. It will contain network helpers like checksum calculation, software packet type parser, ... Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-10-03 10:38:45 +02:00
local: *;
};
Reference in New Issue
Copy Permalink