Thread (6 messages) flat view 6 messages, 3 authors, 2017-01-09

Re: [PATCH net-next] liquidio: store the L4 hash of rx packets in skb

From: Eric Dumazet <hidden>
Date: 2017-01-09 18:51:08

On Fri, 2017-01-06 at 16:55 -0800, Felix Manlunas wrote:
From: Prasad Kanneganti <redacted>

Store the L4 hash of received packets in the skb; the hash is computed in
the NIC firmware.
...
 
+		if (rh->r_dh.has_hash) {
+			u32 hash = be32_to_cpu(*(u32 *)(skb->data + r_dh_off));
sparse should complain on this line, right ?

make C=2 CF=-D__CHECK_ENDIAN__ M=drivers/net/ethernet/cavium
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help