aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMaor Dickman <[email protected]>2020-09-02 16:49:52 +0300
committerSaeed Mahameed <[email protected]>2020-09-21 17:22:23 -0700
commit82198d8bcdeff01d19215d712aa55031e21bccbc (patch)
tree9a6d952ad907d4a030d7caa2fdadfacc68ec8d1f /net/switchdev/switchdev.c
parent6cec0229ab1959259e71e9a5bbe47c04577950b1 (diff)
net/mlx5e: Fix endianness when calculating pedit mask first bit
The field mask value is provided in network byte order and has to be converted to host byte order before calculating pedit mask first bit. Fixes: 88f30bbcbaaa ("net/mlx5e: Bit sized fields rewrite support") Signed-off-by: Maor Dickman <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions