lib: fix uninitialized variables
Fix compilation errors caused by uninitialized variables. Signed-off-by: Krzysztof Witek <krzysztof.witek@6wind.com> Signed-off-by: Zijie Pan <zijie.pan@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
cddaf87a1e
commit
a75cc7772c
@ -336,8 +336,8 @@ eth_igb_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts,
|
||||
uint16_t tx_last;
|
||||
uint16_t nb_tx;
|
||||
uint16_t tx_ol_req;
|
||||
uint32_t new_ctx;
|
||||
uint32_t ctx;
|
||||
uint32_t new_ctx = 0;
|
||||
uint32_t ctx = 0;
|
||||
uint32_t vlan_macip_lens;
|
||||
|
||||
txq = tx_queue;
|
||||
|
@ -686,7 +686,7 @@ ixgbe_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts,
|
||||
uint16_t nb_used;
|
||||
uint16_t tx_ol_req;
|
||||
uint32_t vlan_macip_lens;
|
||||
uint32_t ctx;
|
||||
uint32_t ctx = 0;
|
||||
uint32_t new_ctx;
|
||||
|
||||
txq = tx_queue;
|
||||
|
Loading…
Reference in New Issue
Block a user