[PATCH net-next 03/10] net: hns: add attribute port-idx-in-ae in enet node.

2016-04-27 Thread Yisen Zhuang
This patch parse port-idx-in-ae in enet node. port-idx-in-ae: is the index of port provided by AE. In NIC mode of DSAF, all 6 PHYs of service DSAF are taken as ethernet ports to the CPU. The port-idx-in-ae can be 0 to 5. Here is the diagram: +-+---+ |

[PATCH net-next 03/10] net: hns: add attribute port-idx-in-ae in enet node.

2016-04-22 Thread Yisen Zhuang
This patch parses port-idx-in-ae in enet node. In NIC mode of DSAF, all 6 PHYs of service DSAF are taken as ethernet ports to the CPU. The port-idx-in-ae can be 0 to 5. Here is the diagram: +-+---+ |CPU | +-+-+-+---+-+-+-+-+-+-+