net/hns3: fix IEEE 1588 PTP for scalar scattered Rx
authorMin Hu (Connor) <humin29@huawei.com>
Thu, 29 Apr 2021 09:19:03 +0000 (17:19 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 May 2021 14:48:18 +0000 (16:48 +0200)
commit4801f0403b58dcead23b778085f6180b7789bfac
tree9cb55e3542d6db3c30a57149be4918292fc4387d
parentc70d8e99fbde1830389be95ef2878767787bf2c6
net/hns3: fix IEEE 1588 PTP for scalar scattered Rx

When jumbo frame is enabled, Rx function will choose 'Scalar Scattered'
function which has no PTP handling.

This patch fixes it by adding PTP handling in 'Scalar Scattered'
function.

Fixes: 38b539d96eb6 ("net/hns3: support IEEE 1588 PTP")

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_rxtx.c