diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2010-10-21 20:05:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-25 00:52:31 +0200 |
commit | 3843e5154cdcab15fa7405f175e9a1626030792d (patch) | |
tree | d197c27df158c3f57df997b048ac88a691467df0 /drivers/net/vmxnet3/upt1_defs.h | |
parent | cxgb4: update to utilize the newer VLAN infrastructure (diff) | |
download | linux-3843e5154cdcab15fa7405f175e9a1626030792d.tar.xz linux-3843e5154cdcab15fa7405f175e9a1626030792d.zip |
vmxnet3: remove set_flag_le{16,64} helpers
It's easier to just annotate the constants as little endian types and set/clear
the flags directly.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3/upt1_defs.h')
-rw-r--r-- | drivers/net/vmxnet3/upt1_defs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/vmxnet3/upt1_defs.h b/drivers/net/vmxnet3/upt1_defs.h index 37108fb226d3..969c751ee404 100644 --- a/drivers/net/vmxnet3/upt1_defs.h +++ b/drivers/net/vmxnet3/upt1_defs.h @@ -88,9 +88,9 @@ struct UPT1_RSSConf { /* features */ enum { - UPT1_F_RXCSUM = 0x0001, /* rx csum verification */ - UPT1_F_RSS = 0x0002, - UPT1_F_RXVLAN = 0x0004, /* VLAN tag stripping */ - UPT1_F_LRO = 0x0008, + UPT1_F_RXCSUM = cpu_to_le64(0x0001), /* rx csum verification */ + UPT1_F_RSS = cpu_to_le64(0x0002), + UPT1_F_RXVLAN = cpu_to_le64(0x0004), /* VLAN tag stripping */ + UPT1_F_LRO = cpu_to_le64(0x0008), }; #endif |