summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_prototype.h
diff options
context:
space:
mode:
authorShannon Nelson2014-12-11 08:06:30 +0100
committerJeff Kirsher2015-01-13 20:48:18 +0100
commit9fee9db5fb6a62ab1340a1dca43aa8e352cf49e2 (patch)
tree5f1ad48560c39d0ed63e9a73353bb0616421c3ac /drivers/net/ethernet/intel/i40e/i40e_prototype.h
parenti40e: remove VN2VN related mac filters (diff)
downloadkernel-qcow2-linux-9fee9db5fb6a62ab1340a1dca43aa8e352cf49e2.tar.gz
kernel-qcow2-linux-9fee9db5fb6a62ab1340a1dca43aa8e352cf49e2.tar.xz
kernel-qcow2-linux-9fee9db5fb6a62ab1340a1dca43aa8e352cf49e2.zip
i40e/i40evf: find partition_id in npar mode
When in NPAR mode the driver instance might be controlling the base partition or one of the other "fake" PFs. There are some things that can only be done by the base partition, aka partition_id 1. This code does a bit of work to find how many partitions are there per port and what is the current partition_id. Change-ID: Iba427f020a1983d02147d86f121b3627e20ee21d Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_prototype.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_prototype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_prototype.h b/drivers/net/ethernet/intel/i40e/i40e_prototype.h
index 2fb4306597e8..d1c7d6332c0f 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_prototype.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_prototype.h
@@ -71,6 +71,9 @@ i40e_status i40e_aq_get_firmware_version(struct i40e_hw *hw,
i40e_status i40e_aq_debug_write_register(struct i40e_hw *hw,
u32 reg_addr, u64 reg_val,
struct i40e_asq_cmd_details *cmd_details);
+i40e_status i40e_aq_debug_read_register(struct i40e_hw *hw,
+ u32 reg_addr, u64 *reg_val,
+ struct i40e_asq_cmd_details *cmd_details);
i40e_status i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags,
struct i40e_asq_cmd_details *cmd_details);
i40e_status i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 vsi_id,