]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: cn10k: Fixes CN10K RPM reference issue
authorGeetha sowjanya <gakula@marvell.com>
Tue, 16 Feb 2021 11:39:36 +0000 (17:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 21:59:47 +0000 (13:59 -0800)
commitc5fec0606095f5ccd2d5188856fc82a43d7d8fb5
tree4b18a369d59e9c66523b28a46c8babb3edae1720
parent147a0685b60156e298e5be98de42dc36127b3d42
octeontx2-af: cn10k: Fixes CN10K RPM reference issue

This patch fixes references to uninitialized variables and
debugfs entry name for CN10K platform and HW_TSO flag check.

Fixes: c2b4e0fc82d9 ("octeontx2-af: cn10k: MAC internal loopback support").
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
v1-v2
- Clear HW_TSO flag for 96xx B0 version.

This patch fixes the bug introduced by the commit
c2b4e0fc82d9 ("octeontx2-af: cn10k: MAC internal loopback support").
These changes are not yet merged into net branch, hence submitting
to net-next.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c