LCOV - code coverage report
Current view: top level - lib/node - null.c (source / functions) Hit Total Coverage
Test: Code coverage Lines: 1 3 33.3 %
Date: 2024-12-01 18:57:19 Functions: 1 2 50.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: BSD-3-Clause
       2                 :            :  * Copyright(C) 2020 Marvell International Ltd.
       3                 :            :  */
       4                 :            : 
       5                 :            : #include <rte_graph.h>
       6                 :            : 
       7                 :            : static uint16_t
       8                 :          0 : null(struct rte_graph *graph, struct rte_node *node, void **objs,
       9                 :            :         uint16_t nb_objs)
      10                 :            : {
      11                 :            :         RTE_SET_USED(node);
      12                 :            :         RTE_SET_USED(objs);
      13                 :            :         RTE_SET_USED(graph);
      14                 :            : 
      15                 :          0 :         return nb_objs;
      16                 :            : }
      17                 :            : 
      18                 :            : static struct rte_node_register null_node = {
      19                 :            :         .name = "null",
      20                 :            :         .process = null,
      21                 :            : };
      22                 :            : 
      23                 :        251 : RTE_NODE_REGISTER(null_node);

Generated by: LCOV version 1.14