summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-07-20 18:09:36 +0200
committerFlorin Coras <florin.coras@gmail.com>2023-07-27 16:35:34 +0000
commit6fc5311f41bfb66dab31956c4f98a9e5ad279899 (patch)
tree1fd91d9164f992e2e1540e0e5267f2ac5c06d4fc /src/vnet/session/session.h
parentf902ba534a1c6d9b7350cc2973866e4cd08598af (diff)
session: remove unused code
Type: improvement Change-Id: I7525aa81acf073707550b23541fdcc358b9bf49c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 9c08f1a4d04..6b6d1f64499 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -23,23 +23,6 @@
#include <svm/fifo_segment.h>
#include <vlib/dma/dma.h>
-#define foreach_session_input_error \
-_(NO_SESSION, "No session drops") \
-_(NO_LISTENER, "No listener for dst port drops") \
-_(ENQUEUED, "Packets pushed into rx fifo") \
-_(NOT_READY, "Session not ready packets") \
-_(FIFO_FULL, "Packets dropped for lack of rx fifo space") \
-_(EVENT_FIFO_FULL, "Events not sent for lack of event fifo space") \
-_(API_QUEUE_FULL, "Sessions not created for lack of API queue space") \
-
-typedef enum
-{
-#define _(sym,str) SESSION_ERROR_##sym,
- foreach_session_input_error
-#undef _
- SESSION_N_ERROR,
-} session_input_error_t;
-
typedef struct session_wrk_stats_
{
u32 errors[SESSION_N_ERRORS];