common/iavf: support eCPRI protocol header fields
authorJunfeng Guo <junfeng.guo@intel.com>
Mon, 14 Dec 2020 06:49:09 +0000 (14:49 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:06 +0000 (16:03 +0100)
commit37ab8bdcf099cdeb90a2f13517338bd2804f4616
treeaaae4bb812d5fbe009f91ea92a4750fa4d82707b
parente8326d35d14406df936164bbac171563555a888b
common/iavf: support eCPRI protocol header fields

Add eCPRI header and its field selectors, including MSG_TYPE, PCID
and RTCID. Since the offset of PCID is same as RTCID, we just add one
MACRO for these two fields. For MSG Type 0, ecpriRtcid/ecpriPcid field
within the eCPRI header will be extracted to Field Vector for FDIR and
RSS.

SPEC for eCPRI:
http://www.cpri.info/downloads/eCPRI_v_2.0_2019_05_10c.pdf

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/common/iavf/virtchnl.h