diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-05-10 15:58:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-12 23:31:15 -0700 |
commit | f8f5aafa960883bc3f1b8f85f1cf8199d0c85879 (patch) | |
tree | 1b8fbf1aaed6fc2ad2bf91a2a3e3221fe127715d /drivers/net/cxgb4/t4fw_api.h | |
parent | 10df0b9116e2039d5585a196753e5f36d7afcba2 (diff) | |
download | linux-f8f5aafa960883bc3f1b8f85f1cf8199d0c85879.tar.bz2 |
cxgb4: configure HW VLAN extraction through FW
HW VLAN extraction needs to be configured through FW to work correctly in
virtualization environments. Remove the direct register manipulation and
rely on FW.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/t4fw_api.h')
-rw-r--r-- | drivers/net/cxgb4/t4fw_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/t4fw_api.h b/drivers/net/cxgb4/t4fw_api.h index 3393d05a388a..63991d68950e 100644 --- a/drivers/net/cxgb4/t4fw_api.h +++ b/drivers/net/cxgb4/t4fw_api.h @@ -876,7 +876,7 @@ struct fw_vi_mac_cmd { struct fw_vi_rxmode_cmd { __be32 op_to_viid; __be32 retval_len16; - __be32 mtu_to_broadcasten; + __be32 mtu_to_vlanexen; __be32 r4_lo; }; @@ -888,6 +888,8 @@ struct fw_vi_rxmode_cmd { #define FW_VI_RXMODE_CMD_ALLMULTIEN(x) ((x) << 12) #define FW_VI_RXMODE_CMD_BROADCASTEN_MASK 0x3 #define FW_VI_RXMODE_CMD_BROADCASTEN(x) ((x) << 10) +#define FW_VI_RXMODE_CMD_VLANEXEN_MASK 0x3 +#define FW_VI_RXMODE_CMD_VLANEXEN(x) ((x) << 8) struct fw_vi_enable_cmd { __be32 op_to_viid; |