Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6475065rwl; Wed, 22 Mar 2023 11:05:15 -0700 (PDT) X-Google-Smtp-Source: AK7set/LHiNtjCNQ2Saf0SWMQG+f59IyNq0MNVYlTzz3lWK9xyRTzzHY3mZQ/1VS/in8N2ncm6gu X-Received: by 2002:a17:903:191:b0:19a:7758:e5e6 with SMTP id z17-20020a170903019100b0019a7758e5e6mr3825560plg.48.1679508315104; Wed, 22 Mar 2023 11:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679508315; cv=none; d=google.com; s=arc-20160816; b=V+Yh74uvoCQGr8aTy9HC6oV63UmK7xQ9UZmtChDSqLmv0gytMOePt5EHuSo4z7THPI 4swzSCOY0mJW9bEzzXTFNym9//WttErxmSVJeAMz8vn/YiOV+5JMKsfalf5zSvuENjKC viR+yJlTEXlVLZd0u7CpDTAI6svL/wSTWnOiXZ3MWQWIJblKIzZIhOH8Eyq2SzHh87YA 3j/cgPwEDbTOR7MRQs37v1Ka+j31YdPEtLrCe5X4AljeDnpR+qfOn7RweIHtIWsjvair 4sDsD3gkxDj2VqBYE7K64MMUIv26dTLkZ6KWMvJNhjHhkcdV/pqUy+gGyhERxzHoye+i bY/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=gfC0z9F5EeG8mzQKSfB5cas3CbGhnxdksdcE8CAPS3M=; b=xoSz1l8wshnCOsxJPc3vUTwgnHVEB2RcjzEubQX4Qy75lWxsr/jDRpHVQZm9OOI1KP FfWBDCxL/WGeeaMgc1SnF7rBnS8H2+1JuIv/mUNgEOzIjRSKufwPz9T8SFz7MvUgYEpF T8X0nzWvPECFRiC2wdTKNPXojvJdcfFdb6uHvmAWXv3Qw5roJgLJw7kd/c9Q9f56v9uC Gy4+6YWV3hu0ZpNeJxKW2eg1/F2G2Z/2d0MqI7bl1X6VsWotBnWsBP87bntsPUfgnVwc /66KGbrcC2CFSLUi0LbaHB6lzQ8frYnYEzrLjBdL/1Noefk9TCTEblfpMT0Wm4wRLwYa lbzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=MROidBYE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020a63fb17000000b00502d6db6bd2si16743872pgh.188.2023.03.22.11.05.03; Wed, 22 Mar 2023 11:05:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=MROidBYE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230154AbjCVRzX (ORCPT + 99 others); Wed, 22 Mar 2023 13:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjCVRzW (ORCPT ); Wed, 22 Mar 2023 13:55:22 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 845125DEEA; Wed, 22 Mar 2023 10:55:20 -0700 (PDT) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32MHsuO5033668; Wed, 22 Mar 2023 17:55:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=gfC0z9F5EeG8mzQKSfB5cas3CbGhnxdksdcE8CAPS3M=; b=MROidBYEqArqxyWD2tlMQ15Nc/TjlKcGK4RwXNtktWxdNUCcT1o0DDvqPZP1d3zSgvaz Re6m6o5NAhCu7ldYk2XwYZVUftOOvrCE7zo48Rn/EWvXOzZPTUZghdi0Ug0AsALFa6au 5NxZ8++vEc87paHdGCjMIZzN1aKOfWs7p7nvCfm6AsnDzX29dbUQqzmQCZCB6cUJe7Pm mnikb4C8PcJ9QWAEyEVeE7oApI+SVThdFlK7ceTXMZm/sPM+mDpdWed4qk3VNDPTIiRa IuywlJjSgyvZPDSjS/56MWzO5Fcl4EN8gQZNcyvCMiuYgdgVmghT4k4Te3i3gujc88mF CQ== Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pg6g1g048-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Mar 2023 17:55:07 +0000 Received: from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1]) by ppma01dal.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32MH4arj018405; Wed, 22 Mar 2023 17:54:23 GMT Received: from smtprelay03.dal12v.mail.ibm.com ([9.208.130.98]) by ppma01dal.us.ibm.com (PPS) with ESMTPS id 3pd4x7qvsh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Mar 2023 17:54:23 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay03.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32MHsM0q16646748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Mar 2023 17:54:22 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 20BA05805A; Wed, 22 Mar 2023 17:54:22 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BEAC758066; Wed, 22 Mar 2023 17:54:19 +0000 (GMT) Received: from [9.43.89.247] (unknown [9.43.89.247]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 22 Mar 2023 17:54:19 +0000 (GMT) Message-ID: <15173797-c28b-f1d9-9488-9cd4cebdaad4@linux.vnet.ibm.com> Date: Wed, 22 Mar 2023 23:24:18 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [next-20230317][PPC/MLX5][bisected 4d5ab0a] Boot WARNING: CPU: 0 PID: 9 at net/core/dev.c:1928 call_netdevice_notifiers_info To: Lorenzo Bianconi Cc: linux-next , linux-kernel , netdev , Brian King , linuxppc-dev References: <7fe9d0b0-7d77-79cc-405d-3ca38b552782@linux.vnet.ibm.com> Content-Language: en-US From: Abdul Haleem In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 4j3xZ1vfW6pw_gjz4qkqYSUxH1ULMYRU X-Proofpoint-GUID: 4j3xZ1vfW6pw_gjz4qkqYSUxH1ULMYRU Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-22_14,2023-03-22_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 bulkscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 impostorscore=0 clxscore=1015 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303150002 definitions=main-2303220121 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/20/23 6:55 PM, Lorenzo Bianconi wrote: >> Greeting's >> >> Warning is seen while booting kernels from 6.3.0-rc3-next-20230317 on my >> powerpc Power 10 LPAR >> >> Boots fine without warnings when below patch is reverted >> >> commit 4d5ab0ad964df178beba031b89429a601893ff61 >> Author: Lorenzo Bianconi >> Date: Thu Mar 9 13:25:31 2023 +0100 >> >> net/mlx5e: take into account device reconfiguration for xdp_features >> flag >> >> Take into account LRO and GRO configuration setting device xdp_features >> flag. Consider channel rq_wq_type enabling rx scatter-gatter support in >> xdp_features flag and disable NETDEV_XDP_ACT_NDO_XMIT_SG since it is not >> supported yet by the driver. >> Moreover always enable NETDEV_XDP_ACT_NDO_XMIT as the ndo_xdp_xmit >> >> 4d5ab0ad got introduced in next-20230314 >> >> @Lorenzo Could you please look into this > > I would say this issue has been already fixed by Jakub here: > > https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/net/core/xdp.c?id=769639c1fe8a98129aa97c8ee981639db1e8955c Thanks Lorenzo, Verified the patch and it fixes the problem and next-20230321 kernel boots fine on my powerpc lpar Tested-by: Abdul Haleem -- Regard's Abdul Haleem IBM Linux Technology Center