core: rmnet: Fastforward to 4.19 tip
This brings the RmNet and DFC modules up to date with the 4.19 tip as of commit 9b38611ea527 ("rmnet: Reduce synchronize_rcu calls"). As part of this, the rmnet_ctl driver was also incorporated, using commit 4ceee3aafb7d ("rmnet_ctl: Add IPC logging and optimizations") Change-Id: Ic45d46074c7401dfed408c769cfb6462dac0d4ee Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2013-2014, 2016-2019 The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2013-2014, 2016-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -28,6 +28,11 @@ struct rmnet_endpoint {
|
||||
struct hlist_node hlnode;
|
||||
};
|
||||
|
||||
struct rmnet_agg_stats {
|
||||
u64 ul_agg_reuse;
|
||||
u64 ul_agg_alloc;
|
||||
};
|
||||
|
||||
struct rmnet_port_priv_stats {
|
||||
u64 dl_hdr_last_qmap_vers;
|
||||
u64 dl_hdr_last_ep_id;
|
||||
@@ -41,14 +46,22 @@ struct rmnet_port_priv_stats {
|
||||
u64 dl_hdr_total_pkts;
|
||||
u64 dl_trl_last_seq;
|
||||
u64 dl_trl_count;
|
||||
struct rmnet_agg_stats agg;
|
||||
};
|
||||
|
||||
struct rmnet_egress_agg_params {
|
||||
u16 agg_size;
|
||||
u16 agg_count;
|
||||
u8 agg_count;
|
||||
u8 agg_features;
|
||||
u32 agg_time;
|
||||
};
|
||||
|
||||
struct rmnet_agg_page {
|
||||
struct list_head list;
|
||||
struct page *page;
|
||||
};
|
||||
|
||||
|
||||
/* One instance of this structure is instantiated for each real_dev associated
|
||||
* with rmnet.
|
||||
*/
|
||||
@@ -73,12 +86,16 @@ struct rmnet_port {
|
||||
struct timespec64 agg_last;
|
||||
struct hrtimer hrtimer;
|
||||
struct work_struct agg_wq;
|
||||
u8 agg_size_order;
|
||||
struct list_head agg_list;
|
||||
struct rmnet_agg_page *agg_head;
|
||||
|
||||
void *qmi_info;
|
||||
|
||||
/* dl marker elements */
|
||||
struct list_head dl_list;
|
||||
struct rmnet_port_priv_stats stats;
|
||||
int dl_marker_flush;
|
||||
|
||||
/* Descriptor pool */
|
||||
spinlock_t desc_pool_lock;
|
||||
@@ -137,6 +154,7 @@ struct rmnet_priv_stats {
|
||||
u64 csum_sw;
|
||||
u64 csum_hw;
|
||||
struct rmnet_coal_stats coal;
|
||||
u64 ul_prio;
|
||||
};
|
||||
|
||||
struct rmnet_priv {
|
||||
|
مرجع در شماره جدید
Block a user