From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E47545E1E; Tue, 3 Dec 2024 19:11:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B32EB40261; Tue, 3 Dec 2024 19:11:58 +0100 (CET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id B39D84025D for ; Tue, 3 Dec 2024 19:11:57 +0100 (CET) Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2ee51f8c47dso3387193a91.1 for ; Tue, 03 Dec 2024 10:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1733249517; x=1733854317; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=3eCi7H7m108nexdzJEzzWGcfBvtRkikFJxJifQgfAj0=; b=AslhR8JPAaPP3ZBW0U5Tx/ZMTHsu7csuGf4D2k1bSstMmrYW/UrXiAWQN6qQ0HQJKg n/cn+XCPoBvjf3+8POXhZjTLsLCs3ycT+1fYv7Hmz4k+mi2f1ehKy+6QmcwvvT7Akipn 6wz61UxmaqylcS+Et6JURZqnpbnQXwZPmTaqs9bp5BcIw3EJNprLHCjvw7qlH5DCeAKT /Wjl4du7lBM4TcFjoLYjqU7GW9b2lx1Q/YEeELpvnoKD3ElIsgATkDv1n4SqCzWDf130 O6e2inKynbwMLyZ5zwgFscVDX6G5QE48ss9d194oeys2x2hOWsMC/BUbpWLX8vFOr1g7 OXmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733249517; x=1733854317; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3eCi7H7m108nexdzJEzzWGcfBvtRkikFJxJifQgfAj0=; b=QseCseh4be9hVNL6+OVRtFejGvaQ4SixBD37fKkAqIuyVKBkuFJXbzT7LsrJOTa6LT QV6CCWxyJBZecDoao1ZFXdlKa74IdvpztdyLEGUx975mo/WnDY4nzp9I4dHrinJcaf0t VqJ0E7GbNqncW2xYK5/2T4NT4ooNsLmNOMqV2Guedb+YM2hWgsjyLOSvL1IfOeKHSOFV sE9fYW+A4C/uVfpmo6CfHTdI7e4GJw3QmdoEgi1FozFcluDZFbZZCzx5KnPQ0XYT4AE1 cVcCYEGrMr2lyHVerr/LgNqir8prTkx1Hfk+2I9Sr2jxEaLuUn02uMd2Ve5Mr0DdLh80 fz9g== X-Forwarded-Encrypted: i=1; AJvYcCUiGDoPwRnBqU7e9qG4H1nIGCsqHtnyGaEcsxyfQ4VekXT04TdwbCuLRs4mCRQ19kIXLWc=@dpdk.org X-Gm-Message-State: AOJu0YwBDctrJCpUy9ddrgbG9yLz6uMpgU1UUCcH6XfAlzkU1G8gMw+e iEIYUeylS0xqSUXCDu2O703sEm7Xa8LfhGbKuJC2SIp/S1xpkBVd4pCqFQb/uKw= X-Gm-Gg: ASbGncu+8ZSxRUZyFDapVo9Ox+X250NxWDgMXQ1kPgcu7x/BWsNMx3tzT4dJt30UGhF urlZPJwYA3ZuA2Yb5enVIzj9qAQBATzQlTTw97YVgNLxWCptIkl9C7W+FWcoK2AeqZXk+viEhsl kV+g+0uZCcIOvKLN3jVt/HQiJZN5Ndxk4hujANpiKHvChBxzWwh6f52MCJbbws0B8Negp8Fakb9 lRTj+5Z5/o7VPkU8oUXC6XS6Mq9pbLSiKUUfYab6ug2IYH0EIwVEYASvVxFBi1WZ0G3+VuxFW6H dHaJRAho7KJqmXbi9OtboMEPgJA= X-Google-Smtp-Source: AGHT+IFctNSgXBT+y+g9chn114BxSm7apXnBkWoxrBXMWNF/IfskxDD5yhaxfiKk6p5c7qawchasWQ== X-Received: by 2002:a17:90b:3c09:b0:2ee:9cd2:a589 with SMTP id 98e67ed59e1d1-2ef0120f9fdmr4724278a91.20.1733249516878; Tue, 03 Dec 2024 10:11:56 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ee8a80bbb9sm6426834a91.39.2024.12.03.10.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 10:11:56 -0800 (PST) Date: Tue, 3 Dec 2024 10:11:55 -0800 From: Stephen Hemminger To: Cc: , , Subject: Re: [PATCH v2] net/bonding: add user callback for bond xmit policy Message-ID: <20241203101155.003754cc@hermes.local> In-Reply-To: <20241015082049.3910138-1-vignesh.purushotham.srinivas@ericsson.com> References: <20241015082049.3910138-1-vignesh.purushotham.srinivas@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, 15 Oct 2024 10:20:49 +0200 wrote: > From: Vignesh PS > > Add support to bonding PMD to allow user callback > function registration for TX transmit policy. > > Signed-off-by: Vignesh PS Allowing a callback hook for more complex options is good, but needs a little more work for completeness. The xmit callback register should take a portid to indicate which port it is for, and do checking of that portid that it is a bond port. Also need a test in CI. Something in testpmd to set it.