#
def657a3 |
| 26-Jan-2023 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: support crypto devices
Add support for crypto devices in the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamala
examples/pipeline: support crypto devices
Add support for crypto devices in the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
78dffe31 |
| 26-Jan-2023 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: streamline Ethernet device support
Streamline the Ethernet device support code and remove redundant code.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signe
examples/pipeline: streamline Ethernet device support
Streamline the Ethernet device support code and remove redundant code.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
607dd517 |
| 26-Jan-2023 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: streamline ring support
Remove redundant ring related code.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel
examples/pipeline: streamline ring support
Remove redundant ring related code.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
02d36ef6 |
| 26-Jan-2023 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: rework memory pool
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel
examples/pipeline: rework memory pool
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
8d54b1ec |
| 12-Aug-2022 |
Xuan Ding <xuan.ding@intel.com> |
ethdev: remove Rx header split port offload
As announced in the deprecation note, remove the Rx offload flag 'RTE_ETH_RX_OFFLOAD_HEADER_SPLIT' and 'split_hdr_size' field from the structure 'rte_eth_
ethdev: remove Rx header split port offload
As announced in the deprecation note, remove the Rx offload flag 'RTE_ETH_RX_OFFLOAD_HEADER_SPLIT' and 'split_hdr_size' field from the structure 'rte_eth_rxmode'. Meanwhile, the place where the examples and apps initialize the 'split_hdr_size' field, and where the drivers check if the 'split_hdr_size' value is 0 are also removed.
User can still use `RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT` for per-queue packet split offload, which is configured by 'rte_eth_rxseg_split'.
Signed-off-by: Xuan Ding <xuan.ding@intel.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
#
c0553219 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: remove obsolete tap command
Remove the tap CLI command, as the file descriptor I/O ports of the pipeline are now configured trough the I/O specification file.
Signed-off-by: Cris
examples/pipeline: remove obsolete tap command
Remove the tap CLI command, as the file descriptor I/O ports of the pipeline are now configured trough the I/O specification file.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
f31c80f8 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: rework link command
Rework the link CLI command for better alignment with the naming conventions used in the pipeline I/O specification file. Use the library linked list of device
examples/pipeline: rework link command
Rework the link CLI command for better alignment with the naming conventions used in the pipeline I/O specification file. Use the library linked list of devices and remove the application list.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
b9559f94 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: use pipeline name query API
Convert the CLI commands to use the pipeline name query API and remove the linked list of pipeline objects previously maintained by the application.
S
examples/pipeline: use pipeline name query API
Convert the CLI commands to use the pipeline name query API and remove the linked list of pipeline objects previously maintained by the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
d69c90c8 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: add pipeline name
Add an unique name to every pipeline. This enables the library to maintain a list of the existing pipeline objects, which can be queried by the application.
Signed-off-b
pipeline: add pipeline name
Add an unique name to every pipeline. This enables the library to maintain a list of the existing pipeline objects, which can be queried by the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
#
f23feb06 |
| 27-Nov-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: move table type registration to library
Move the table type registration for the well known table types from the application to the pipeline library.
Signed-off-by: Cristian Dumitrescu <c
pipeline: move table type registration to library
Move the table type registration for the well known table types from the application to the pipeline library.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
6e4a64c8 |
| 27-Nov-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: move port type registration to library
Move the port type registration for the well known port types from the application to the pipeline library.
Signed-off-by: Cristian Dumitrescu <cris
pipeline: move port type registration to library
Move the port type registration for the well known port types from the application to the pipeline library.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
295968d1 |
| 22-Oct-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to have 'rte_eth' prefix.
All internal components switched to using new names.
Syntax fixed on lines that this patch touches.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Wisam Jaddo <wisamm@nvidia.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
show more ...
|
#
1bb4a528 |
| 18-Oct-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: fix max Rx packet length
There is a confusion on setting max Rx packet length, this patch aims to clarify it.
'rte_eth_dev_configure()' API accepts max Rx packet size via 'uint32_t max_rx_p
ethdev: fix max Rx packet length
There is a confusion on setting max Rx packet length, this patch aims to clarify it.
'rte_eth_dev_configure()' API accepts max Rx packet size via 'uint32_t max_rx_pkt_len' field of the config struct 'struct rte_eth_conf'.
Also 'rte_eth_dev_set_mtu()' API can be used to set the MTU, and result stored into '(struct rte_eth_dev)->data->mtu'.
These two APIs are related but they work in a disconnected way, they store the set values in different variables which makes hard to figure out which one to use, also having two different method for a related functionality is confusing for the users.
Other issues causing confusion is: * maximum transmission unit (MTU) is payload of the Ethernet frame. And 'max_rx_pkt_len' is the size of the Ethernet frame. Difference is Ethernet frame overhead, and this overhead may be different from device to device based on what device supports, like VLAN and QinQ. * 'max_rx_pkt_len' is only valid when application requested jumbo frame, which adds additional confusion and some APIs and PMDs already discards this documented behavior. * For the jumbo frame enabled case, 'max_rx_pkt_len' is an mandatory field, this adds configuration complexity for application.
As solution, both APIs gets MTU as parameter, and both saves the result in same variable '(struct rte_eth_dev)->data->mtu'. For this 'max_rx_pkt_len' updated as 'mtu', and it is always valid independent from jumbo frame.
For 'rte_eth_dev_configure()', 'dev->data->dev_conf.rxmode.mtu' is user request and it should be used only within configure function and result should be stored to '(struct rte_eth_dev)->data->mtu'. After that point both application and PMD uses MTU from this variable.
When application doesn't provide an MTU during 'rte_eth_dev_configure()' default 'RTE_ETHER_MTU' value is used.
Additional clarification done on scattered Rx configuration, in relation to MTU and Rx buffer size. MTU is used to configure the device for physical Rx/Tx size limitation, Rx buffer is where to store Rx packets, many PMDs use mbuf data buffer size as Rx buffer size. PMDs compare MTU against Rx buffer size to decide enabling scattered Rx or not. If scattered Rx is not supported by device, MTU bigger than Rx buffer size should fail.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Somnath Kotur <somnath.kotur@broadcom.com> Acked-by: Huisong Li <lihuisong@huawei.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Hyong Youb Kim <hyonkim@cisco.com>
show more ...
|
#
e2b8dc52 |
| 23-Mar-2021 |
Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com> |
port: add file descriptor SWX port
Add the file descriptor input/output port type for the SWX pipeline. File descriptor port type provides interface with the kernel network stack. Example file descr
port: add file descriptor SWX port
Add the file descriptor input/output port type for the SWX pipeline. File descriptor port type provides interface with the kernel network stack. Example file descriptor port is TAP device.
Signed-off-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com> Signed-off-by: Churchill Khangar <churchill.khangar@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
66440b7b |
| 16-Feb-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
table: add wildcard match table type
Add the widlcard match/ACL table type for the SWX pipeline, which is used under the hood by the table instruction.
Signed-off-by: Cristian Dumitrescu <cristian.
table: add wildcard match table type
Add the widlcard match/ACL table type for the SWX pipeline, which is used under the hood by the table instruction.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Churchill Khangar <churchill.khangar@intel.com>
show more ...
|
#
77a41301 |
| 28-Jan-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
port: add ring SWX port
Add the ring input/output port type for the SWX pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
#
b77f6600 |
| 01-Oct-2020 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/pipeline: add new example application
Add new example application to showcase the API of the newly introduced SWX pipeline type.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@int
examples/pipeline: add new example application
Add new example application to showcase the API of the newly introduced SWX pipeline type.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|