All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
To: Wojciech Drewek <wojciech.drewek@intel.com>
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org
Subject: Re: [Intel-wired-lan] [PATCH net-next] ice: virtchnl rss hena support
Date: Thu, 10 Nov 2022 14:44:15 +0100	[thread overview]
Message-ID: <Y20ALyOpF2HbtuzU@localhost.localdomain> (raw)
In-Reply-To: <20221110130353.3040-1-wojciech.drewek@intel.com>

On Thu, Nov 10, 2022 at 02:03:53PM +0100, Wojciech Drewek wrote:
> From: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
> 
> Add support for 2 virtchnl msgs:
> VIRTCHNL_OP_SET_RSS_HENA
> VIRTCHNL_OP_GET_RSS_HENA_CAPS
> 
> The first one allows VFs to clear all previously programmed
> RSS configuration and customize it. The second one returns
> the RSS HENA bits allowed by the hardware.
> 
> Introduce ice_err_to_virt_err which converts kernel
> specific errors to virtchnl errors.
> 
> Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
> Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_vf_lib.c   |  24 ++++
>  .../ethernet/intel/ice/ice_vf_lib_private.h   |   1 +
>  drivers/net/ethernet/intel/ice/ice_virtchnl.c | 112 ++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_virtchnl.h |   2 +
>  4 files changed, 139 insertions(+)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_vf_lib.c b/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> index dfcf23cc7e55..2eaaa452f847 100644
> --- a/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> +++ b/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> @@ -699,6 +699,30 @@ void ice_dis_vf_qs(struct ice_vf *vf)
>  	ice_set_vf_state_qs_dis(vf);
>  }
> 
[...]

looks good;
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>

Thanks
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan@osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

WARNING: multiple messages have this Message-ID (diff)
From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
To: Wojciech Drewek <wojciech.drewek@intel.com>
Cc: netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org
Subject: Re: [Intel-wired-lan] [PATCH net-next] ice: virtchnl rss hena support
Date: Thu, 10 Nov 2022 14:44:15 +0100	[thread overview]
Message-ID: <Y20ALyOpF2HbtuzU@localhost.localdomain> (raw)
In-Reply-To: <20221110130353.3040-1-wojciech.drewek@intel.com>

On Thu, Nov 10, 2022 at 02:03:53PM +0100, Wojciech Drewek wrote:
> From: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
> 
> Add support for 2 virtchnl msgs:
> VIRTCHNL_OP_SET_RSS_HENA
> VIRTCHNL_OP_GET_RSS_HENA_CAPS
> 
> The first one allows VFs to clear all previously programmed
> RSS configuration and customize it. The second one returns
> the RSS HENA bits allowed by the hardware.
> 
> Introduce ice_err_to_virt_err which converts kernel
> specific errors to virtchnl errors.
> 
> Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
> Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_vf_lib.c   |  24 ++++
>  .../ethernet/intel/ice/ice_vf_lib_private.h   |   1 +
>  drivers/net/ethernet/intel/ice/ice_virtchnl.c | 112 ++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_virtchnl.h |   2 +
>  4 files changed, 139 insertions(+)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_vf_lib.c b/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> index dfcf23cc7e55..2eaaa452f847 100644
> --- a/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> +++ b/drivers/net/ethernet/intel/ice/ice_vf_lib.c
> @@ -699,6 +699,30 @@ void ice_dis_vf_qs(struct ice_vf *vf)
>  	ice_set_vf_state_qs_dis(vf);
>  }
> 
[...]

looks good;
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>

Thanks
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan@osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

  reply	other threads:[~2022-11-10 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10 13:03 [PATCH net-next] ice: virtchnl rss hena support Wojciech Drewek
2022-11-10 13:03 ` [Intel-wired-lan] " Wojciech Drewek
2022-11-10 13:44 ` Michal Swiatkowski [this message]
2022-11-10 13:44   ` Michal Swiatkowski
2022-11-14 10:50 ` patchwork-bot+netdevbpf
2022-11-14 10:50   ` [Intel-wired-lan] " patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y20ALyOpF2HbtuzU@localhost.localdomain \
    --to=michal.swiatkowski@linux.intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=netdev@vger.kernel.org \
    --cc=wojciech.drewek@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.