From: David Ahern <dsahern@gmail.com>
To: Jiri Pirko <jiri@resnulli.us>, Leon Romanovsky <leonro@mellanox.com>
Cc: Maor Gottlieb <maorg@mellanox.com>,
"j.vosburgh@gmail.com" <j.vosburgh@gmail.com>,
"vfalico@gmail.com" <vfalico@gmail.com>,
"andy@greyhouse.net" <andy@greyhouse.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Saeed Mahameed <saeedm@mellanox.com>,
Jason Gunthorpe <jgg@mellanox.com>,
Jiri Pirko <jiri@mellanox.com>,
Alex Rosenbaum <alexr@mellanox.com>,
"davem@davemloft.net" <davem@davemloft.net>,
Mark Zhang <markz@mellanox.com>,
Parav Pandit <parav@mellanox.com>
Subject: Re: Expose bond_xmit_hash function
Date: Wed, 15 Jan 2020 10:34:04 -0700 [thread overview]
Message-ID: <b6ce5204-90ca-0095-a50b-a0306f61592d@gmail.com> (raw)
In-Reply-To: <20200115164819.GX2131@nanopsycho>
On 1/15/20 9:48 AM, Jiri Pirko wrote:
>>
>> Right now, we have one of two options:
>> 1. One-to-one copy/paste of that bond_xmit function to RDMA.
>> 2. Add EXPORT_SYMBOL and call from RDMA.
>>
>> Do you have another solution to our undesire to do copy/paste in mind?
>
> I presented it in this thread.
>
Something similar is needed for xdp and not necessarily tied to a
specific bond mode. Some time back I was using this as a prototype:
https://github.com/dsahern/linux/commit/2714abc1e629613e3485b7aa860fa3096e273cb2
It is incomplete, but shows the intent - exporting bond_egress_slave for
use by other code to take a bond device and return an egress leg.
next prev parent reply other threads:[~2020-01-15 17:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-15 8:01 Expose bond_xmit_hash function Maor Gottlieb
2020-01-15 9:45 ` Jiri Pirko
2020-01-15 13:04 ` Maor Gottlieb
2020-01-15 14:15 ` Jiri Pirko
2020-01-15 14:33 ` Leon Romanovsky
2020-01-15 16:48 ` Jiri Pirko
2020-01-15 17:34 ` David Ahern [this message]
2020-01-15 18:04 ` Jay Vosburgh
2020-01-15 18:12 ` David Ahern
2020-01-15 20:46 ` Jiri Pirko
2020-01-15 20:58 ` David Ahern
2020-01-16 14:42 ` Andy Gospodarek
2020-01-16 15:55 ` Maor Gottlieb
2020-01-16 16:00 ` Jay Vosburgh
2020-01-19 14:52 ` Maor Gottlieb
2020-01-20 18:43 ` Jay Vosburgh
2020-01-22 7:53 ` Maor Gottlieb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b6ce5204-90ca-0095-a50b-a0306f61592d@gmail.com \
--to=dsahern@gmail.com \
--cc=alexr@mellanox.com \
--cc=andy@greyhouse.net \
--cc=davem@davemloft.net \
--cc=j.vosburgh@gmail.com \
--cc=jgg@mellanox.com \
--cc=jiri@mellanox.com \
--cc=jiri@resnulli.us \
--cc=leonro@mellanox.com \
--cc=maorg@mellanox.com \
--cc=markz@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=parav@mellanox.com \
--cc=saeedm@mellanox.com \
--cc=vfalico@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.