net/ice: fix build when Rx descriptor size is 16
authorSimei Su <simei.su@intel.com>
Mon, 11 Oct 2021 08:35:52 +0000 (16:35 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 13 Oct 2021 10:33:17 +0000 (12:33 +0200)
commit250e2ed8d85d038ce864052ebd6f9af51db40df2
tree048acb062384440036d632edce96606a7cace0d0
parentc2450e933f01d4d31448240f7304730292db7ee8
net/ice: fix build when Rx descriptor size is 16

The Timestamp Overlay feature is available only in 32B Flex Descriptors.
This patch adds compile option when in 16B Flex Descriptors.

Fixes: 953e74e6b73a ("net/ice: enable Rx timestamp on flex descriptor")
Fixes: 646dcbe6c701 ("net/ice: support IEEE 1588 PTP")

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx.c