projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net:hns: Add Hip06 "TSO(TCP Segment Offload)" support HNS Driver
[deliverable/linux.git]
/
drivers
/
net
/
ethernet
/
hisilicon
/
hns
/
hns_dsaf_ppe.c
diff --git
a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
index 7af0858f1fcbddd54935076964ddc9ec06c00fd9..b5e4c44fc9fbbb4be1f4c2d8e60d9fc15167aa92 100644
(file)
--- a/
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
+++ b/
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
@@
-19,6
+19,11
@@
#include "hns_dsaf_ppe.h"
#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])
{
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.030303 seconds
and
5
git commands to generate.