summaryrefslogtreecommitdiff
path: root/rxclass.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-01-22 20:28:02 +0000
committerBen Hutchings <bhutchings@solarflare.com>2013-01-22 20:30:01 +0000
commitfa1bed3eb19cea6ed09e1566d7572f7699962628 (patch)
tree580292f12caabca0a5b20e8665b2c89320591838 /rxclass.c
parentb29aa90ebcf9627e960b07c3f58eaceffdf61dd3 (diff)
downloadethtool-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rxclass.c b/rxclass.c
index 1564b62..cd686a3 100644
--- a/rxclass.c
+++ b/rxclass.c
@@ -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]);