linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
Scott Feldman 7d4f8d871a switchdev; add VLAN support for port's bridge_getlink
One more missing piece of the puzzle.  Add vlan dump support to switchdev
port's bridge_getlink.  iproute2 "bridge vlan show" cmd already knows how
to show the vlans installed on the bridge and the device , but (until now)
no one implemented the port vlan part of the netlink PF_BRIDGE:RTM_GETLINK
msg.  Before this patch, "bridge vlan show":

	$ bridge -c vlan show
	port    vlan ids
	sw1p1    30-34			<< bridge side vlans
		 57

	sw1p1				<< device side vlans (missing)

	sw1p2    57

	sw1p2

	sw1p3

	sw1p4

	br0     None

(When the port is bridged, the output repeats the vlan list for the vlans
on the bridge side of the port and the vlans on the device side of the
port.  The listing above show no vlans for the device side even though they
are installed).

After this patch:

	$ bridge -c vlan show
	port    vlan ids
	sw1p1    30-34			<< bridge side vlan
		 57

	sw1p1    30-34			<< device side vlans
		 57
		 3840 PVID

	sw1p2    57

	sw1p2    57
		 3840 PVID

	sw1p3    3842 PVID

	sw1p4    3843 PVID

	br0     None

I re-used ndo_dflt_bridge_getlink to add vlan fill call-back func.
switchdev support adds an obj dump for VLAN objects, using the same
call-back scheme as FDB dump.  Support included for both compressed and
un-compressed vlan dumps.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-23 06:56:18 -07:00
..
i40e_adminq_cmd.h i40e: AQ API updates for new commands 2015-01-16 05:20:37 -08:00
i40e_adminq.c i40e/i40evf: grab NVM devstarter version not image version 2015-03-05 03:04:33 -08:00
i40e_adminq.h i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e/i40evf: Save WR_CSR_PROT field from DEV/FUNC capabilities 2015-04-14 20:25:45 -07:00
i40e_dcb_nl.c i40e: Don't register/de-register apps on NIC partitions in MFP mode 2015-04-03 03:54:30 -07:00
i40e_dcb.c i40e: get rid of unused locals 2015-04-14 20:39:41 -07:00
i40e_dcb.h i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_debugfs.c i40e: start up in VEPA mode by default 2015-06-04 20:10:30 -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: Remove unnecessary pf members 2015-05-28 03:38:20 -07:00
i40e_fcoe.c i40e: fix unrecognized FCOE EOF case 2015-05-28 03:39:56 -07:00
i40e_fcoe.h i40e/i40evf: Clean up some formatting and other things 2015-03-05 06:39:42 -08: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: use more portable sign extension 2015-03-05 04:00:06 -08:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c switchdev; add VLAN support for port's bridge_getlink 2015-06-23 06:56:18 -07:00
i40e_nvm.c i40e: get rid of unused locals 2015-04-14 20:39:41 -07:00
i40e_osdep.h i40e: adds FCoE configure option 2015-01-14 16:48:39 -05:00
i40e_prototype.h i40e: enable user dump of internal hardware state 2015-04-14 20:14:58 -07:00
i40e_ptp.c ptp: i40e: convert to the 64 bit get/set time methods. 2015-03-31 12:01:17 -04:00
i40e_register.h i40e/i40evf: i40e_register.h updates 2015-02-23 17:11:57 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-06-08 20:06:56 -07:00
i40e_txrx.h i40e/i40evf: remove time_stamp member 2015-05-28 03:46:03 -07:00
i40e_type.h i40e/i40evf: Add stats to count Tunnel ATR hits 2015-05-28 03:38:00 -07:00
i40e_virtchnl_pf.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-06-08 20:06:56 -07:00
i40e_virtchnl_pf.h i40e: Communicate VSI id in place of VSI index to the VFs 2015-04-03 03:54:31 -07:00
i40e_virtchnl.h i40e/i40evf: restrict VC opcodes to their initial values 2015-02-23 17:11:56 -08:00
i40e.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-06-08 20:06:56 -07:00
Makefile i40e: Strip configfs code 2015-03-07 07:01:06 -08:00