]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_ptp.c
net/hns3: fix vector Rx/Tx when PTP enabled
[dpdk.git] / drivers / net / hns3 / hns3_ptp.c
index 9a829d7011ad86293aa1a6dd3f50b0876749afb8..1442241a4eba862a0c035c4bc3ac194ee0769a98 100644 (file)
@@ -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);