hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/arch/mips/include/asm/octeon/cvmx-helper-util.h
....@@ -45,29 +45,6 @@
4545 *cvmx_helper_interface_mode_to_string(cvmx_helper_interface_mode_t mode);
4646
4747 /**
48
- * Debug routine to dump the packet structure to the console
49
- *
50
- * @work: Work queue entry containing the packet to dump
51
- * Returns
52
- */
53
-extern int cvmx_helper_dump_packet(cvmx_wqe_t *work);
54
-
55
-/**
56
- * Setup Random Early Drop on a specific input queue
57
- *
58
- * @queue: Input queue to setup RED on (0-7)
59
- * @pass_thresh:
60
- * Packets will begin slowly dropping when there are less than
61
- * this many packet buffers free in FPA 0.
62
- * @drop_thresh:
63
- * All incoming packets will be dropped when there are less
64
- * than this many free packet buffers in FPA 0.
65
- * Returns Zero on success. Negative on failure
66
- */
67
-extern int cvmx_helper_setup_red_queue(int queue, int pass_thresh,
68
- int drop_thresh);
69
-
70
-/**
7148 * Setup Random Early Drop to automatically begin dropping packets.
7249 *
7350 * @pass_thresh:
....@@ -146,7 +123,7 @@
146123 *
147124 * @work: Work queue entry with packet to free
148125 */
149
-static inline void cvmx_helper_free_packet_data(cvmx_wqe_t *work)
126
+static inline void cvmx_helper_free_packet_data(struct cvmx_wqe *work)
150127 {
151128 uint64_t number_buffers;
152129 union cvmx_buf_ptr buffer_ptr;