commit | 1e09e5818b3a07ee824addf0d048df3797de687e | [log] [tgz] |
---|---|---|
author | Lukas Wunner <lukas@wunner.de> | Tue Mar 10 11:49:46 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 10 15:44:59 2020 -0700 |
tree | e55336a292a07d8e03f5a69b7087512d10dc2247 | |
parent | 62751b6808ec6bdc7622849815943cbc7377262a [diff] |
pktgen: Allow on loopback device When pktgen is used to measure the performance of dev_queue_xmit() packet handling in the core, it is preferable to not hand down packets to a low-level Ethernet driver as it would distort the measurements. Allow using pktgen on the loopback device, thus constraining measurements to core code. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: David S. Miller <davem@davemloft.net>