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

- From: Ong, Boon Leong \<hidden\>
- Date: 2021-12-11 14:04:46 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/12/8815504
- Thread: https://ratatoskr.run/netdev/2021/12/8815374/t.md

```text
>On 2021-12-10 11:10:04 [+0100], Kurt Kanzenbach wrote:
>> > +	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

Thanks. Will do. 
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
