> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Kirill Rybalchenko > Sent: Tuesday, January 9, 2018 11:37 PM > To: dev@dpdk.org > Cc: Rybalchenko, Kirill; Chilikin, Andrey; Xing, Beilei; Wu, Jingjing > Subject: [dpdk-dev] [PATCH v3] net/i40e: do not turn on flexible payload on > driver init > > Function i40e_GLQF_reg_init() overwrites global register for flexible payload, > forcing extraction of first 16 bytes of > L2/L3/L4 payload to the field vector even if flexible payload is not used by > an > application. Such unconditional turn on of flexible payload effectively > disables > ability to use outer IP Destination address for RSS/FDIR for tunnelled > packets, > as flexible payload overwrites outer IP destination address on the field > vector. > > Now flexible payload turned on only when flow director is enabled and > configured. > > v1: > Global registers will be set only when payload is enabled. > They will be reset if payload is disabled or on port reset (uninit). > > v2: > dev_init and dev_close disable flexible payload by default. > Flexible payload enabled selectively, only if appropriate PIT is set up. The > same > done for FDIR and for rte_flow API. > > v3: > Minor fix in comments. > > Signed-off-by: Kirill Rybalchenko <kirill.rybalche...@intel.com> Applied to dpdk-next-net-intel, with minor commit log changes.
/Helin