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 DE85E1DE3B4 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=1729176325; cv=none; b=ZBTasM9hse5qEwr9iAwUIUM+eLFY4kUw5L24GDpm5qW2eBectuTzcEhaR8Bf2ymIgRkjswcOI6N2Tw1EoYoEh3YpnppGwtYG0PPEZE86gi5teoH4A0kSnetZtPm5UQ220A8IypuwTwz4Sk8+VhL+rRPKBYJXKfVRd6R9Wg8bico= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729176325; 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=N3uB9anKua2iuYKilNr2YgwldrCZfopzSmIsXCM42TpeGdTolr/WFVjaQJITmh4QfRC3YrYz8GCQw456PcI4kZYNX0izKk7TUh5ScoqlWvTQ2NlCHlWoZCEGMaWoTQoXXvoADUZ2NQYlVJPfo4gn8D88EB0xl7Yxumb7w5raAvk= 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-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-591-PhPr5bwdP0CeWxCvHvOnLQ-1; Thu, 17 Oct 2024 10:45:16 -0400 X-MC-Unique: PhPr5bwdP0CeWxCvHvOnLQ-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a9a04210851so54582666b.2 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=CUGmD3QyFjYsfjlTKtsHW9pMjBtdM8KTwuKazyJTzxTVvCZzCYENRoE67d60D+wGo7 0GEmc+R0l7C5Ic94rLfSykxRPnBX5U26UKBGUiBSQPuyijEwxpwcuOFx/3A5U289RKRp gQbYjKXxCoh9DAC2LYc+y9zAtYdf1IAcw5160XWjNMfnlm1cuPh0k3xY4ZxaFRzmqlS/ Tb3xMiLhgB0fqyO07D36ZwTkm0PY3KUcp+PM3WpDwyO45bSgYKFNN3AlcRAoX176kqfT QYpG+9d6HAHxx8w5qPGttaTX2Z5EL6TXjIHKY8q8N4yS/fgb/CpLL3rbORQ7wzZ86xqB fD/w== X-Forwarded-Encrypted: i=1; AJvYcCVkpj9DxC3RK1yw+7ryvwBH4X7sG2nCwDM3PYJJNbzpeFipsrdt7Pd8EJcMHiikKCkvccZBlvE=@vger.kernel.org X-Gm-Message-State: AOJu0YwW2YQyY9MCQvLPkGwk0XiGFl9HA8Xs/j4AKgR/BtB7ZSAHYcPY ISP4GebycgSvJ4FnJapOYEHIkWGaO9xp0tMpiwzOvXCrKArKmQV8Ha6xOjWwvKLv/CB7ObrKWoy 1evZcuWUaZrKdT+8TnM2Mtm3nvqo7NTsEhDWJdnIJx/T/rQZN5a/7KQ== X-Received: by 2002:a17:907:d3e4:b0:a99:45c5:339 with SMTP id a640c23a62f3a-a9a34d0ae93mr643408866b.32.1729176315483; 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: netdev@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