net/ionic: observe endianness in Rx filter
authorAndrew Boyer <aboyer@pensando.io>
Mon, 18 Jan 2021 20:34:58 +0000 (12:34 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:10 +0000 (18:16 +0100)
commita27e0e96ab77cf066fc6a66bf9f661fd0fda8fcd
treef2fed2b89b58a2ac61df00ddd3960e77583b540a
parent09f806e95d8141460bca9fe24f7809b854a013b3
net/ionic: observe endianness in Rx filter

The IONIC firmware is little-endian.
Add a new field to struct ionic_rx_filter to store the CPU-endian
match type.
Use a local variable for the VLAN when searching the hash table.

Signed-off-by: Andrew Boyer <aboyer@pensando.io>
drivers/net/ionic/ionic_rx_filter.c
drivers/net/ionic/ionic_rx_filter.h