All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting up interfaces in loopback mode using SIOCETHTOOL
@ 2015-06-16 10:52 Ashutosh Tripathi
  2015-06-16 15:08 ` Skidmore, Donald C
  0 siblings, 1 reply; 2+ messages in thread
From: Ashutosh Tripathi @ 2015-06-16 10:52 UTC (permalink / raw)
  To: netdev

Hi All,

In spite of several days of trying to get information out of ethtool
source code, I could not get a way to set the loopback mode for
network interfaces. I was also referring to the driver code for ixgbe
devices to get more info on the support it provides to ethtool. In the
driver code, there seems to be a way to set the loopback mode. But I
had no idea how to refer to this code from user space.

The SIOCETHTOOL is pretty general purpose. There is a way to test the
interface in loopback mode via the command line interface. But I just
wanted to set the interface in loopback mode so that I could send
packets on the interface myself and stress the interface.

Please help me with any suggestion in this regard.

Thanks,
----
Ashutosh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-16 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16 10:52 Setting up interfaces in loopback mode using SIOCETHTOOL Ashutosh Tripathi
2015-06-16 15:08 ` Skidmore, Donald C

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.