Wiring down network interfaces

2016-06-27 Thread Pallav Bose via freebsd-net
Hi, How do I wire down network interfaces based on their PCI bus addresses? Example: I have the following network interfaces:# pciconf -l | grep bgebge0 at pci0:8:0:0:        class=0x02 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00bge1 at pci0:8:0:1:        class=0x02 card=0x200314e4

Re: Identify physical port given a network interface name on Dell PowerEdge servers?

2016-03-29 Thread Pallav Bose via freebsd-net
, 2016 3:56 PM, John Nielsen wrote: > On Mar 29, 2016, at 4:44 PM, John Nielsen wrote: > > >> On Mar 29, 2016, at 3:42 PM, Pallav Bose via freebsd-net >> wrote: >> >> Is there a way for me to identify which physical port corresponds to a given >>

Identify physical port given a network interface name on Dell PowerEdge servers?

2016-03-29 Thread Pallav Bose via freebsd-net
Hello, Is there a way for me to identify which physical port corresponds to a given interface name? For example, the input to my script/program is the network interface name, like bge0/ix0, and the output is the physical port which maps to this interface, like, LOM1/LOM2 or NIC1 port 1 (in case

Re: C program API to determine negotiated link speed of a network interface?

2016-02-12 Thread Pallav Bose via freebsd-net
Hi Ravi, That information you provided was very useful, thanks!  Regards, Pallav On Tuesday, February 9, 2016 2:51 PM, Pallav Bose wrote: Hi, I'm writing a C program to list all available interfaces and their link speed. I can use getifaddrs(3) to obtain a list of network interfaces i

C program API to determine negotiated link speed of a network interface?

2016-02-09 Thread Pallav Bose via freebsd-net
Hi, I'm writing a C program to list all available interfaces and their link speed. I can use getifaddrs(3) to obtain a list of network interfaces in a struct ifaddrs, but none of the fields in this struct gives me information about the negotiated link speed. From the man page of getifaddrs(3): T