Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cxgb4: move VLAN_NONE macro definition

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>

authored by

Varun Prakash and committed by
Nicholas Bellinger
a8d9380c 7714cb9e

+2 -2
-2
drivers/net/ethernet/chelsio/cxgb4/l2t.c
··· 48 48 #include "t4_regs.h" 49 49 #include "t4_values.h" 50 50 51 - #define VLAN_NONE 0xfff 52 - 53 51 /* identifies sync vs async L2T_WRITE_REQs */ 54 52 #define SYNC_WR_S 12 55 53 #define SYNC_WR_V(x) ((x) << SYNC_WR_S)
+2
drivers/net/ethernet/chelsio/cxgb4/l2t.h
··· 39 39 #include <linux/if_ether.h> 40 40 #include <linux/atomic.h> 41 41 42 + #define VLAN_NONE 0xfff 43 + 42 44 enum { L2T_SIZE = 4096 }; /* # of L2T entries */ 43 45 44 46 enum {