From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bowers, AndrewX Date: Fri, 10 Jul 2020 21:26:30 +0000 Subject: [Intel-wired-lan] [PATCH S48 v5 09/16] ice: Add support for per VF ctrl VSI enabling In-Reply-To: <20200710010644.33817-10-qi.z.zhang@intel.com> References: <20200710010644.33817-1-qi.z.zhang@intel.com> <20200710010644.33817-10-qi.z.zhang@intel.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > -----Original Message----- > From: Intel-wired-lan On Behalf Of Qi > Zhang > Sent: Thursday, July 9, 2020 6:07 PM > To: intel-wired-lan at lists.osuosl.org > Cc: Zhang, Qi Z > Subject: [Intel-wired-lan] [PATCH S48 v5 09/16] ice: Add support for per VF > ctrl VSI enabling > > We are going to enable FDIR configure for AVF through virtual channel. > The first step is to add helper functions to support control VSI setup. > A control VSI will be allocated for a VF when AVF creates its first FDIR rule > through ice_vf_ctrl_vsi_setup(). > The patch will also allocate FDIR rule space for VF's control VSI. > If a VF asks for flow director rules, then those should come entirely from the > best effort pool and not from the guaranteed pool. The patch allow a VF VSI > to have only space in the best effort rules. > > Signed-off-by: Xiaoyun Li > Signed-off-by: Yahui Cao > Signed-off-by: Qi Zhang > --- > drivers/net/ethernet/intel/ice/ice.h | 4 +- > drivers/net/ethernet/intel/ice/ice_lib.c | 64 > +++++++++++++++++++++--- > drivers/net/ethernet/intel/ice/ice_main.c | 9 +++- > drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 62 > +++++++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h | 2 + > 5 files changed, 130 insertions(+), 11 deletions(-) Tested-by: Andrew Bowers