net/null: add argument for no Rx
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Mar 2020 17:36:45 +0000 (17:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:07 +0000 (13:57 +0200)
commitf51ecf2fe0013fd209b848894fa718fecdf8190c
tree67f2438533277160584d2828caadd821dae08a55
parent276bb4cec184a1ea88fe2e8361ee5aaa68ed168c
net/null: add argument for no Rx

Add an new device argument 'no-rx', which will prevent PMD receiving
packets.

This is useful for testing when a PMD is needed only to send packets to.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/null.rst
drivers/net/null/rte_eth_null.c