Update 990-051-qca-nss-drv-add-qdisc-support.patch
Patch update for linux 6.x version
This commit is contained in:
@@ -13,8 +13,6 @@
|
|||||||
__u8 offload_l3_fwd_mark:1;
|
__u8 offload_l3_fwd_mark:1;
|
||||||
#endif
|
#endif
|
||||||
+#ifdef CONFIG_NET_CLS_ACT
|
+#ifdef CONFIG_NET_CLS_ACT
|
||||||
+ __u8 tc_skip_classify:1;
|
|
||||||
+ __u8 tc_at_ingress:1;
|
|
||||||
+ __u8 tc_skip_classify_offload:1;
|
+ __u8 tc_skip_classify_offload:1;
|
||||||
+ __u16 tc_verd_qca_nss;
|
+ __u16 tc_verd_qca_nss;
|
||||||
+#endif
|
+#endif
|
||||||
@@ -78,12 +76,12 @@
|
|||||||
+ dp = netdev_priv(dev);
|
+ dp = netdev_priv(dev);
|
||||||
+ txp = dp->tx_private;
|
+ txp = dp->tx_private;
|
||||||
+
|
+
|
||||||
+ u64_stats_update_begin(&txp->rsync);
|
+ u64_stats_update_begin(&txp->rx_stats.sync);
|
||||||
+ txp->rx_packets += offload_stats->rx_packets;
|
+ txp->rx_stats.packets += u64_stats_read(&offload_stats->rx_packets);
|
||||||
+ txp->rx_bytes += offload_stats->rx_bytes;
|
+ txp->rx_stats.bytes += u64_stats_read(&offload_stats->rx_bytes);
|
||||||
+ txp->tx_packets += offload_stats->tx_packets;
|
+ txp->tx_stats.packets += u64_stats_read(&offload_stats->tx_packets);
|
||||||
+ txp->tx_bytes += offload_stats->tx_bytes;
|
+ txp->tx_stats.bytes += u64_stats_read(&offload_stats->tx_bytes);
|
||||||
+ u64_stats_update_end(&txp->rsync);
|
+ u64_stats_update_end(&txp->rx_stats.sync);
|
||||||
+}
|
+}
|
||||||
+EXPORT_SYMBOL(ifb_update_offload_stats);
|
+EXPORT_SYMBOL(ifb_update_offload_stats);
|
||||||
+
|
+
|
||||||
|
|||||||
Reference in New Issue
Block a user