net/octeontx2: fix PTP and HIGIG2 coexistence
authorKiran Kumar K <kirankumark@marvell.com>
Tue, 14 Jan 2020 09:26:22 +0000 (14:56 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commit8dc4ff37fe8b7c656aafdf81360f2ef2cd0d94d3
treecab98b6adf365b6ad4b52d41ba951e07a73e6958
parentacbe92bdb2d25f47a690c917f577a0918ba562a1
net/octeontx2: fix PTP and HIGIG2 coexistence

octeontx2 PMD does not support both PTP and HIGIG2 together.
Added a check to enforce this and updated the Rx offload capabilities when
Higig2 mode enabled.

Fixes: 602009ee2dfb ("net/octeontx2: support HIGIG2")
Cc: stable@dpdk.org
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_ethdev.c
drivers/net/octeontx2/otx2_ptp.c