summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-06-20 21:04:10 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-06-21 09:02:49 (GMT)
commit9c4d442314e0dcc0ba82dfa3850ef938af123a02 (patch)
tree2541e3ad99b4336ca7d64701f30d7115f95d3a3f /drivers/phy
parentc7e920b5be6b2deaef51ae65a9ce18da3c8fa7da (diff)
downloadlinux-9c4d442314e0dcc0ba82dfa3850ef938af123a02.tar.xz
mlxsw: spectrum: Create a function to map vPort's FID
A FID used by a vPort (vFID, but also rFID later in the series) is always mapped using {Port, VID} and not only VID as with the 4K FIDs of the VLAN-aware bridge. Instead of specifying all the arguments each time, just wrap this operation using a dedicated function and simplify the code. As before, the function takes FID as its argument in preparation for a generic FID struct. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions