linux-kernelorg-stable/drivers/net/ethernet
Brett Creeley 9e4ab4c29a ice: Add support for dynamic interrupt moderation
Currently there is no support for dynamic interrupt moderation. This
patch adds some initial code to support this. The following changes
were made:

1. Currently we are using multiple members to store the interrupt
   granularity (itr_gran_25/50/100/200). This is not necessary because
   we can query the device to determine what the interrupt granularity
   should be set to, done by a new function ice_get_itr_intrl_gran.

2. Added intrl to ice_q_vector structure to support interrupt rate
   limiting.

3. Added the function ice_intrl_usecs_to_reg for converting to a value
   in usecs that the device understands.

4. Added call to write to the GLINT_RATE register. Disable intrl by
   default for now.

5. Changed rx/tx_itr_setting to itr_setting because having both seems
   redundant because a ring is either Tx or Rx.

6. Initialize itr_setting for both Tx/Rx rings in ice_vsi_alloc_rings()

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-10-02 07:19:30 -07:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd net: ethernet: xgbe: expand PHY_GBIT_FEAUTRES 2018-10-01 22:55:36 -07:00
apm
apple
aquantia net: aquantia: Make function aq_fw1x_set_power() static 2018-09-28 10:25:11 -07:00
arc
atheros
aurora
broadcom net: systemport: Add software counters to track reallocations 2018-10-01 23:11:53 -07:00
brocade
cadence
calxeda
cavium
chelsio
cirrus
cisco
cortina
davicom
dec
dlink
emulex
ezchip
faraday
freescale net: phy: Add helper for advertise to lcl value 2018-10-01 22:55:36 -07:00
fujitsu
hisilicon net: hns3: Add support for enable/disable flow director 2018-10-01 22:57:45 -07:00
hp
huawei
i825xx
ibm
intel ice: Add support for dynamic interrupt moderation 2018-10-02 07:19:30 -07:00
marvell net: phy: Replace phy driver features u32 with link_mode bitmap 2018-10-01 22:55:36 -07:00
mediatek net: phy: Add helper for advertise to lcl value 2018-10-01 22:55:36 -07:00
mellanox net/mlx5: Cache the system image guid 2018-10-01 11:32:47 -07:00
micrel
microchip
moxa
mscc
myricom
natsemi
neterion
netronome nfp: warn on experimental TLV types 2018-10-01 22:49:30 -07:00
ni net: nixge: Address compiler warnings when building for i386 2018-10-01 22:48:08 -07:00
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qed: fix spelling mistake "b_cb_registred" -> "b_cb_registered" 2018-09-28 11:15:11 -07:00
qualcomm
rdc
realtek
renesas
rocker
samsung
seeq
sfc
sgi
silan
sis
smsc
socionext net: phy: Add helper for advertise to lcl value 2018-10-01 22:55:36 -07:00
stmicro
sun
synopsys
tehuti
ti
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c
netx-eth.c