mirror_ubuntu-kernels/drivers/net/ethernet
Anirudh Venkataramanan 9c20346b63 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-26 10:14:57 -07:00
..
3com
8390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd
apm
apple
aquantia Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
arc
atheros
aurora
broadcom net: bcmgenet: Add support for adaptive RX coalescing 2018-03-25 20:48:25 -04:00
brocade
cadence
calxeda
cavium liquidio: Renamed txqs_start to start_txqs 2018-03-25 16:18:55 -04:00
chelsio cxgb4: support new ISSI flash parts 2018-03-25 21:08:32 -04:00
cirrus
cisco
cortina
davicom
dec
dlink
emulex
ezchip
faraday
freescale dpaa_eth: use true and false for boolean values 2018-03-23 13:17:11 -04:00
fujitsu
hisilicon net: hns3: hclge_inform_reset_assert_to_vf() can be static 2018-03-23 13:17:46 -04:00
hp
huawei
i825xx
ibm ibmvnic: Potential NULL dereference in clean_one_tx_pool() 2018-03-25 21:14:03 -04:00
intel ice: Get switch config, scheduler config and device capabilities 2018-03-26 10:14:57 -07:00
marvell net: mvpp2: use correct index on array mvpp2_pools 2018-03-22 14:48:25 -04:00
mediatek
mellanox mlxsw: spectrum_span: Prevent duplicate mirrors 2018-03-23 21:50:28 -04:00
micrel
microchip
moxa
myricom
natsemi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
neterion
netronome
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qed: Use true and false for boolean values 2018-03-23 13:17:11 -04:00
qualcomm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
rdc
realtek r8169: add helper tp_to_dev 2018-03-22 11:47:52 -04:00
renesas
rocker
samsung
seeq
sfc
sgi
silan
sis
smsc
socionext
stmicro
sun
synopsys
tehuti
ti Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c