All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brelinski, TonyX <tonyx.brelinski@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [v4, 04/15] ice: Get switch config, scheduler config and device capabilities
Date: Fri, 23 Mar 2018 22:28:31 +0000	[thread overview]
Message-ID: <C25D919FD1849B409D8D987DDC7FCD261789F099@ORSMSX109.amr.corp.intel.com> (raw)
In-Reply-To: <20180320145819.19133-5-anirudh.venkataramanan@intel.com>

> -----Original Message-----
> From: Anirudh Venkataramanan
> [mailto:anirudh.venkataramanan at intel.com]
> Sent: Tuesday, March 20, 2018 7:58 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [v4, 04/15] ice: Get switch config, scheduler config and device
> capabilities
> 
> This patch adds to the initialization flow by getting switch configuration,
> scheduler configuration and device capabilities.
> 
> Switch configuration:
> On boot, an L2 switch element is created in the firmware per physical
> function. Each physical function is also mapped to a port, to which its switch
> element is connected. In other words, this switch can be visualized as an
> embedded vSwitch that can connect a physical functions's virtual station
> interfaces (VSIs) to the egress/ingress port. Egress/ingress filters will be
> eventually created and applied on this switch element.
> As part of the initialization flow, the driver gets configuration data from this
> switch element and stores it.
> 
> Scheduler configuration:
> The Tx scheduler is a subsystem responsible for setting and enforcing QoS.
> As part of the initialization flow, the driver queries and stores the default
> scheduler configuration for the given physical function.
> 
> Device capabilities:
> As part of initialization, the driver has to determine what the device is
> capable of (ex. max queues, VSIs, etc). This information is obtained from the
> firmware and stored by the driver.
> 
> CC: Shannon Nelson <shannon.nelson@oracle.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan@intel.com>
> Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
> ---
>  drivers/net/ethernet/intel/ice/Makefile         |   4 +-
>  drivers/net/ethernet/intel/ice/ice.h            |   2 +
>  drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | 209 ++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_common.c     | 231 ++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_common.h     |   2 +
>  drivers/net/ethernet/intel/ice/ice_sched.c      | 354
> ++++++++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_sched.h      |  42 +++
>  drivers/net/ethernet/intel/ice/ice_switch.c     | 158 +++++++++++
>  drivers/net/ethernet/intel/ice/ice_switch.h     |  28 ++
>  drivers/net/ethernet/intel/ice/ice_type.h       | 109 ++++++++
>  10 files changed, 1138 insertions(+), 1 deletion(-)  create mode 100644
> drivers/net/ethernet/intel/ice/ice_sched.c
>  create mode 100644 drivers/net/ethernet/intel/ice/ice_sched.h
>  create mode 100644 drivers/net/ethernet/intel/ice/ice_switch.c
>  create mode 100644 drivers/net/ethernet/intel/ice/ice_switch.h


Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>



  reply	other threads:[~2018-03-23 22:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 14:58 [Intel-wired-lan] [PATCH v4 00/15] Add ice driver Anirudh Venkataramanan
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 01/15] ice: Add basic driver framework for Intel(R) E800 Series Anirudh Venkataramanan
2018-03-23 22:34   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 02/15] ice: Add support for control queues Anirudh Venkataramanan
2018-03-23 22:34   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 03/15] ice: Start hardware initialization Anirudh Venkataramanan
2018-03-23 22:35   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 04/15] ice: Get switch config, scheduler config and device capabilities Anirudh Venkataramanan
2018-03-23 22:28   ` Brelinski, TonyX [this message]
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 05/15] ice: Get MAC/PHY/link info and scheduler topology Anirudh Venkataramanan
2018-03-23 22:37   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 06/15] ice: Initialize PF and setup miscellaneous interrupt Anirudh Venkataramanan
2018-03-23 22:39   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 07/15] ice: Add support for VSI allocation and deallocation Anirudh Venkataramanan
2018-03-23 22:42   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 08/15] ice: Add support for switch filter programming Anirudh Venkataramanan
2018-03-23 22:47   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 09/15] ice: Configure VSIs for Tx/Rx Anirudh Venkataramanan
2018-03-23 22:48   ` [Intel-wired-lan] [v4,09/15] " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 10/15] ice: Implement transmit and NAPI support Anirudh Venkataramanan
2018-03-23 22:50   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 11/15] ice: Add support for VLANs and offloads Anirudh Venkataramanan
2018-03-23 23:07   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 12/15] ice: Add stats and ethtool support Anirudh Venkataramanan
2018-03-23 23:08   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 13/15] ice: Update Tx scheduler tree for VSI multi-Tx queue support Anirudh Venkataramanan
2018-03-23 23:09   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 14/15] ice: Support link events, reset and rebuild Anirudh Venkataramanan
2018-03-23 23:43   ` [Intel-wired-lan] [v4, " Brelinski, TonyX
2018-03-20 14:58 ` [Intel-wired-lan] [PATCH v4 15/15] ice: Implement filter sync, NDO operations and bump version Anirudh Venkataramanan
2018-03-23 23:25   ` [Intel-wired-lan] [v4, " Brelinski, TonyX

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=C25D919FD1849B409D8D987DDC7FCD261789F099@ORSMSX109.amr.corp.intel.com \
    --to=tonyx.brelinski@intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /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.