Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_flow.c
Show First 20 Lines • Show All 1,488 Lines • ▼ Show 20 Lines | |||||
* [32:61] - Protocol header | * [32:61] - Protocol header | ||||
* [62:63] - Encapsulation flag: | * [62:63] - Encapsulation flag: | ||||
* 0 if non-tunneled | * 0 if non-tunneled | ||||
* 1 if tunneled | * 1 if tunneled | ||||
* 2 for tunneled with outer ipv4 | * 2 for tunneled with outer ipv4 | ||||
* 3 for tunneled with outer ipv6 | * 3 for tunneled with outer ipv6 | ||||
*/ | */ | ||||
#define ICE_FLOW_GEN_PROFID(hash, hdr, encap) \ | #define ICE_FLOW_GEN_PROFID(hash, hdr, encap) \ | ||||
(u64)(((u64)(hash) & ICE_FLOW_PROF_HASH_M) | \ | ((u64)(((u64)(hash) & ICE_FLOW_PROF_HASH_M) | \ | ||||
(((u64)(hdr) << ICE_FLOW_PROF_HDR_S) & ICE_FLOW_PROF_HDR_M) | \ | (((u64)(hdr) << ICE_FLOW_PROF_HDR_S) & ICE_FLOW_PROF_HDR_M) | \ | ||||
(((u64)(encap) << ICE_FLOW_PROF_ENCAP_S) & ICE_FLOW_PROF_ENCAP_M)) | (((u64)(encap) << ICE_FLOW_PROF_ENCAP_S) & ICE_FLOW_PROF_ENCAP_M))) | ||||
/** | /** | ||||
* ice_add_rss_cfg_sync - add an RSS configuration | * ice_add_rss_cfg_sync - add an RSS configuration | ||||
* @hw: pointer to the hardware structure | * @hw: pointer to the hardware structure | ||||
* @vsi_handle: software VSI handle | * @vsi_handle: software VSI handle | ||||
* @cfg: configure parameters | * @cfg: configure parameters | ||||
* | * | ||||
* Assumption: lock has already been acquired for RSS list | * Assumption: lock has already been acquired for RSS list | ||||
▲ Show 20 Lines • Show All 429 Lines • Show Last 20 Lines |