On Sat, Dec 9, 2023 at 3:29 PM David Ahern wrote:
>
> On 12/8/23 12:22 PM, Mina Almasry wrote:
> > On Fri, Dec 8, 2023 at 9:48 AM David Ahern wrote:
> >>
> >> On 12/7/23 5:52 PM, Mina Almasry wrote:
> > ...
> >>> +
> >>> + xa_for_each(>bound_rxq_list, xa_idx, rxq) {
> >>> + if
On 12/8/23 12:22 PM, Mina Almasry wrote:
> On Fri, Dec 8, 2023 at 9:48 AM David Ahern wrote:
>>
>> On 12/7/23 5:52 PM, Mina Almasry wrote:
> ...
>>> +
>>> + xa_for_each(>bound_rxq_list, xa_idx, rxq) {
>>> + if (rxq->binding == binding) {
>>> + /* We hold the
On Fri, Dec 8, 2023 at 11:22 AM Mina Almasry wrote:
>
> On Fri, Dec 8, 2023 at 9:48 AM David Ahern wrote:
> >
> > On 12/7/23 5:52 PM, Mina Almasry wrote:
> ...
> > > +
> > > + xa_for_each(>bound_rxq_list, xa_idx, rxq) {
> > > + if (rxq->binding == binding) {
> > > +
On Fri, Dec 8, 2023 at 9:48 AM David Ahern wrote:
>
> On 12/7/23 5:52 PM, Mina Almasry wrote:
...
> > +
> > + xa_for_each(>bound_rxq_list, xa_idx, rxq) {
> > + if (rxq->binding == binding) {
> > + /* We hold the rtnl_lock while binding/unbinding
> > +
On 12/7/23 5:52 PM, Mina Almasry wrote:
> +
> +static int netdev_restart_rx_queue(struct net_device *dev, int rxq_idx)
> +{
> + void *new_mem;
> + void *old_mem;
> + int err;
> +
> + if (!dev || !dev->netdev_ops)
> + return -EINVAL;
> +
> + if
:
https://lore.kernel.org/r/20231208005250.2910004-7-almasrymina%40google.com
patch subject: [net-next v1 06/16] netdev: support binding dma-buf to netdevice
config: i386-randconfig-141-20231208
(https://download.01.org/0day-ci/archive/20231208/202312082305.dmh51qvo-...@intel.com/config)
compiler
:
https://lore.kernel.org/r/20231208005250.2910004-7-almasrymina%40google.com
patch subject: [net-next v1 06/16] netdev: support binding dma-buf to netdevice
config: m68k-randconfig-r071-20231208
(https://download.01.org/0day-ci/archive/20231208/202312082303.bcpecr0q-...@intel.com/config)
compiler
Add a netdev_dmabuf_binding struct which represents the
dma-buf-to-netdevice binding. The netlink API will bind the dma-buf to
rx queues on the netdevice. On the binding, the dma_buf_attach
& dma_buf_map_attachment will occur. The entries in the sg_table from
mapping will be inserted into a