diff options
| author | Qi Zhang <[email protected]> | 2021-03-09 03:08:02 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-03-22 18:32:12 +0000 |
| commit | 7012dfd1afc335f5e972a1c38b43c01d4b8a4309 (patch) | |
| tree | 1c66737dbe2ce9366797310bea8fe300fb6457f6 /drivers/net/ethernet/intel/ice/ice_flow.h | |
| parent | ice: Support to separate GTP-U uplink and downlink (diff) | |
| download | kernel-7012dfd1afc335f5e972a1c38b43c01d4b8a4309.tar.gz kernel-7012dfd1afc335f5e972a1c38b43c01d4b8a4309.zip | |
ice: Enhanced IPv4 and IPv6 flow filter
Separate IPv4 and IPv6 ptype bit mask table into 2 tables:
with or without L4 protocols.
When a flow filter without any l4 type is specified, the
ICE_FLOW_SEG_HDR_IPV_OTHER flag can be used to describe if user
want to create a IP rule target for all IP packet or just IP
packet without l4 header.
Signed-off-by: Dan Nowlin <[email protected]>
Signed-off-by: Qi Zhang <[email protected]>
Tested-by: Chen Bo <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_flow.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_flow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_flow.h b/drivers/net/ethernet/intel/ice/ice_flow.h index feda2ffd47ae..80bcd6fd21fc 100644 --- a/drivers/net/ethernet/intel/ice/ice_flow.h +++ b/drivers/net/ethernet/intel/ice/ice_flow.h @@ -135,6 +135,10 @@ enum ice_flow_seg_hdr { ICE_FLOW_SEG_HDR_ESP = 0x00100000, ICE_FLOW_SEG_HDR_AH = 0x00200000, ICE_FLOW_SEG_HDR_NAT_T_ESP = 0x00400000, + /* The following is an additive bit for ICE_FLOW_SEG_HDR_IPV4 and + * ICE_FLOW_SEG_HDR_IPV6 which include the IPV4 other PTYPEs + */ + ICE_FLOW_SEG_HDR_IPV_OTHER = 0x20000000, }; /* These segments all have the same PTYPES, but are otherwise distinguished by |
