net/iavf: check Tx packet with correct UP and queue
authorTing Xu <ting.xu@intel.com>
Thu, 1 Jul 2021 11:41:23 +0000 (19:41 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 6 Jul 2021 02:58:15 +0000 (04:58 +0200)
commit3fd32df381f8efddd81bfcc5a384ebf9560ce1b8
treecab4827e383d597c9beb6f78954cf6eafbcf21f3
parent44d0a720a53863a1c9323fcded3223e4ee11ee6a
net/iavf: check Tx packet with correct UP and queue

Add check in the Tx packet preparation function, to guarantee that the
packet with specific user priority is distributed to the correct Tx
queue according to the configured Tx queue TC mapping.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_rxtx.c
drivers/net/iavf/iavf_rxtx.h
drivers/net/iavf/iavf_tm.c