diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2017-11-24 15:54:01 +0000 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2017-11-24 15:57:32 +0000 |
commit | 3726dc50dd2a9873ac05847be80ca615ea4a708b (patch) | |
tree | e13139519f048b273cbe5ced963e98fc7d7b6ab5 /examples/l4fwd/main.c | |
parent | c1b4951ccc6c7c5c44dbfb1d01f86bc5ea0016c8 (diff) |
l4fwd: allow to specify TX payload contents for rxtx mode
Introduce a new command-line option that specifies the file
with response payload.
Change-Id: I1a208eeebe1d87970da23956fb08949abf601422
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'examples/l4fwd/main.c')
-rw-r--r-- | examples/l4fwd/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/l4fwd/main.c b/examples/l4fwd/main.c index c43b8d7..ff572be 100644 --- a/examples/l4fwd/main.c +++ b/examples/l4fwd/main.c @@ -73,6 +73,11 @@ static const struct rte_eth_conf port_conf_default = { }, }; +struct tx_content tx_content = { + .sz = 0, + .data = NULL, +}; + /* function pointers */ static TLE_RX_BULK_FUNCTYPE tle_rx_bulk; static TLE_TX_BULK_FUNCTYPE tle_tx_bulk; |