aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>2018-11-26 02:26:58 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-27 16:17:19 -0800
commit149d3775f108c9b97f3309891f010b65e912c7b7 (patch)
treebb1ff39bb169e01c115f627591d79fd7ad472e0f /net/core/net_namespace.c
parentqed: Display port_id in the UFP debug messages. (diff)
downloadwireguard-linux-149d3775f108c9b97f3309891f010b65e912c7b7.tar.xz
wireguard-linux-149d3775f108c9b97f3309891f010b65e912c7b7.zip
qede: Simplify the usage of qede-flags.
The values represented by qede->flags is being used in mixed ways: 1. As 'value' at some places e.g., QEDE_FLAGS_IS_VF usage 2. As bit-mask(value) at some places e.g., QEDE_FLAGS_PTP_TX_IN_PRORGESS usage. This implementation pose problems in future when we want to add more flag values e.g., overlap of the values, overflow of 64-bit storage. Updated the implementation to go with approach (2) for qede->flags. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions