mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 11:16:16 +07:00
be2net: endianness fix in be_cmd_set_qos().
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
856c40125a
commit
6bff57a7a6
@ -1868,8 +1868,8 @@ int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain)
|
||||
OPCODE_COMMON_SET_QOS, sizeof(*req));
|
||||
|
||||
req->hdr.domain = domain;
|
||||
req->valid_bits = BE_QOS_BITS_NIC;
|
||||
req->max_bps_nic = bps;
|
||||
req->valid_bits = cpu_to_le32(BE_QOS_BITS_NIC);
|
||||
req->max_bps_nic = cpu_to_le32(bps);
|
||||
|
||||
status = be_mcc_notify_wait(adapter);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user