summaryrefslogtreecommitdiff
path: root/lib/node/ethdev_ctrl.c
AgeCommit message (Collapse)Author
2024-02-19node: add next node to ethdev Rx nodeRakesh Kudurumalla
By default all packets received on ethdev_rx node is forwarded to pkt_cls node.This patch provides library support to add a new node as next node to ethdev_rx node and forward packet to new node from rx node. Signed-off-by: Rakesh Kudurumalla <[email protected]> Acked-by: Sunil Kumar Kori <[email protected]>
2023-06-12lib: add IPv6 rewrite nodeAmit Prakash Shukla
Similar to IPv4 rewrite node, patch adds IPv6 rewrite node. Signed-off-by: Amit Prakash Shukla <[email protected]> Acked-by: Nithin Dabilpuram <[email protected]>
2023-06-12node: remove hardcoded next node details from ethdev RxVamsi Attunuru
For ethdev_rx node, node_next details can be populated during node cloning time and same gets assigned to node context structure during node initialization. Patch removes overriding node_next details in node init(). Signed-off-by: Vamsi Attunuru <[email protected]> Acked-by: Nithin Dabilpuram <[email protected]>
2022-10-10node: check Rx element allocationShiqi Liu
As the possible failure of the malloc(), the not_checked and checked could be NULL pointer. Therefore, it should be better to check it in order to avoid the dereference of the NULL pointer. Fixes: fa8054c8c889 ("examples/eventdev: add thread safe Tx worker pipeline") Cc: [email protected] Signed-off-by: Shiqi Liu <[email protected]>
2022-09-21eal: remove unneeded includes from a public headerDmitry Kozlyuk
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directly from the files that need them. Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Bruce Richardson <[email protected]>
2022-02-22lib: remove unneeded header includesSean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey <[email protected]>
2021-04-21lib: remove librte_ prefix from directory namesBruce Richardson
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal' Signed-off-by: Bruce Richardson <[email protected]>