Lines Matching +full:tx +full:- +full:checksum +full:- +full:offload

5  * SPDX-License-Identifier: Apache-2.0
40 EC(ETHERNET_HW_TX_CHKSUM_OFFLOAD, "TX checksum offload"),
41 EC(ETHERNET_HW_RX_CHKSUM_OFFLOAD, "RX checksum offload"),
60 EC(ETHERNET_TXINJECTION_MODE, "TX-Injection supported"),
94 PR("%s-duplex\n", PHY_LINK_IS_FULL_DUPLEX(link.speed) ? "full" : "half"); in print_phy_link_state()
107 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
112 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
117 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
120 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
125 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
130 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
135 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
140 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
145 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
150 str[pos - 1] = '\0'; in iface_flags2str()
158 const struct shell *sh = data->sh; in iface_cb()
183 if (data->user_data && data->user_data != iface) { in iface_cb()
191 ret_name = net_if_get_name(iface, ifname, sizeof(ifname) - 1); in iface_cb()
210 if (data->user_data == NULL) { in iface_cb()
217 PR_INFO("Interface is suspended, thus not able to tx/rx.\n"); in iface_cb()
222 if (!sys_slist_is_empty(&iface->config.virtual_interfaces)) { in iface_cb()
227 &iface->config.virtual_interfaces, in iface_cb()
229 if (ctx->virtual_iface == iface) { in iface_cb()
233 PR("%d ", net_if_get_by_iface(ctx->virtual_iface)); in iface_cb()
264 net_if_get_link_addr(iface)->addr) { in iface_cb()
266 net_sprint_ll_addr(net_if_get_link_addr(iface)->addr, in iface_cb()
267 net_if_get_link_addr(iface)->len)); in iface_cb()
274 net_if_get_device(iface) ? net_if_get_device(iface)->name : "<?>", in iface_cb()
338 PR("Ethernet PHY device: %s (%p)\n", (phy_dev != NULL) ? phy_dev->name : "<none>", in iface_cb()
349 ipv6 = iface->config.ip.ipv6; in iface_cb()
358 ARRAY_FOR_EACH(ipv6->unicast, i) { in iface_cb()
359 unicast = &ipv6->unicast[i]; in iface_cb()
361 if (!unicast->is_used) { in iface_cb()
366 net_sprint_ipv6_addr(&unicast->address.in6_addr), in iface_cb()
367 addrtype2str(unicast->addr_type), in iface_cb()
368 addrstate2str(unicast->addr_state), in iface_cb()
369 unicast->is_infinite ? " infinite" : "", in iface_cb()
370 unicast->is_mesh_local ? " meshlocal" : "", in iface_cb()
371 unicast->is_temporary ? " temporary" : ""); in iface_cb()
382 ARRAY_FOR_EACH(ipv6->mcast, i) { in iface_cb()
383 mcast = &ipv6->mcast[i]; in iface_cb()
385 if (!mcast->is_used) { in iface_cb()
389 PR("\t%s%s\n", net_sprint_ipv6_addr(&mcast->address.in6_addr), in iface_cb()
403 ARRAY_FOR_EACH(ipv6->prefix, i) { in iface_cb()
404 prefix = &ipv6->prefix[i]; in iface_cb()
406 if (!prefix->is_used) { in iface_cb()
411 net_sprint_ipv6_addr(&prefix->prefix), in iface_cb()
412 prefix->len, prefix->is_infinite ? " infinite" : ""); in iface_cb()
425 net_sprint_ipv6_addr(&router->address.in6_addr), in iface_cb()
426 router->is_infinite ? " infinite" : ""); in iface_cb()
434 iface->pe_enabled ? "enabled" : "disabled", in iface_cb()
435 iface->pe_prefer_public ? "public" : "temporary"); in iface_cb()
440 ipv6->hop_limit); in iface_cb()
442 ipv6->base_reachable_time); in iface_cb()
444 ipv6->reachable_time); in iface_cb()
446 ipv6->retrans_timer); in iface_cb()
452 iface->config.dhcpv6.t1); in iface_cb()
454 iface->config.dhcpv6.t2); in iface_cb()
456 iface->config.dhcpv6.expire); in iface_cb()
457 if (iface->config.dhcpv6.params.request_addr) { in iface_cb()
459 net_sprint_ipv6_addr(&iface->config.dhcpv6.addr)); in iface_cb()
462 if (iface->config.dhcpv6.params.request_prefix) { in iface_cb()
464 net_sprint_ipv6_addr(&iface->config.dhcpv6.prefix)); in iface_cb()
468 net_dhcpv6_state_name(iface->config.dhcpv6.state)); in iface_cb()
488 ipv4 = iface->config.ip.ipv4; in iface_cb()
497 ARRAY_FOR_EACH(ipv4->unicast, i) { in iface_cb()
498 unicast = &ipv4->unicast[i].ipv4; in iface_cb()
500 if (!unicast->is_used) { in iface_cb()
505 net_sprint_ipv4_addr(&unicast->address.in_addr), in iface_cb()
506 net_sprint_ipv4_addr(&ipv4->unicast[i].netmask), in iface_cb()
508 addrtype2str(unicast->addr_type), in iface_cb()
509 addrstate2str(unicast->addr_state), in iface_cb()
510 unicast->is_infinite ? " infinite" : ""); in iface_cb()
522 ARRAY_FOR_EACH(ipv4->mcast, i) { in iface_cb()
523 mcast = &ipv4->mcast[i]; in iface_cb()
525 if (!mcast->is_used) { in iface_cb()
529 PR("\t%s%s\n", net_sprint_ipv4_addr(&mcast->address.in_addr), in iface_cb()
543 net_sprint_ipv4_addr(&ipv4->gw)); in iface_cb()
550 iface->config.dhcpv4.lease_time); in iface_cb()
552 iface->config.dhcpv4.renewal_time); in iface_cb()
554 net_sprint_ipv4_addr(&iface->config.dhcpv4.server_id)); in iface_cb()
556 net_sprint_ipv4_addr(&iface->config.dhcpv4.requested_ip)); in iface_cb()
558 net_dhcpv4_state_name(iface->config.dhcpv4.state)); in iface_cb()
560 iface->config.dhcpv4.attempts); in iface_cb()
570 return -ENOEXEC; in cmd_net_set_mac()
612 if (ret == -EACCES) { in cmd_net_set_mac()
621 net_sprint_ll_addr(net_if_get_link_addr(iface)->addr, in cmd_net_set_mac()
622 net_if_get_link_addr(iface)->len)); in cmd_net_set_mac()
626 return -ENOEXEC; in cmd_net_set_mac()
637 return -ENOEXEC; in cmd_net_iface_up()
643 return -ENOEXEC; in cmd_net_iface_up()
648 return -ENOEXEC; in cmd_net_iface_up()
654 return -ENOEXEC; in cmd_net_iface_up()
669 return -ENOEXEC; in cmd_net_iface_down()
675 return -ENOEXEC; in cmd_net_iface_down()
681 return -ENOEXEC; in cmd_net_iface_down()
698 return -ENOEXEC; in cmd_net_iface()
704 return -ENOEXEC; in cmd_net_iface()