diff options
author | Anish Bhatt <anish@chelsio.com> | 2014-11-12 17:15:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-13 14:36:22 -0500 |
commit | d7990b0c34623cd54475a0562c607efbaba4899d (patch) | |
tree | 07df588a531da6bb0cbdac66633f2ce26e50263b /drivers/net/ethernet/chelsio/cxgb4/l2t.c | |
parent | 8c847d254146d32c86574a1b16923ff91bb784dd (diff) | |
download | blackbird-op-linux-d7990b0c34623cd54475a0562c607efbaba4899d.tar.gz blackbird-op-linux-d7990b0c34623cd54475a0562c607efbaba4899d.zip |
cxgb4i/cxgb4 : Refactor macros to conform to uniform standards
Refactored all macros used in cxgb4i as part of previously started cxgb4 macro
names cleanup. Makes them more uniform and avoids namespace collision.
Minor changes in other drivers where required as some of these macros are used
by multiple drivers, affected drivers are iw_cxgb4, cxgb4(vf) & csiostor
Signed-off-by: Anish Bhatt <anish@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/l2t.c b/drivers/net/ethernet/chelsio/cxgb4/l2t.c index 96041397ee15..1eca0e21f738 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/l2t.c +++ b/drivers/net/ethernet/chelsio/cxgb4/l2t.c @@ -436,7 +436,7 @@ 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 pf = FW_VIID_PFN_GET(viid); + u32 pf = FW_VIID_PFN_G(viid); u32 vld = FW_VIID_VIVLD_GET(viid); ntuple |= (u64)(V_FT_VNID_ID_VF(vf) | |