Skip to contentSkip to conversation

TODO - remove dependency on ifconfig

DISCUSSION Stephen Hemminger 3 participants 3 messages Jan 10, 2023 – Jan 11, 2023

lore
Share & tools
lore
#0 lore raw

It would be good if DTS and DPDK docs and test did not use the ifconfig command. Ifconfig is not maintained and is deprecated. Some distros have stopped shipping it. Ifconfig only used ioctl's and was never updated to handle the many kinds of interfaces and devices in Linux.

The documentation part is relatively straight forward, but there are lots of calls to ifconfig in DTS.

#1 lore raw
Quoted 7 lines · Stephen Hemminger

It would be good if DTS and DPDK docs and test did not use the ifconfig command. Ifconfig is not maintained and is deprecated. Some distros have stopped shipping it. Ifconfig only used ioctl's and was never updated to handle the many kinds of interfaces and devices in Linux.

The documentation part is relatively straight forward, but there are lots

Can you send patches for the doc?

Quoted 1 line

of calls to ifconfig in DTS.

Cc dts@ and people involved in dts cleaning up
Signature · 1 line
David Marchand
#2 lore raw

<snip>

Quoted 11 lines
Quoted 2 lines · Stephen Hemminger

It would be good if DTS and DPDK docs and test did not use the ifconfig

command.

Quoted 1 line

Ifconfig is not maintained and is deprecated. Some distros have stopped

shipping it.

Quoted 3 lines

Ifconfig only used ioctl's and was never updated to handle the many kinds of interfaces and devices in Linux.

Quoted 8 lines
Quoted 2 lines

The documentation part is relatively straight forward, but there are lots

Can you send patches for the doc?

Quoted 1 line

of calls to ifconfig in DTS.

Cc dts@ and people involved in dts cleaning up

We discussed this topic, the DTS patch that was merged in the last DPDK release does not need ifconfig. The future patches, for dpdk repo, will use 'ip' command.

The existing DTS tree will not be changed.

Quoted 4 lines

--
David Marchand