net:hns: Add Hip06 "TSO(TCP Segment Offload)" support HNS Driver
[deliverable/linux.git] / drivers / net / ethernet / hisilicon / hns / hns_dsaf_ppe.c
index 7af0858f1fcbddd54935076964ddc9ec06c00fd9..b5e4c44fc9fbbb4be1f4c2d8e60d9fc15167aa92 100644 (file)
 
 #include "hns_dsaf_ppe.h"
 
+void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value)
+{
+       dsaf_set_dev_bit(ppe_cb, PPEV2_CFG_TSO_EN_REG, 0, !!value);
+}
+
 void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb,
                         const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM])
 {
This page took 0.034815 seconds and 5 git commands to generate.