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 <quic_subashab@quicinc.com>
Dieser Commit ist enthalten in:
Subash Abhinov Kasiviswanathan
2023-04-05 00:08:10 -07:00
Ursprung 0e2e5cc390
Commit 1e6b1b6544

Datei anzeigen

@@ -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++;