summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/jme.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-02-26 17:32:30 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-01 16:07:30 -0500
commita133318cde2000a3264032ea3b561c9054613486 (patch)
treee202e6321602b6e83a618e666a2cbb71a8162dd1 /drivers/net/ethernet/jme.c
parent558c2d5e52142fc503f79bec89413724cfc37bdd (diff)
mlxsw: spectrum: Mark unused ports using NULL
When splitting and unsplitting we'll destroy usable ports on the fly, so mark them using a NULL pointer to indicate that their local port number is free and can be re-used. 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/net/ethernet/jme.c')
0 files changed, 0 insertions, 0 deletions