ip_type
sr_data->ip_type = 1;
sr_data->ip_type = 2;
if (num_ibs[r] >= amdgpu_ring_max_ibs(chunk_ib->ip_type))
r = amdgpu_ctx_get_entity(ctx, wait->in.ip_type, wait->in.ip_instance,
r = amdgpu_ctx_get_entity(ctx, user->ip_type, user->ip_instance,
if (chunk_ib->ip_type == AMDGPU_HW_IP_GFX &&
r = amdgpu_ctx_get_entity(ctx, deps[i].ip_type,
r = amdgpu_ctx_get_entity(p->ctx, chunk_ib->ip_type,
uq_funcs = adev->userq_funcs[args->in.ip_type];
args->in.ip_type);
queue->queue_type = args->in.ip_type;
if (args->in.ip_type != AMDGPU_HW_IP_GFX &&
args->in.ip_type != AMDGPU_HW_IP_DMA &&
args->in.ip_type != AMDGPU_HW_IP_COMPUTE) {
args->in.ip_type);
(args->in.ip_type != AMDGPU_HW_IP_GFX) &&
(args->in.ip_type != AMDGPU_HW_IP_COMPUTE) &&
if (args->in.ip_type ||
u32 ip_type = RQ_CQE_OFFOLAD_TYPE_GET(offload_type, IP_TYPE);
if (ip_type == HINIC3_RX_INVALID_IP_TYPE ||
u32 hash_type, l4_type, ip_type, lookup;
ip_type = hash_type & CQE_RSS_HTYPE_IP;
lookup = ip_type | l4_type;
u8 ip_type;
u16 ip_type = IP_ETHERTYPE;
if (llc_hdr->eth_type == htons(ip_type)) {
u8 ip_type;
u8 ip_type;
u32 ip_type;
u32 ip_type;
u32 ip_type;
u32 ip_type;
int len, ip_type = BEISCSI_IP_TYPE_V4;
ip_type = BEISCSI_IP_TYPE_V6;
len = beiscsi_if_get_info(phba, ip_type, &if_info);
if (beiscsi_ep->ip_type == BEISCSI_IP_TYPE_V4)
if (boot_conn->dest_ipaddr.ip_type == BEISCSI_IP_TYPE_V4)
req->ip_address.ip_type = BEISCSI_IP_TYPE_V4;
beiscsi_ep->ip_type = BEISCSI_IP_TYPE_V4;
req->ip_address.ip_type = BEISCSI_IP_TYPE_V6;
beiscsi_ep->ip_type = BEISCSI_IP_TYPE_V6;
static inline bool beiscsi_if_zero_ip(u8 *ip, u32 ip_type)
len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN;
u32 action, u32 ip_type, u8 *gw)
req->ip_addr.ip_type = ip_type;
(ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN);
int beiscsi_if_set_gw(struct beiscsi_hba *phba, u32 ip_type, u8 *gw)
rt_val = beiscsi_if_get_gw(phba, ip_type, &gw_resp);
if (!beiscsi_if_zero_ip(gw_resp.ip_addr.addr, ip_type)) {
rt_val = beiscsi_if_mod_gw(phba, IP_ACTION_DEL, ip_type,
rt_val = beiscsi_if_mod_gw(phba, IP_ACTION_ADD, ip_type, gw);
int beiscsi_if_get_gw(struct beiscsi_hba *phba, u32 ip_type,
req->ip_type = ip_type;
req->ip_params.ip_record.ip_addr.ip_type = if_info->ip_addr.ip_type;
u8 *subnet, u32 ip_type)
req->ip_params.ip_record.ip_addr.ip_type = ip_type;
ip_len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN;
int beiscsi_if_en_static(struct beiscsi_hba *phba, u32 ip_type,
rc = beiscsi_if_get_info(phba, ip_type, &if_info);
reldhcp->ip_type = ip_type;
if (!beiscsi_if_zero_ip(if_info->ip_addr.addr, ip_type)) {
rc = beiscsi_if_set_ip(phba, ip, subnet, ip_type);
int beiscsi_if_en_dhcp(struct beiscsi_hba *phba, u32 ip_type)
rc = beiscsi_if_get_info(phba, ip_type, &if_info);
if (!beiscsi_if_zero_ip(if_info->ip_addr.addr, ip_type)) {
rc = beiscsi_if_get_gw(phba, if_info->ip_addr.ip_type, &gw_resp);
if (!beiscsi_if_zero_ip(gw, if_info->ip_addr.ip_type)) {
if_info->ip_addr.ip_type, gw);
dhcpreq->ip_type = ip_type;
int beiscsi_if_get_info(struct beiscsi_hba *phba, int ip_type,
req->ip_type = ip_type;
unsigned short ip_type;
int beiscsi_if_en_dhcp(struct beiscsi_hba *phba, u32 ip_type);
int beiscsi_if_en_static(struct beiscsi_hba *phba, u32 ip_type,
int beiscsi_if_set_gw(struct beiscsi_hba *phba, u32 ip_type, u8 *gw);
int beiscsi_if_get_gw(struct beiscsi_hba *phba, u32 ip_type,
int beiscsi_if_get_info(struct beiscsi_hba *phba, int ip_type,
u8 ip_type;
if (qedi_ep->ip_type == TCP_IPV4) {
qedi->ip_type = TCP_IPV4;
qedi->ip_type = TCP_IPV6;
if (qedi_ep->ip_type == TCP_IPV4) {
(qedi_ep->ip_type == TCP_IPV6),
if (qedi_ep->ip_type == TCP_IPV4)
if (qedi->ip_type == TCP_IPV4)
qedi_ep->ip_type = TCP_IPV4;
qedi_ep->ip_type = TCP_IPV6;
if (qedi_ep->ip_type == TCP_IPV4) {
u8 ip_type;
if (qedi_conn->ep->ip_type == TCP_IPV4)
u8 ip_type;
if (boot_sess->conn_list[0].dest_ipaddr.ip_type == 0x1)
boot_conn->dest_ipaddr.ip_type = 0x1;
switch (sr_info->ip_type) {
sr_info->ip_type);
switch (sr->ip_type) {
switch (sr->ip_type) {
switch (sr->ip_type) {
switch (sr->ip_type) {
if (sr->ip_type == SR_TYPE_V1 && offset == ERRCONFIG_V1)
else if (sr->ip_type == SR_TYPE_V2 && offset == ERRCONFIG_V2)
switch (sr->ip_type) {
sr->ip_type);
sr_info->ip_type = pdata->ip_type;
int ip_type;
int ip_type;
__u32 ip_type;
__u32 ip_type;
__u32 ip_type;
__u32 ip_type;
__u32 ip_type;
enum ip_type type;