Reduce the number of buffered packets when UE is in idle.
FIXME: Need to be adjusted when the number of clbuf is increased.
This commit is contained in:
parent
539d0c7bc5
commit
e5a0b1ff69
|
@ -109,7 +109,9 @@ typedef struct _sgw_bearer_t {
|
|||
|
||||
/* Pkts which will be buffered in case of UE-IDLE */
|
||||
c_uint32_t num_buffered_pkt;
|
||||
#define MAX_NUM_BUFFER_PKT 512
|
||||
|
||||
/* FIXME: The value should be depdendant on the clbuf number. */
|
||||
#define MAX_NUM_BUFFER_PKT 10
|
||||
pkbuf_t* buffered_pkts[MAX_NUM_BUFFER_PKT];
|
||||
|
||||
list_t tunnel_list;
|
||||
|
|
Loading…
Reference in New Issue