Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2237340d authored by Bhaumik Bhatt's avatar Bhaumik Bhatt Committed by Gerrit - the friendly Code Review server
Browse files

mhi: dev: netdev: show skb chaining status for debug purposes



Use the stats debugfs file to check the status of SKB chaining.

Change-Id: Id8ff3878183f88bf14b4c772b78a3f997b41ddea
Signed-off-by: default avatarBhaumik Bhatt <bbhatt@codeaurora.org>
parent eca47d45
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -852,6 +852,9 @@ static int mhi_netdev_debugfs_stats_show(struct seq_file *m, void *d)
		   mhi_netdev->abuffers, mhi_netdev->kbuffers,
		   mhi_netdev->rbuffers);

	seq_printf(m, "chaining SKBs:%s\n", (mhi_netdev->chain) ?
		   "enabled" : "disabled");

	return 0;
}