Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
- drivers/net/ethernet/intel/ice/ice_flow.c, line 2085
- drivers/net/ethernet/intel/ice/virt/fdir.c, line 315
Smatch caller information:
drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_set_flow_fld() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 1-u64max |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $3 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vf->cfg_lock | ||
| TYPE_LOCK | (struct ice_vf)->cfg_lock |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_ether_flow_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 1 |
| PARAM_VALUE | 1 | fld | 4 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $1 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_ether_flow_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 1 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $1 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_ether_flow_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 0 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $1 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip4_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 68,132,260 |
| PARAM_VALUE | 1 | fld | 11 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip4_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 12 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip4_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 24,26,28 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 28 |
| BIT_INFO | 1 | fld | 0x18,0x1e |
| HARD_MAX | 1 | fld | 28 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip4_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 25,27,29 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 29 |
| BIT_INFO | 1 | fld | 0x19,0x1f |
| HARD_MAX | 1 | fld | 29 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip4_usr_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 4 |
| PARAM_VALUE | 1 | fld | 11 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip4_usr_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 12 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip6_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 72,136,264 |
| PARAM_VALUE | 1 | fld | 13 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip6_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 14 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip6_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 24,26,28 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 28 |
| BIT_INFO | 1 | fld | 0x18,0x1e |
| HARD_MAX | 1 | fld | 28 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip6_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 25,27,29 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 29 |
| BIT_INFO | 1 | fld | 0x19,0x1f |
| HARD_MAX | 1 | fld | 29 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip6_usr_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 8 |
| PARAM_VALUE | 1 | fld | 13 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_ip6_usr_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 14 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_vlan_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 2 |
| PARAM_VALUE | 1 | fld | 2 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_fdir_vlan_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 3 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| MEM_ZERO | 0 | seg | |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_init_fdir_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 0 | seg->hdrs | 68,72,132,136 |
| PARAM_VALUE | 1 | fld | 11,13 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 13 |
| BIT_INFO | 1 | fld | 0x9,0xf |
| HARD_MAX | 1 | fld | 13 |
| MEM_ZERO | 0 | seg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hw->fdir_fltr_lock |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_init_fdir_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 12,14 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 14 |
| BIT_INFO | 1 | fld | 0xc,0xe |
| HARD_MAX | 1 | fld | 14 |
| MEM_ZERO | 0 | seg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hw->fdir_fltr_lock |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_init_fdir_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 24,26 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 26 |
| BIT_INFO | 1 | fld | 0x18,0x1a |
| HARD_MAX | 1 | fld | 26 |
| MEM_ZERO | 0 | seg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hw->fdir_fltr_lock |
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_set_init_fdir_seg() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 25,27 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| BUF_SIZE | 0 | seg | 1480 |
| DATA_SOURCE | 0 | seg | $0 |
| FUZZY_MAX | 1 | fld | 27 |
| BIT_INFO | 1 | fld | 0x19,0x1b |
| HARD_MAX | 1 | fld | 27 |
| MEM_ZERO | 0 | seg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hw->fdir_fltr_lock |
drivers/net/ethernet/intel/ice/ice_flow.c ice_flow_set_rss_seg_info() -> ice_flow_set_fld()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seg | 4096-ptr_max |
| PARAM_VALUE | 1 | fld | 0-57 |
| PARAM_VALUE | 2 | val_loc | u16max |
| PARAM_VALUE | 3 | mask_loc | u16max |
| PARAM_VALUE | 4 | last_loc | u16max |
| PARAM_VALUE | 5 | range | 0 |
| CAPPED_DATA | 1 | fld | 1 |
| DATA_SOURCE | 1 | fld | r find_next_bit |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hw->rss_locks | ||
| HALF_LOCKED2 | &vf->cfg_lock | ||
| TYPE_LOCK | (struct ice_hw)->rss_locks |