[roll] Roll fuchsia [netstack3] Make ethernet device ID numbers unique

Ethernet device IDs reference state via internal shared pointer. The
numeric values are almost entirely unused, and are completely invisible
to external code. Now that they are not used as indices into an IdMap
(and DeviceId is a shared pointer to the device state), and are
therefore only useful for debugging, make them unique over the lifetime
of the netstack by keeping a stack-wide counter and incrementing it for
each insertion. This trades off a slightly longer device removal time
(since removal now requires a linear scan) for ease of debugging.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/794002
Original-Revision: d791569cd75d5b8429c05e5239b31dd3f56e948c
GitOrigin-RevId: 1f437fdb2443a0d6624c4011ed63424805149d77
Change-Id: I3e02ffc69cc999ca0f9ba6b220971a362e9038c9
1 file changed
tree: 7654f943c79ca03c5cee2467bb52da53ba49c9b0
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.