diff options
| author | Kurt Kanzenbach <[email protected]> | 2024-01-24 08:55:32 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-02-07 17:29:28 +0000 |
| commit | b7471025942d786ab5f3f84932d6d1015511d197 (patch) | |
| tree | 41a05bbe0debae086e6877674a6e4bf7c19b3e8c /drivers/net/ethernet/intel/igc/igc.h | |
| parent | igc: Use netdev printing functions for flex filters (diff) | |
| download | kernel-b7471025942d786ab5f3f84932d6d1015511d197.tar.gz kernel-b7471025942d786ab5f3f84932d6d1015511d197.zip | |
igc: Unify filtering rule fields
All filtering parameters such as EtherType and VLAN TCI are stored in host
byte order except for the VLAN EtherType. Unify it.
Signed-off-by: Kurt Kanzenbach <[email protected]>
Acked-by: Vinicius Costa Gomes <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Naama Meir <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc.h')
| -rw-r--r-- | drivers/net/ethernet/intel/igc/igc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h index 75f7c5ba65e0..d5833c057de4 100644 --- a/drivers/net/ethernet/intel/igc/igc.h +++ b/drivers/net/ethernet/intel/igc/igc.h @@ -585,7 +585,7 @@ enum igc_filter_match_flags { struct igc_nfc_filter { u8 match_flags; u16 etype; - __be16 vlan_etype; + u16 vlan_etype; u16 vlan_tci; u16 vlan_tci_mask; u8 src_addr[ETH_ALEN]; |
