net/i40e: add Tx preparation for simple Tx datapath
authorLeyi Rong <leyi.rong@intel.com>
Tue, 20 Apr 2021 05:29:45 +0000 (13:29 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 20 Apr 2021 14:01:15 +0000 (16:01 +0200)
commit146ffa81d05ec331b46a3980fe23b7a28cac142e
tree780fcf9ef2c66ce48f06d1b20a81ca405ed0745e
parent2d2cef5d4ff4464c91a8ebc53c03455edeae29b5
net/i40e: add Tx preparation for simple Tx datapath

Introduce i40e_simple_prep_pkts() as the preparation function for
simple Tx data path, as it's for sanity check for simple Tx.

Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/i40e/i40e_rxtx.c
drivers/net/i40e/i40e_rxtx.h