[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC4WbQYt6K8xoHxviiGSsPRoEd7UX4Rhs0wkUvF+MPHG3yU2Aw@mail.gmail.com>
Date: Tue, 16 Jun 2015 16:22:12 +0530
From: Ashutosh Tripathi <azbycs@...il.com>
To: netdev@...r.kernel.org
Subject: Setting up interfaces in loopback mode using SIOCETHTOOL
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists