diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-11-21 07:22:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-22 21:57:47 (GMT) |
commit | 2b5fb1f25e7b22cb96fa8662f9c8f8cf34abc109 (patch) | |
tree | 51fc7dd19bd685ecb3bff49e8c39b7b96e183459 /drivers/net/ethernet/chelsio/cxgb4/l2t.c | |
parent | 6e4b51a604f9722f6cf99b7b3d7b79b7b4336ece (diff) | |
download | linux-2b5fb1f25e7b22cb96fa8662f9c8f8cf34abc109.tar.xz |
cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to port and VI
This patch cleanups all port and VI related macros/register defines that are
defined in t4fw_api.h and the affected files.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/l2t.c')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/l2t.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/l2t.c b/drivers/net/ethernet/chelsio/cxgb4/l2t.c index 1eca0e2..a047baa 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/l2t.c +++ b/drivers/net/ethernet/chelsio/cxgb4/l2t.c @@ -435,9 +435,9 @@ u64 cxgb4_select_ntuple(struct net_device *dev, if (tp->vnic_shift >= 0) { u32 viid = cxgb4_port_viid(dev); - u32 vf = FW_VIID_VIN_GET(viid); + u32 vf = FW_VIID_VIN_G(viid); u32 pf = FW_VIID_PFN_G(viid); - u32 vld = FW_VIID_VIVLD_GET(viid); + u32 vld = FW_VIID_VIVLD_G(viid); ntuple |= (u64)(V_FT_VNID_ID_VF(vf) | V_FT_VNID_ID_PF(pf) | |