liqinhuixm opened a new pull request, #11382:
URL: https://github.com/apache/nuttx/pull/11382

   ## Summary
   Initialize the MAC address of the virtio-net interfaces.
   
   Refers to 
https://docs.oasis-open.org/virtio/virtio/v1.2/cs01/virtio-v1.2-cs01.html#x1-2230004
    A driver SHOULD negotiate VIRTIO_NET_F_MAC if the device offers it.
    If the driver negotiates the VIRTIO_NET_F_MAC feature, the driver MUST
    set the physical address of the NIC to mac. Otherwise, it SHOULD use a
    locally-administered MAC address.
   
   ## Impact
   N/A
   ## Testing
   When we start the multiple virtio-net interfaces, and the MAC address of 
each interface can be configured.
   we can check it by the `ifconfig` command.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to