diff options
author | Hariprasad Kelam <[email protected]> | 2021-02-11 21:28:34 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-02-11 14:55:04 -0800 |
commit | 3ad3f8f93c81f81d6e28b2e286b03669cc1fb3b0 (patch) | |
tree | 0fce23ded2cff9ff207df50e0c9a7f80cb68ed98 /lib/memory-notifier-error-inject.c | |
parent | ce7a6c3106de5724c45d555ed84acdd3930e8e71 (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 <[email protected]>
Signed-off-by: Geetha sowjanya <[email protected]>
Signed-off-by: Sunil Goutham <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions