cxgb4: move VLAN_NONE macro definition
authorVarun Prakash <varun@chelsio.com>
Sun, 14 Feb 2016 17:37:40 +0000 (23:07 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 22 Mar 2016 07:25:05 +0000 (00:25 -0700)
move VLAN_NONE macro definition from l2t.c
to l2t.h

Signed-off-by: Varun Prakash <varun@chelsio.com>
Acked-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/net/ethernet/chelsio/cxgb4/l2t.c
drivers/net/ethernet/chelsio/cxgb4/l2t.h

index 5b0f3ef348e9ed5df5281af595bd0406c743f95b..60a26037a1c675453a8261822c113712c129874a 100644 (file)
@@ -48,8 +48,6 @@
 #include "t4_regs.h"
 #include "t4_values.h"
 
-#define VLAN_NONE 0xfff
-
 /* identifies sync vs async L2T_WRITE_REQs */
 #define SYNC_WR_S    12
 #define SYNC_WR_V(x) ((x) << SYNC_WR_S)
index 4e2d47ac102b5ab32c771772be81a93d243cadfd..79665bd8f8814916e02adccc7793a3539a64c9de 100644 (file)
@@ -39,6 +39,8 @@
 #include <linux/if_ether.h>
 #include <linux/atomic.h>
 
+#define VLAN_NONE 0xfff
+
 enum { L2T_SIZE = 4096 };     /* # of L2T entries */
 
 enum {