2013-04-19 10:34:40 +00:00
|
|
|
# BSD LICENSE
|
|
|
|
#
|
2017-03-30 21:00:57 +00:00
|
|
|
# Copyright 2013-2017 6WIND S.A.
|
2013-04-19 10:34:40 +00:00
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
|
|
|
#
|
|
|
|
# * Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# * Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in
|
|
|
|
# the documentation and/or other materials provided with the
|
|
|
|
# distribution.
|
|
|
|
# * Neither the name of 6WIND S.A. nor the names of its
|
|
|
|
# contributors may be used to endorse or promote products derived
|
|
|
|
# from this software without specific prior written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
PROJECT_NAME = DPDK
|
2014-10-15 19:43:41 +00:00
|
|
|
INPUT = doc/api/doxy-api-index.md \
|
2017-04-18 11:33:15 +00:00
|
|
|
drivers/crypto/scheduler \
|
2017-09-11 16:33:35 +00:00
|
|
|
drivers/net/bnxt \
|
2015-05-15 15:56:48 +00:00
|
|
|
drivers/net/bonding \
|
2017-01-30 18:27:25 +00:00
|
|
|
drivers/net/i40e \
|
|
|
|
drivers/net/ixgbe \
|
2017-10-10 10:18:14 +00:00
|
|
|
drivers/net/softnic \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_eal/common/include \
|
2014-10-28 12:50:48 +00:00
|
|
|
lib/librte_eal/common/include/generic \
|
2014-06-13 11:26:50 +00:00
|
|
|
lib/librte_acl \
|
2017-03-30 21:00:59 +00:00
|
|
|
lib/librte_bitratestats \
|
2015-08-11 16:09:44 +00:00
|
|
|
lib/librte_cfgfile \
|
2015-05-13 12:00:01 +00:00
|
|
|
lib/librte_cmdline \
|
2015-08-11 16:09:44 +00:00
|
|
|
lib/librte_compat \
|
2015-11-25 13:25:12 +00:00
|
|
|
lib/librte_cryptodev \
|
2014-05-29 10:12:14 +00:00
|
|
|
lib/librte_distributor \
|
2017-01-17 22:23:51 +00:00
|
|
|
lib/librte_efd \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_ether \
|
2016-11-18 02:00:38 +00:00
|
|
|
lib/librte_eventdev \
|
2017-10-24 17:28:00 +00:00
|
|
|
lib/librte_flow_classify \
|
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 05:46:44 +00:00
|
|
|
lib/librte_gro \
|
gso: add Generic Segmentation Offload API framework
Generic Segmentation Offload (GSO) is a SW technique to split large
packets into small ones. Akin to TSO, GSO enables applications to
operate on large packets, thus reducing per-packet processing overhead.
To enable more flexibility to applications, DPDK GSO is implemented
as a standalone library. Applications explicitly use the GSO library
to segment packets. To segment a packet requires two steps. The first
is to set proper flags to mbuf->ol_flags, where the flags are the same
as that of TSO. The second is to call the segmentation API,
rte_gso_segment(). This patch introduces the GSO API framework to DPDK.
rte_gso_segment() splits an input packet into small ones in each
invocation. The GSO library refers to these small packets generated
by rte_gso_segment() as GSO segments. Each of the newly-created GSO
segments is organized as a two-segment MBUF, where the first segment is a
standard MBUF, which stores a copy of packet header, and the second is an
indirect MBUF which points to a section of data in the input packet.
rte_gso_segment() reduces the refcnt of the input packet by 1. Therefore,
when all GSO segments are freed, the input packet is freed automatically.
Additionally, since each GSO segment has multiple MBUFs (i.e. 2 MBUFs),
the driver of the interface which the GSO segments are sent to should
support to transmit multi-segment packets.
The GSO framework clears the PKT_TX_TCP_SEG flag for both the input
packet, and all produced GSO segments in the event of success, since
segmentation in hardware is no longer required at that point.
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2017-10-07 14:56:39 +00:00
|
|
|
lib/librte_gso \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_hash \
|
2014-05-28 17:32:36 +00:00
|
|
|
lib/librte_ip_frag \
|
2015-02-24 16:33:23 +00:00
|
|
|
lib/librte_jobstats \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_kni \
|
2014-02-04 15:11:12 +00:00
|
|
|
lib/librte_kvargs \
|
2017-03-30 21:01:01 +00:00
|
|
|
lib/librte_latencystats \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_lpm \
|
|
|
|
lib/librte_mbuf \
|
2017-10-04 03:12:25 +00:00
|
|
|
lib/librte_member \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_mempool \
|
|
|
|
lib/librte_meter \
|
2017-03-30 21:00:57 +00:00
|
|
|
lib/librte_metrics \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_net \
|
2016-12-01 11:02:10 +00:00
|
|
|
lib/librte_pdump \
|
2014-06-04 18:08:35 +00:00
|
|
|
lib/librte_pipeline \
|
2014-06-04 18:08:19 +00:00
|
|
|
lib/librte_port \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_power \
|
2015-02-20 12:10:51 +00:00
|
|
|
lib/librte_reorder \
|
2013-04-19 10:34:40 +00:00
|
|
|
lib/librte_ring \
|
|
|
|
lib/librte_sched \
|
2014-06-04 18:08:27 +00:00
|
|
|
lib/librte_table \
|
2014-10-13 17:22:45 +00:00
|
|
|
lib/librte_timer \
|
|
|
|
lib/librte_vhost
|
2013-04-19 10:34:40 +00:00
|
|
|
FILE_PATTERNS = rte_*.h \
|
|
|
|
cmdline.h
|
2013-10-24 08:26:02 +00:00
|
|
|
PREDEFINED = __DOXYGEN__ \
|
2015-03-31 12:45:06 +00:00
|
|
|
__attribute__(x)=
|
2013-04-19 10:34:40 +00:00
|
|
|
|
|
|
|
OPTIMIZE_OUTPUT_FOR_C = YES
|
2013-11-05 11:09:12 +00:00
|
|
|
ENABLE_PREPROCESSING = YES
|
|
|
|
MACRO_EXPANSION = YES
|
|
|
|
EXPAND_ONLY_PREDEF = YES
|
2013-04-19 10:34:40 +00:00
|
|
|
EXTRACT_STATIC = YES
|
2014-09-17 16:11:12 +00:00
|
|
|
DISTRIBUTE_GROUP_DOC = YES
|
2013-04-19 10:34:40 +00:00
|
|
|
HIDE_UNDOC_MEMBERS = YES
|
|
|
|
HIDE_UNDOC_CLASSES = YES
|
|
|
|
HIDE_SCOPE_NAMES = YES
|
|
|
|
GENERATE_DEPRECATEDLIST = NO
|
|
|
|
VERBATIM_HEADERS = NO
|
|
|
|
ALPHABETICAL_INDEX = NO
|
|
|
|
|
|
|
|
HTML_TIMESTAMP = NO
|
|
|
|
HTML_DYNAMIC_SECTIONS = YES
|
|
|
|
SEARCHENGINE = NO
|
2015-04-29 10:47:47 +00:00
|
|
|
SORT_MEMBER_DOCS = NO
|
2015-04-22 16:10:02 +00:00
|
|
|
SOURCE_BROWSER = YES
|
2015-12-11 13:41:51 +00:00
|
|
|
|
|
|
|
EXAMPLE_PATH = examples
|
|
|
|
EXAMPLE_PATTERNS = *.c
|
|
|
|
EXAMPLE_RECURSIVE = YES
|