linux_dsm_epyc7002/drivers/net/ethernet/intel
Michal Swiatkowski ba0db585bd ice: Add more validation in ice_vc_cfg_irq_map_msg
Add few checks to validate msg from iavf driver.

Test if we have got enough q_vectors allocated in VSI connected with VF.
Add masks for itr_indx and msix_indx to avoid writing to reserved fieldi
of QINT. Clear q_vector->num_ring_rx/tx, without it we can increment this
value every time we send irq map msg from VF. So after second call this
value will be incorrect.

Decrement num_vectors from msg, because last vector in iavf msg is misc
vector (we don't set map for it).

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@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>
2019-05-04 14:18:27 -07:00
..
e1000 net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
e1000e net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
fm10k net: pass net_device argument to the eth_get_headlen 2019-04-23 18:36:34 +02:00
i40e i40e: Introduce recovery mode support 2019-05-03 14:34:01 -07:00
iavf net: pass net_device argument to the eth_get_headlen 2019-04-23 18:36:34 +02:00
ice ice: Add more validation in ice_vc_cfg_irq_map_msg 2019-05-04 14:18:27 -07:00
igb net: pass net_device argument to the eth_get_headlen 2019-04-23 18:36:34 +02:00
igbvf ethernet/intel: consolidate NAPI and NAPI exit 2018-11-21 10:35:23 -08:00
igc net: pass net_device argument to the eth_get_headlen 2019-04-23 18:36:34 +02:00
ixgb cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ixgbe net: pass net_device argument to the eth_get_headlen 2019-04-23 18:36:34 +02:00
ixgbevf net: pass net_device argument to the eth_get_headlen 2019-04-23 18:36:34 +02:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00
Kconfig ixgbe: fix Kconfig when driver is not a module 2019-01-04 14:02:16 -08:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00