[OpenWrt-Devel] Port labels for DSA targets/devices

Jo-Philipp Wich jo at mein.io
Mon Apr 20 16:10:29 EDT 2020


Hi,

> Note that DSA devices might have additional separate devices labelled ethX
> as well, additional to the switch ports.

do these fullfill a similar role to swconfig's "CPU ports" ?

> E.g. ucidef_set_interfaces_lan_wan
> "lan1 lan2 lan3 lan4 lan5 lan6" "eth0 eth2"
> 
> So, this might become confusing quite quickly if we start to rename to ethY
> here.

Note that I wasn't proposing to use ethX as naming schema - I totally agree
that this would be confusing. I could've written:

  ucidef_add_dsa "sw0p1:wan" \
    "sw0p2:lan:4" "sw0p3:lan:3" "sw0p4:lan:2" "sw0p5:lan:1"

... as well.


~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200420/c9199256/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list