History log of /openbmc/phosphor-networkd/ (Results 176 – 200 of 641)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
71de63a208-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr endianness functions

Change-Id: I3ceff6cbd6d1991dc6131d266fa61dbf76595fdb
Signed-off-by: William A. Kennington III <wak@google.com>

becda1aa03-Nov-2022 William A. Kennington III <wak@google.com>

types: hash_multi should take const refs

Change-Id: I933c13093e41aaecd68ed3e165df21c0e6973ead
Signed-off-by: William A. Kennington III <wak@google.com>

86eb8b7002-Nov-2022 William A. Kennington III <wak@google.com>

types: Simplify ostream operators

We don't really care if it derives from ostream, just take any type.

Change-Id: Ifab0b7bd4476ddecc7fe80923b82f012a2974f47
Signed-off-by: William A. Kennington III

types: Simplify ostream operators

We don't really care if it derives from ostream, just take any type.

Change-Id: Ifab0b7bd4476ddecc7fe80923b82f012a2974f47
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

653114fc02-Nov-2022 William A. Kennington III <wak@google.com>

types: Add hash function for IPs

Change-Id: I232443d68aee32eb1d52c98ceecccd43700397a1
Signed-off-by: William A. Kennington III <wak@google.com>

442d9e5c20-Oct-2022 Jian Zhang <zhangjian.3032@bytedance.com>

util: Add data ptr check to avoid crash

When the eth device is down, the data ptr is NULL,
so we should add a check to avoid crash.

Tested:
1. Let ncsi device down
`~# ip link set eth0 down`

2. Se

util: Add data ptr check to avoid crash

When the eth device is down, the data ptr is NULL,
so we should add a check to avoid crash.

Tested:
1. Let ncsi device down
`~# ip link set eth0 down`

2. Send a oem command to ncsi device, no crash.
```
ncsi-netlink -x 3 -p 0 -c 0 --oem-payload 00
Send OEM Command, CHANNEL : 0, PACKAGE : 0, IFINDEX: 3
Payload : 00
Response: No data
Failed to receive the message , RC : -1
```

Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
Change-Id: I1e1119f7891732a87b56a345dad8ec3549868bf7

show more ...

85dc57a507-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Make it possible to reload without refresh

Change-Id: I2bef32285cd620c93914907eb74864c5801258bf
Signed-off-by: William A. Kennington III <wak@google.com>

a7344c3a31-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink: Separate out gateway parsing

This same logic will get re-used by other code in a future change.

Change-Id: I28218b9defb64c15f24df989f46db255e6ce4045
Signed-off-by: William A. Kennington

rtnetlink: Separate out gateway parsing

This same logic will get re-used by other code in a future change.

Change-Id: I28218b9defb64c15f24df989f46db255e6ce4045
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

67b09da431-Oct-2022 William A. Kennington III <wak@google.com>

network_manager: Add a mapping of interface ids

Change-Id: Ib0543b53c8cce77a0cedd49a4094c20ad1a28312
Signed-off-by: William A. Kennington III <wak@google.com>

226cadaf28-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink_server: Also monitor links

Change-Id: Id172ae0390d23066940edba0c75e6a866ea71132
Signed-off-by: William A. Kennington III <wak@google.com>

c8e992f824-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink: Remove unnecessary copy

Change-Id: I14268a99b8587c6b46a36023d7f31e132345f6db
Signed-off-by: William A. Kennington III <wak@google.com>

2bd35d6726-Oct-2022 William A. Kennington III <wak@google.com>

routing_table: Cleanup types to avoid unnecessary conversions

Change-Id: I36d430b91d606df0afdae70e2da18ae750b1df04
Signed-off-by: William A. Kennington III <wak@google.com>

09f3a4ad25-Oct-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Merge VLAN into EthernetInterface

This simplifies the ethernet interface as it codepended on the vlan
interface to make VLANs. It also removes the naming dependency and
tracks VL

ethernet_interface: Merge VLAN into EthernetInterface

This simplifies the ethernet interface as it codepended on the vlan
interface to make VLANs. It also removes the naming dependency and
tracks VLANs by adapter type and parent indexes.

Change-Id: I8db09cc2474472e6d4a06c6be5cf0440ee48d132
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

29418efc08-Nov-2022 William A. Kennington III <wak@google.com>

rtnetlink_server: Fix edge triggering

We need to receive messages until there are no more pending or else we
will leave messages in the file descriptor.

Change-Id: I3f4a5a7e57ccca62be76591d47c8317d

rtnetlink_server: Fix edge triggering

We need to receive messages until there are no more pending or else we
will leave messages in the file descriptor.

Change-Id: I3f4a5a7e57ccca62be76591d47c8317d995e527e
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

f1289a0a24-Oct-2022 William A. Kennington III <wak@google.com>

netlink: Add common function for extracting payload

Change-Id: I809bd17d50ccb8a8f624b6117c088193f55e79de
Signed-off-by: William A. Kennington III <wak@google.com>

0bc39da324-Oct-2022 William A. Kennington III <wak@google.com>

netlink: Use refFrom instead of copyFrom

Change-Id: Ia40f7301a2c4cd4845fd89fcbac2192c597a2d7d
Signed-off-by: William A. Kennington III <wak@google.com>

5f165dcc24-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink_server: Use netlink parser code

Change-Id: I97a8fd1c692973a8ac97171dfaf309cfc9cfceb1
Signed-off-by: William A. Kennington III <wak@google.com>

93433c1625-Aug-2022 William A. Kennington III <wak@google.com>

network_config: Leverage a default network file

This will alleviate the need for pre-generating configuration files.
Required for fixing reading of DHCP attributes, as interfaces added by
newer firm

network_config: Leverage a default network file

This will alleviate the need for pre-generating configuration files.
Required for fixing reading of DHCP attributes, as interfaces added by
newer firmware versions will sometimes override old DHCP settings as
they are always read from the first file.

Tested: Ran on a real BMC, cleared the flash. Verified interfaces came
up with default settings and added configurations to the interfaces.

Change-Id: I5fe111be86b59b833d789abdaadee4a43f2e24d3
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

217bb3fd29-Sep-2022 William A. Kennington III <wak@google.com>

treewide: Move all sd-event to sdeventplus

Change-Id: I157d8b5cf4db96b75602efae55870950994dcc17
Signed-off-by: William A. Kennington III <wak@google.com>

7784856d26-Oct-2022 William A. Kennington III <wak@google.com>

test: Make mock syscalls take InterfaceInfo

This will make it easier to expand the parameters and plumb data through
the mock.

Change-Id: I5ca015a0494c092d9d247bbb2b7d0122c5e58fd8
Signed-off-by: Wi

test: Make mock syscalls take InterfaceInfo

This will make it easier to expand the parameters and plumb data through
the mock.

Change-Id: I5ca015a0494c092d9d247bbb2b7d0122c5e58fd8
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

fd862be809-Oct-2022 William A. Kennington III <wak@google.com>

system_queries: Get Interface Info from netlink

This reduces all of the interface information probing down to a single
netlink request for all the label + mac information needed to build an
ethernet

system_queries: Get Interface Info from netlink

This reduces all of the interface information probing down to a single
netlink request for all the label + mac information needed to build an
ethernet interface.

If we ever plumb the ethernet stats into dbus, we can get that
information with this same netlink code.

Change-Id: Ied8a73639dcd74bcfecda392905638573ab7970f
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

bb0eaccb21-Oct-2022 William A. Kennington III <wak@google.com>

types: Flesh out address comparison and string formatting

Change-Id: Ib505232e15e8db012d07759163f780b00ea4b7d3
Signed-off-by: William A. Kennington III <wak@google.com>

d298f93a17-Oct-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Refactor object creation args

We want to be able to pass a bunch of interface properties directly into
interface instead of querying them directly. This will be used later for
rt

ethernet_interface: Refactor object creation args

We want to be able to pass a bunch of interface properties directly into
interface instead of querying them directly. This will be used later for
rtnetlink enabled interface creation.

Change-Id: I93fbd460a8a54515e84c415f085548cb5528f231
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

3e471c5f27-Oct-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Reduce error logspam

Change-Id: I53c78556c576f60a6fc1ae74e90d50873f042c35
Signed-off-by: William A. Kennington III <wak@google.com>

2e09d27814-Oct-2022 William A. Kennington III <wak@google.com>

system_queries: Migrate system queries into a single place

This provides better separation of the DBus interface and the underlying
system interactions.

Change-Id: I8bf7a44c679ab065f959af19a00c2989

system_queries: Migrate system queries into a single place

This provides better separation of the DBus interface and the underlying
system interactions.

Change-Id: I8bf7a44c679ab065f959af19a00c29897c1d5c48
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

63e3970328-Oct-2022 William A. Kennington III <wak@google.com>

util: Remove unused strings

Change-Id: Id784ea375f3e76bad02db24ecab0e37665183d6d
Signed-off-by: William A. Kennington III <wak@google.com>

12345678910>>...26