git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/hns3: fix vector Rx/Tx when PTP enabled
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_ptp.c
diff --git
a/drivers/net/hns3/hns3_ptp.c
b/drivers/net/hns3/hns3_ptp.c
index
9a829d7
..
1442241
100644
(file)
--- a/
drivers/net/hns3/hns3_ptp.c
+++ b/
drivers/net/hns3/hns3_ptp.c
@@
-125,6
+125,7
@@
hns3_timesync_enable(struct rte_eth_dev *dev)
if (pf->ptp_enable)
return 0;
+ hns3_warn(hw, "note: please ensure Rx/Tx burst mode is simple or common when enabling PTP!");
rte_spinlock_lock(&hw->lock);
ret = hns3_timesync_configure(hns, true);