WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #113: new file mode 100644 WARNING: line length of 99 exceeds 80 columns #207: FILE: tools/testing/selftests/bpf/xsk_hw.c:12: + * server: ./xsk_hw -i $DEV -[46] -D $CLIENT_ADDR -S $SERVER_ADDR -m $LOCAL_MAC -M $GW_MAC -h $ARGS WARNING: line length of 96 exceeds 80 columns #208: FILE: tools/testing/selftests/bpf/xsk_hw.c:13: + * client: ./xsk_hw -i $DEV -[46] -D $SERVER_ADDR -S $CLIENT_ADDR -m $LOCAL_MAC -M $GW_MAC $ARGS WARNING: __constant_htons should be htons #266: FILE: tools/testing/selftests/bpf/xsk_hw.c:71: +static uint16_t cfg_port = __constant_htons(8000); WARNING: line length of 81 exceeds 80 columns #352: FILE: tools/testing/selftests/bpf/xsk_hw.c:157: + ð->h_source[3], ð->h_source[4], ð->h_source[5]) != 6) WARNING: line length of 91 exceeds 80 columns #471: FILE: tools/testing/selftests/bpf/xsk_hw.c:276: + off_port = ETH_HLEN + sizeof(struct iphdr) + offsetof(struct udphdr, dest); WARNING: line length of 93 exceeds 80 columns #474: FILE: tools/testing/selftests/bpf/xsk_hw.c:279: + off_port = ETH_HLEN + sizeof(struct ipv6hdr) + offsetof(struct udphdr, dest); WARNING: line length of 83 exceeds 80 columns #478: FILE: tools/testing/selftests/bpf/xsk_hw.c:283: + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PKTTYPE), WARNING: line length of 87 exceeds 80 columns #491: FILE: tools/testing/selftests/bpf/xsk_hw.c:296: + if (setsockopt(pfpacket_fd, SOL_SOCKET, SO_ATTACH_FILTER, &prog, sizeof(prog))) WARNING: line length of 90 exceeds 80 columns #543: FILE: tools/testing/selftests/bpf/xsk_hw.c:348: + xsk->umem_area = mmap(NULL, UMEM_SIZE, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); WARNING: line length of 84 exceeds 80 columns #587: FILE: tools/testing/selftests/bpf/xsk_hw.c:392: + n = xsk_ring_cons__peek(&xsk->comp, XSK_RING_CONS__DEFAULT_NUM_DESCS, &idx); WARNING: line length of 84 exceeds 80 columns #967: FILE: tools/testing/selftests/bpf/xsk_hw.c:772: + /* Not doing bpf_program__set_ifindex because it requests offload */ WARNING: line length of 81 exceeds 80 columns #996: FILE: tools/testing/selftests/bpf/xsk_hw.c:801: + &sock_fd, sizeof(sock_fd), 0); total: 0 errors, 13 warnings, 0 checks, 968 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 18e79ac19c7a ("selftests/bpf: Add xsk_hw AF_XDP functionality test") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 13 warnings, 0 checks, 968 lines checked