mirror_ubuntu-kernels/drivers/net/ethernet/intel/i40e
Mitch Williams 588aefa081 i40e: support VF link state ndo
This netdev op allows the PF driver to control the virtual link state of
the VF devices. This can be used to deny naughty VF drivers access to
the wire, or to allow VFs (regardless of temperament) to communicate
with each other over the device's internal switch even though external
link is down.

Add the actual ndo function, and modify vc_notify_link_state to check
the link status of each VF before sending a message in the case when
physical link changes state.

Change-ID: Ib5a6924da78c540789f21d26b5e8086d71c29384
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-19 13:46:39 -07:00
..
i40e_adminq_cmd.h i40e: updates to AdminQ interface 2014-01-16 17:20:51 -08:00
i40e_adminq.c i40evf: clean up memsets 2014-02-13 17:27:28 -05:00
i40e_adminq.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e/i40evf: i40e implementation for skb_set_hash 2014-03-06 18:41:31 -08:00
i40e_dcb_nl.c i40e: add DCB and DCBNL support 2014-01-17 19:13:04 -08: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 code to handle FD table full condition 2014-03-14 16:30:03 -07:00
i40e_diag.c i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
i40e_hmc.c i40e: use assignment instead of memcpy 2014-01-10 16:30:31 -08:00
i40e_hmc.h i40e: Cleanup Doxygen warnings 2014-01-10 16:30:33 -08:00
i40e_lan_hmc.c i40e: trivial cleanup 2014-01-14 18:56:00 -08:00
i40e_lan_hmc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_main.c i40e: support VF link state ndo 2014-03-19 13:46:39 -07:00
i40e_nvm.c i40e: clean up comment style 2014-03-06 18:41:36 -08:00
i40e_osdep.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_prototype.h i40e/i40evf: i40e implementation for skb_set_hash 2014-03-06 18:41:31 -08:00
i40e_ptp.c i40e: enable PTP 2014-01-10 16:33:39 -08:00
i40e_register.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e: Don't receive packets when the napi budget == 0 2014-03-14 22:52:47 -04:00
i40e_txrx.h i40e: enable PTP 2014-01-10 16:33:39 -08:00
i40e_type.h i40e/i40evf: Some flow director HW definition fixes 2014-03-14 16:29:15 -07:00
i40e_virtchnl_pf.c i40e: support VF link state ndo 2014-03-19 13:46:39 -07:00
i40e_virtchnl_pf.h i40e: support VF link state ndo 2014-03-19 13:46:39 -07:00
i40e_virtchnl.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e.h i40e: Add code to handle FD table full condition 2014-03-14 16:30:03 -07:00
Makefile i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00