numam-dpdk/config
Jiayu Hu e996506a1c lib/gro: add Generic Receive Offload API framework
Generic Receive Offload (GRO) is a widely used SW-based offloading
technique to reduce per-packet processing overhead. It gains
performance by reassembling small packets into large ones. This
patchset is to support GRO in DPDK. To support GRO, this patch
implements a GRO API framework.

To enable more flexibility to applications, DPDK GRO is implemented as
a user library. Applications explicitly use the GRO library to merge
small packets into large ones. DPDK GRO provides two reassembly modes.
One is called lightweight mode, the other is called heavyweight mode.
If applications want to merge packets in a simple way and the number
of packets is relatively small, they can use the lightweight mode.
If applications need more fine-grained controls, they can choose the
heavyweight mode.

rte_gro_reassemble_burst is the main reassembly API which is used in
lightweight mode and processes N packets at a time. For applications,
performing GRO in lightweight mode is simple. They just need to invoke
rte_gro_reassemble_burst. Applications can get GROed packets as soon as
rte_gro_reassemble_burst returns.

rte_gro_reassemble is the main reassembly API which is used in
heavyweight mode and tries to merge N inputted packets with the packets
in GRO reassembly tables. For applications, performing GRO in heavyweight
mode is relatively complicated. Before performing GRO, applications need
to create a GRO context object, which keeps reassembly tables of
desired GRO types, by rte_gro_ctx_create. Then applications can use
rte_gro_reassemble to merge packets. The GROed packets are in the
reassembly tables of the GRO context object. If applications want to get
them, applications need to manually flush them by flush API.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com>
2017-07-09 18:14:46 +02:00
..
common_armv8a_linuxapp update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
common_base lib/gro: add Generic Receive Offload API framework 2017-07-09 18:14:46 +02:00
common_bsdapp config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00
common_linuxapp config: enable vhost NUMA awareness by default 2017-06-30 18:07:50 +02:00
defconfig_arm64-armv8a-linuxapp-clang update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
defconfig_arm64-armv8a-linuxapp-gcc update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
defconfig_arm64-dpaa2-linuxapp-gcc event/dpaa2: add basic build infrastructure 2017-07-07 09:24:40 +02:00
defconfig_arm64-thunderx-linuxapp-gcc update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
defconfig_arm64-xgene1-linuxapp-gcc update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
defconfig_arm-armv7a-linuxapp-gcc config: enable vhost NUMA awareness by default 2017-06-30 18:07:50 +02:00
defconfig_i686-native-linuxapp-gcc net/ixgbe: enable ixgbe vector PMD for i686 2017-06-12 10:41:25 +01:00
defconfig_i686-native-linuxapp-icc net/avp: support driver registration 2017-04-04 19:02:18 +02:00
defconfig_ppc_64-power8-linuxapp-gcc config: enable AVP driver only on x86 64-bit 2017-04-19 15:37:37 +02:00
defconfig_x86_64-native-bsdapp-clang config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-bsdapp-gcc config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-linuxapp-clang config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-gcc config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-icc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
defconfig_x86_x32-native-linuxapp-gcc net/avp: support driver registration 2017-04-04 19:02:18 +02:00