linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
Neerav Parikh 1f224ad2f7 i40e: Add ndo_get_phys_port_id() callback support
This patch adds a new API to get the port mac address from firmware.
It also adds support to the ndo_get_phys_port_id() callback to provide
port specific unique id to the netdev layer.
If the adapter has a valid per-port mac address then that
would be used for this purpose and is expected to be unique
on a per-port basis.

The information can be viewed by reading the phys_port_id
attribute in sysfs for each netdev or via IF netlink
interface.

Change-ID: I341fa6fff9c112f1f6d987189309e730e0b50e8b
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-07-16 11:57:22 -07:00
..
i40e_adminq_cmd.h i40e/i40evf: AdminQ API update for new FW 2014-06-11 08:47:35 -07:00
i40e_adminq.c i40e/i40evf: add ASQ write back timeout variable to AQ structure 2014-06-30 23:46:15 -07:00
i40e_adminq.h i40e/i40evf: add ASQ write back timeout variable to AQ structure 2014-06-30 23:46:15 -07:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e: Add ndo_get_phys_port_id() callback support 2014-07-16 11:57:22 -07:00
i40e_dcb_nl.c i40e: Separate out DCB capability and enabled flags 2014-06-11 08:48:15 -07:00
i40e_dcb.c i40e: Fix static checker warning 2014-03-06 18:41:50 -08:00
i40e_dcb.h i40e: implement DCB support infastructure 2014-01-17 19:13:04 -08:00
i40e_debugfs.c i40e: Add debugfs hooks to print current total FD filter count 2014-06-26 04:45:31 -07:00
i40e_diag.c i40e: Rework register diagnostic 2014-06-05 01:27:46 -07:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: Implement set_settings for ethtool 2014-07-02 19:02:22 -07:00
i40e_hmc.c i40e/i40evf: Fix code to accommodate i40e_register.h changes 2014-06-08 02:01:23 -07:00
i40e_hmc.h i40e/i40evf: Force a shifted '1' to be unsigned 2014-07-02 19:02:19 -07:00
i40e_lan_hmc.c i40e: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e: Add ndo_get_phys_port_id() callback support 2014-07-16 11:57:22 -07:00
i40e_nvm.c i40e: do not take NVM ownership for SR read 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_prototype.h i40e: Add ndo_get_phys_port_id() callback support 2014-07-16 11:57:22 -07:00
i40e_ptp.c i40e: remove linux/export.h header from i40e_ptp.c 2014-07-01 00:29:06 -07:00
i40e_register.h i40e/i40evf: i40e_register.h update 2014-06-19 20:22:02 -07:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e/i40evf: Do not free the dummy packet buffer synchronously 2014-07-02 19:02:18 -07:00
i40e_txrx.h i40e/i40evf: Do not free the dummy packet buffer synchronously 2014-07-02 19:02:18 -07:00
i40e_type.h i40e: Add ndo_get_phys_port_id() callback support 2014-07-16 11:57:22 -07:00
i40e_virtchnl_pf.c i40e: disable TPH 2014-07-02 19:02:20 -07:00
i40e_virtchnl_pf.h i40e: implement anti-spoofing for VFs 2014-06-08 23:52:33 -07:00
i40e_virtchnl.h i40e/i40evf: Clean up a few things 2014-06-08 02:01:26 -07:00
i40e.h i40e: Add ndo_get_phys_port_id() callback support 2014-07-16 11:57:22 -07:00
Makefile i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00