2018-03-20 22:58:05 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (c) 2018, Intel Corporation.
|
|
|
|
|
|
|
|
#
|
|
|
|
# Makefile for the Intel(R) Ethernet Connection E800 Series Linux Driver
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_ICE) += ice.o
|
|
|
|
|
2018-03-20 22:58:06 +08:00
|
|
|
ice-y := ice_main.o \
|
|
|
|
ice_controlq.o \
|
2018-03-20 22:58:07 +08:00
|
|
|
ice_common.o \
|
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 function'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>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-03-20 22:58:08 +08:00
|
|
|
ice_nvm.o \
|
|
|
|
ice_switch.o \
|
2018-03-20 22:58:13 +08:00
|
|
|
ice_sched.o \
|
2018-09-20 08:23:04 +08:00
|
|
|
ice_lib.o \
|
2018-03-20 22:58:16 +08:00
|
|
|
ice_txrx.o \
|
|
|
|
ice_ethtool.o
|
2018-09-20 08:42:57 +08:00
|
|
|
ice-$(CONFIG_PCI_IOV) += ice_virtchnl_pf.o ice_sriov.o
|
2019-03-01 07:24:22 +08:00
|
|
|
ice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_lib.o
|