summaryrefslogtreecommitdiff
path: root/drivers/fpga/ice40-spi.c
diff options
context:
space:
mode:
authorHariprasad Kelam <hkelam@marvell.com>2021-02-11 21:28:34 +0530
committerDavid S. Miller <davem@davemloft.net>2021-02-11 14:55:04 -0800
commit3ad3f8f93c81f81d6e28b2e286b03669cc1fb3b0 (patch)
tree0fce23ded2cff9ff207df50e0c9a7f80cb68ed98 /drivers/fpga/ice40-spi.c
parentce7a6c3106de5724c45d555ed84acdd3930e8e71 (diff)
octeontx2-af: cn10k: MAC internal loopback support
MAC on CN10K silicon support loopback for selftest or debug purposes. This patch does necessary configuration to loopback packets upon receiving request from LMAC mapped RVU PF's netdev via mailbox. Also MAC (CGX) on OcteonTx2 silicon variants and MAC (RPM) on OcteonTx3 CN10K are different and loopback needs to be configured differently. Upper layer interface between RVU AF and PF netdev is kept same. Based on silicon variant appropriate fn() pointer is called to config the MAC. Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> Signed-off-by: Geetha sowjanya <gakula@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/ice40-spi.c')
0 files changed, 0 insertions, 0 deletions