瀏覽代碼

core: Update low latency ipa logic with new chaining logic

The existing logic will update the priority of the head and the
first frag_list skbs leading to the other skbs being processes
with standard priority instead of the low latency.

CRs-Fixed: 3455954
Change-Id: Idbf29496fc76213ca91b6751ed7696bf2dddd226
Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected]>
Subash Abhinov Kasiviswanathan 2 年之前
父節點
當前提交
1e6b1b6544
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      core/rmnet_ll_ipa.c

+ 5 - 2
core/rmnet_ll_ipa.c

@@ -1,5 +1,5 @@
 /* Copyright (c) 2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. 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
@@ -87,7 +87,10 @@ static void rmnet_ll_ipa_rx(void *arg, void *rx_data)
 	while (tmp) {
 		/* Mark the SKB as low latency */
 		tmp->priority = 0xda1a;
-		tmp = skb_shinfo(tmp)->frag_list;
+		if (tmp == skb)
+			tmp = skb_shinfo(tmp)->frag_list;
+		else
+			tmp = tmp->next;
 	}
 
 	stats->rx_pkts++;