> On 20. Nov 2023, at 23:06, Mike Karels wrote:
>
> On 20 Nov 2023, at 15:16, Franco Fichtner wrote:
>
>> All that is really missing is a way to print it via ifconfig command.
>
> That is trivial to add; I just tested it. It also has problems with
> epair. Maybe that isn't an issue for this
On 20 Nov 2023, at 15:16, Franco Fichtner wrote:
>> On 20. Nov 2023, at 21:56, Kristof Provost wrote:
>>
>> I’d look in the direction of just adding a field to struct ifnet with the
>> original interface name (likely easily done in if_attach()), along with a
>> new ioctl to retrieve that field.
On 20 Nov 2023, at 14:56, Kristof Provost wrote:
> On 20 Nov 2023, at 21:29, Mike Karels wrote:
>> On 19 Nov 2023, at 15:35, Mina Galić wrote:
>>> Hi Zhenlei,
>>>
>>>
Since it is just for physical devices, may I propose to have the driver
name in their groups ?
So an if_ure in
FWIW, here is the relevant ifinfo output of a sample machine:
# ifinfo | grep ^Interface
Interface igb0 (igb0):
Interface igb1 (igb1):
Interface igb2 (igb2):
Interface igb3 (igb3):
Interface enc0 (enc0):
Interface lo0 (lo0):
Interface pflog0 (pflog0):
Interface pfsync0 (pfsync0):
Interface lagg0 (
> On 20. Nov 2023, at 21:56, Kristof Provost wrote:
>
> I’d look in the direction of just adding a field to struct ifnet with the
> original interface name (likely easily done in if_attach()), along with a new
> ioctl to retrieve that field.
ifconfig_get_orig_name() already exists, but apart
On 20 Nov 2023, at 21:29, Mike Karels wrote:
> On 19 Nov 2023, at 15:35, Mina Galić wrote:
>> Hi Zhenlei,
>>
>>
>>> Since it is just for physical devices, may I propose to have the driver
>>> name in their groups ?
>>>
>>> So an if_ure interface ue0 will look like:
>>>
>>> ```
>>> ue0: flags=10088
> I have a proof of concept that makes the presumed original name
> (driver name + unit number) available to ifconfig, which prints
> the string with everything else in the standard output format.
> I don't think that is the right solution, but the other details
> should be easy. I'm tempted to
On 19 Nov 2023, at 15:35, Mina Galić wrote:
> Hi Zhenlei,
>
>
>> Since it is just for physical devices, may I propose to have the driver name
>> in their groups ?
>>
>> So an if_ure interface ue0 will look like:
>>
>> ```
>> ue0: flags=1008843 metric 0
>> mtu 1500
>>
>> options=60009b
>>
>> ethe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194485
Dries Michiels changed:
What|Removed |Added
Status|In Progress |Closed
Resolution|---