Open sastel opened 1 month ago
So, is this PolarFire Loopback something specific of is Ethernet controller? If so your modification seems correct.
@pussuw could you please take a look?
Yes NETWORK_CONTROL_LOOPBACK_LOCAL
is a bit in the NETWORK_CONTROL
MAC register on MPFS.
@acassis on
nuttx-12.5.0
, switching onCONFIG_NET_LOOPBACK
to get thelo
localhost working breakseth0
interface so that I can no longer ping the board.The
mpfs_ethernet.c
file turns on theNETWORK_CONTROL_LOOPBACK_LOCAL
flag inmpfs_macconfig()
ifCONFIG_NET_LOOPBACK
is defined. I think that this is a misunderstanding of whatCONFIG_NET_LOOPBACK
is for.Proposed fix is below. I'd like to open a PR and merge this fix if the NuttX developers approve.