G
Size: a a a
ST
AO
AO
ST
RS
RS
RS
Note that even though the command help gives the option to breakout the ports individually, this won't actually work. The options that work are 48x10g+4x40g or 64x10g.
The switch must be reloaded for the change to take effect.
https://www.cisco.com/c/en/us/support/docs/switches/nexus-3000-series-switches/200381-Nexus-3000-9000-Consolidated-Interface.htmlST
ЛЛ
DK
DK
DK
diff -rNPu ixgbe.orig/src/ixgbe_main.c ixgbe/src/ixgbe_main.c
--- ixgbe.orig/src/ixgbe_main.c 2019-10-21 15:34:00.000000000 +0300
+++ ixgbe/src/ixgbe_main.c 2020-04-19 23:18:43.692676160 +0300
@@ -3756,6 +3756,11 @@
IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, dmatxctl);
}
+ /* Enable Global Double VLAN */
+ dmatxctl = IXGBE_READ_REG(hw, IXGBE_DMATXCTL);
+ dmatxctl |= IXGBE_DMATXCTL_GDV;
+ IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, dmatxctl);
+
/* Setup the HW Tx Head and Tail descriptor pointers */
for (i = 0; i < adapter->num_tx_queues; i++)
ixgbe_configure_tx_ring(adapter, adapter->tx_ring[i]);
@@ -6520,6 +6525,12 @@
mod_timer(&adapter->service_timer, jiffies);
ixgbe_clear_vf_stats_counters(adapter);
+
+ /* Set Extended VLAN bit */
+ ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT);
+ ctrl_ext |= IXGBE_CTRL_EXT_EXTENDED_VLAN;
+ IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext);
+
/* Set PF Reset Done bit so PF/VF Mail Ops can work */
ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT);
ctrl_ext |= IXGBE_CTRL_EXT_PFRSTD;
diff -rNPu ixgbe.orig/src/ixgbe_type.h ixgbe/src/ixgbe_type.h
--- ixgbe.orig/src/ixgbe_type.h 2019-10-21 15:34:02.000000000 +0300
+++ ixgbe/src/ixgbe_type.h 2020-04-19 23:19:13.292849150 +0300
@@ -1451,6 +1451,7 @@
#define IXGBE_CTRL_EXT_NS_DIS 0x00010000 /* No Snoop disable */
#define IXGBE_CTRL_EXT_RO_DIS 0x00020000 /* Relaxed Ordering disable */
#define IXGBE_CTRL_EXT_DRV_LOAD 0x10000000 /* Driver loaded bit for FW */
+#define IXGBE_CTRL_EXT_EXTENDED_VLAN 0x04000000 /* Extended VLAN bit */
/* Direct Cache Access (DCA) definitions */
#define IXGBE_DCA_CTRL_DCA_ENABLE 0x00000000 /* DCA Enable */
D
DK