linux/drivers/net/ethernet/intel/ice
Anirudh Venkataramanan 1071a8358a ice: Implement virtchnl commands for AVF support
virtchnl is a protocol/interface specification that allows the Intel
"Adaptive Virtual Function (AVF)" driver (iavf.ko) to work with more than
one physical function driver. The AVF driver sends "virtchnl commands"
(control plane only) to the PF driver over mailbox queues and the PF driver
executes these commands and returns a result to the VF, again over mailbox.

This patch adds AVF support for the ice PF driver by implementing the
following virtchnl commands:

VIRTCHNL_OP_VERSION
VIRTCHNL_OP_GET_VF_RESOURCES
VIRTCHNL_OP_RESET_VF
VIRTCHNL_OP_ADD_ETH_ADDR
VIRTCHNL_OP_DEL_ETH_ADDR
VIRTCHNL_OP_CONFIG_VSI_QUEUES
VIRTCHNL_OP_ENABLE_QUEUES
VIRTCHNL_OP_DISABLE_QUEUES
VIRTCHNL_OP_ADD_ETH_ADDR
VIRTCHNL_OP_DEL_ETH_ADDR
VIRTCHNL_OP_CONFIG_VSI_QUEUES
VIRTCHNL_OP_ENABLE_QUEUES
VIRTCHNL_OP_DISABLE_QUEUES
VIRTCHNL_OP_REQUEST_QUEUES
VIRTCHNL_OP_CONFIG_IRQ_MAP
VIRTCHNL_OP_CONFIG_RSS_KEY
VIRTCHNL_OP_CONFIG_RSS_LUT
VIRTCHNL_OP_GET_STATS
VIRTCHNL_OP_ADD_VLAN
VIRTCHNL_OP_DEL_VLAN
VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
VIRTCHNL_OP_DISABLE_VLAN_STRIPPING

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-03 07:42:30 -07:00
..
ice_adminq_cmd.h ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice_common.c ice: Add handler to configure SR-IOV 2018-10-03 07:42:29 -07:00
ice_common.h ice: Add handler to configure SR-IOV 2018-10-03 07:42:29 -07:00
ice_controlq.c ice: Add support to detect SR-IOV capability and mailbox queues 2018-10-03 07:42:29 -07:00
ice_controlq.h ice: Add support to detect SR-IOV capability and mailbox queues 2018-10-03 07:42:29 -07:00
ice_devids.h ice: update branding strings and supported device ids 2018-09-28 11:16:36 -07:00
ice_ethtool.c ice: fix changing of ring descriptor size (ethtool -G) 2018-09-28 11:16:36 -07:00
ice_hw_autogen.h ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00
ice_lan_tx_rx.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_lib.c ice: Update VSI and queue management code to handle VF VSI 2018-10-03 07:42:29 -07:00
ice_lib.h ice: Add handler to configure SR-IOV 2018-10-03 07:42:29 -07:00
ice_main.c ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice_nvm.c ice: Update request resource command to latest specification 2018-08-28 10:17:06 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: Expand use of VSI handles part 2/2 2018-10-02 07:13:23 -07:00
ice_sched.h ice: Expand use of VSI handles part 2/2 2018-10-02 07:13:23 -07:00
ice_sriov.c ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00
ice_switch.c ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice_switch.h ice: Update VSI and queue management code to handle VF VSI 2018-10-03 07:42:29 -07:00
ice_txrx.c ice: Add support for Tx hang, Tx timeout and malicious driver detection 2018-08-28 10:58:42 -07:00
ice_txrx.h ice: Add support for dynamic interrupt moderation 2018-10-02 07:19:30 -07:00
ice_type.h ice: Update VSI and queue management code to handle VF VSI 2018-10-03 07:42:29 -07:00
ice_virtchnl_pf.c ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice_virtchnl_pf.h ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
ice.h ice: Implement virtchnl commands for AVF support 2018-10-03 07:42:30 -07:00
Makefile ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00