diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-01-22 20:28:02 +0000 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-01-22 20:30:01 +0000 |
commit | fa1bed3eb19cea6ed09e1566d7572f7699962628 (patch) | |
tree | 580292f12caabca0a5b20e8665b2c89320591838 /rxclass.c | |
parent | b29aa90ebcf9627e960b07c3f58eaceffdf61dd3 (diff) | |
download | ethtool-fa1bed3eb19cea6ed09e1566d7572f7699962628.tar.gz |
rxclass: Show full 64 bits of user-data in rxclass_print_nfc_spec_ext()
Previously only the lower 32 bits would be shown.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'rxclass.c')
-rw-r--r-- | rxclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ static void rxclass_print_nfc_spec_ext(struct ethtool_rx_flow_spec *fsp) tci = ntohs(fsp->h_ext.vlan_tci); tcim = ntohs(~fsp->m_ext.vlan_tci); data = (u64)ntohl(fsp->h_ext.data[0]) << 32; - data = (u64)ntohl(fsp->h_ext.data[1]); + data |= (u64)ntohl(fsp->h_ext.data[1]); datam = (u64)ntohl(~fsp->m_ext.data[0]) << 32; datam |= (u64)ntohl(~fsp->m_ext.data[1]); |