From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE8071DE3AC for ; Thu, 17 Oct 2024 14:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729176324; cv=none; b=T/XZnuojd1JzS8/tWSdiuDBIM15jF4ibl67/k7yri124VIjpzTUG+PtQIyM2R+pte3oAEJ70EDCyRsCJYIzuwEi8R7pMNhov4bxHsFGTvXRwtahP3LMHWNthIqjsovNyCtM5b6IoK6EZRRMIWgDioFa2oQssrhmF6OS2jJk+guM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729176324; c=relaxed/simple; bh=wxpEnPUPR/5uTo8/QFidqpzx2iJ/f+EeTj40rscTLUY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=PZ55QyXg5hbr0+/rWKvKqnJZn8mVw+AyLRzXvh0llHHAk7nHln+SXO+DtKIU7WPhriGKdqCIuqCp7pq6q0hUxjDyCXW5NYbsxRtJjJTLG6Q5JKMdXUWJOvfbzpJ/4VzibS/Xdy/iC2deVzvIBcR4XcJ/y6nXNAlryw1kY80h5/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=L+hKGFCA; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="L+hKGFCA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729176317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wxpEnPUPR/5uTo8/QFidqpzx2iJ/f+EeTj40rscTLUY=; b=L+hKGFCALor/qnsPLhhh/PQta/U3HLHysTiWpETuJRGvS9wHWuRZA8cgEetopAA683/1qn vh1kc/DxetcpxJuxNSYuMWNRJnG6u7h8PJ/I+I4bM40J6fr9YxWUPr/9Cl1v6Y0c6tYETR +r6wSIOQZpvgwY9dTPvSrBUlonm4KP4= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-35-73OsRRc2M3yFBb_p_4KbmA-1; Thu, 17 Oct 2024 10:45:16 -0400 X-MC-Unique: 73OsRRc2M3yFBb_p_4KbmA-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a7d2d414949so57557466b.0 for ; Thu, 17 Oct 2024 07:45:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729176315; x=1729781115; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wxpEnPUPR/5uTo8/QFidqpzx2iJ/f+EeTj40rscTLUY=; b=nyyfS4+puQ8UoWLixk7oS2pxWqM1E0jqExl41OIf9/mHUgDM1bzkBuJgxDwuVICKuo kxq+tch0Z2c0XtP+Q79mF5uzd6TkP1dtFHhzmauRRZqGxt6D6xWRSCout1H0Da+1sxNS AxDO5F29Mi1YdysfCARKlOfWlCf5wQ3xmj1DgBEVucqNl/xaTDwFRMfdlW9kHd8Q9z+M t3UTyQvBU/wcY9Kk+vTa6nyPyWFXgcZbFr9puufcyFBQe/b+DCXTS5LbEJ3hb4wyJ/3k NqH1jIdmdrYDcZqqNWwEyvVZz5tWN+AOU/LcEaBfvLYanj5Z8FyjMvN6kGmAj3BA+1A4 PQwQ== X-Forwarded-Encrypted: i=1; AJvYcCXtU3IfVpJjHzpOWeMYAlv1qLjrmog9ba0kf1ki6KxNr3J0kbJ+ZCt0Cvh/1REO9PwhRPM=@vger.kernel.org X-Gm-Message-State: AOJu0YyefJ3lviVU99NtCqAki8V8R6Oytdc3zSPHur5OmhhBTOcAAeQI AVctJCOR8ARfRDe9I32uIWzRJcDtRV3Aet+COFudm/XH9EB4LAXLhvTd7MFiEPWzxGTH1UbMMTV 0LGW+2PM9CNDpc75IdamBbtIEbETd5KEw1ZariW0D+DKEs780WQ== X-Received: by 2002:a17:907:d3e4:b0:a99:45c5:339 with SMTP id a640c23a62f3a-a9a34d0ae93mr643409266b.32.1729176315485; Thu, 17 Oct 2024 07:45:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExQkfyHcFy//Hqbg2rl4jzcrlAL15Mc96dN9JnB/hqdts0BUtGI7iqAMcORsdlQDKCEyhmVQ== X-Received: by 2002:a17:907:d3e4:b0:a99:45c5:339 with SMTP id a640c23a62f3a-a9a34d0ae93mr643406266b.32.1729176315049; Thu, 17 Oct 2024 07:45:15 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a298433a1sm301653266b.162.2024.10.17.07.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 07:45:14 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 3809F160AB50; Thu, 17 Oct 2024 16:45:13 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Hangbin Liu , netdev@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Jiri Pirko , Sebastian Andrzej Siewior , Lorenzo Bianconi , Andrii Nakryiko , Jussi Maki , Jay Vosburgh , Andy Gospodarek , Jonathan Corbet , Andrew Lunn , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Hangbin Liu , Nikolay Aleksandrov Subject: Re: [PATCHv2 net-next 1/3] bonding: return detailed error when loading native XDP fails In-Reply-To: <20241017020638.6905-2-liuhangbin@gmail.com> References: <20241017020638.6905-1-liuhangbin@gmail.com> <20241017020638.6905-2-liuhangbin@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 17 Oct 2024 16:45:13 +0200 Message-ID: <87bjzizt3a.fsf@toke.dk> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hangbin Liu writes: > Bonding only supports native XDP for specific modes, which can lead to > confusion for users regarding why XDP loads successfully at times and > fails at others. This patch enhances error handling by returning detailed > error messages, providing users with clearer insights into the specific > reasons for the failure when loading native XDP. > > Reviewed-by: Nikolay Aleksandrov > Signed-off-by: Hangbin Liu Reviewed-by: Toke H=C3=B8iland-J=C3=B8rgensen