|
@@ -51,6 +51,16 @@ enum hdd_lro_rx_status hdd_lro_rx(struct hdd_context *hdd_ctx,
|
|
|
struct hdd_adapter *adapter, struct sk_buff *skb);
|
|
|
void hdd_lro_display_stats(struct hdd_context *hdd_ctx);
|
|
|
void hdd_disable_lro_in_concurrency(bool);
|
|
|
+/**
|
|
|
+ * hdd_disable_lro_for_low_tput() - enable/disable LRO based on tput
|
|
|
+ * hdd_ctx: hdd context
|
|
|
+ * disable: boolean to enable/disable LRO
|
|
|
+ *
|
|
|
+ * This API enables/disables LRO based on tput.
|
|
|
+ *
|
|
|
+ * Return: void
|
|
|
+ */
|
|
|
+void hdd_disable_lro_for_low_tput(struct hdd_context *hdd_ctx, bool disable);
|
|
|
#else
|
|
|
static inline int hdd_lro_init(struct hdd_context *hdd_ctx)
|
|
|
{
|
|
@@ -70,5 +80,10 @@ static inline void hdd_lro_display_stats(struct hdd_context *hdd_ctx)
|
|
|
static inline void hdd_disable_lro_in_concurrency(bool disable)
|
|
|
{
|
|
|
}
|
|
|
+
|
|
|
+static inline void
|
|
|
+hdd_disable_lro_for_low_tput(struct hdd_context *hdd_ctx, bool disable)
|
|
|
+{
|
|
|
+}
|
|
|
#endif /* FEATURE_LRO */
|
|
|
#endif /* __WLAN_HDD_LRO_H__ */
|