|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
f23feb06 |
| 27-Nov-2021 |
Cristian Dumitrescu <[email protected]> |
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 <[email protected]> Signed-off-by: Yogesh Jangra <[email protected]>
show more ...
|
| #
6e4a64c8 |
| 27-Nov-2021 |
Cristian Dumitrescu <[email protected]> |
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 <[email protected]> Signed-off-by: Yogesh Jangra <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
295968d1 |
| 22-Oct-2021 |
Ferruh Yigit <[email protected]> |
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 <[email protected]> Acked-by: Tyler Retzlaff <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Jerin Jacob <[email protected]> Acked-by: Wisam Jaddo <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Chenbo Xia <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Somnath Kotur <[email protected]>
show more ...
|
| #
1bb4a528 |
| 18-Oct-2021 |
Ferruh Yigit <[email protected]> |
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 <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Somnath Kotur <[email protected]> Acked-by: Huisong Li <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Hyong Youb Kim <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
e2b8dc52 |
| 23-Mar-2021 |
Venkata Suresh Kumar P <[email protected]> |
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 <[email protected]> Signed-off-by: Churchill Khangar <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
66440b7b |
| 16-Feb-2021 |
Cristian Dumitrescu <[email protected]> |
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 <[email protected]> Signed-off-by: Churchill Khangar <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
77a41301 |
| 28-Jan-2021 |
Cristian Dumitrescu <[email protected]> |
port: add ring SWX port
Add the ring input/output port type for the SWX pipeline.
Signed-off-by: Cristian Dumitrescu <[email protected]>
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
b77f6600 |
| 01-Oct-2020 |
Cristian Dumitrescu <[email protected]> |
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 <[email protected]>
show more ...
|