Re: [PATCH net-next 2/2] net: stmmac: add tc flower filter for EtherType matching

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2021-12-10 11:59:03
Also in
linux-arm-kernel
Reply to
Kurt Kanzenbach, 2021-12-10
On 2021-12-10 11:10:04 [+0100], Kurt Kanzenbach wrote:
quoted
+	if (match.mask->n_proto) {
+		__be16 etype = ntohs(match.key->n_proto);
n_proto is be16. The ntohs() call will produce an u16.
While at it, could we be please remove that __force in
ETHER_TYPE_FULL_MASK and use cpu_to_be16() macro?
Thanks,
Kurt
Sebastian
Thread (15 messages) 15 messages, 7 authors, last reply 2021-12-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help