lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 08 Feb 2019 17:55:14 +0100
From:   Toke Høiland-Jørgensen <toke@...hat.com>
To:     Saeed Mahameed <saeedm@...lanox.com>,
        "brouer\@redhat.com" <brouer@...hat.com>
Cc:     "hawk\@kernel.org" <hawk@...nel.org>,
        "virtualization\@lists.linux-foundation.org" 
        <virtualization@...ts.linux-foundation.org>,
        "borkmann\@iogearbox.net" <borkmann@...earbox.net>,
        Tariq Toukan <tariqt@...lanox.com>,
        "john.fastabend\@gmail.com" <john.fastabend@...il.com>,
        "mst\@redhat.com" <mst@...hat.com>,
        "jakub.kicinski\@netronome.com" <jakub.kicinski@...ronome.com>,
        "dsahern\@gmail.com" <dsahern@...il.com>,
        "netdev\@vger.kernel.org" <netdev@...r.kernel.org>,
        "jasowang\@redhat.com" <jasowang@...hat.com>,
        "davem\@davemloft.net" <davem@...emloft.net>,
        "makita.toshiaki\@lab.ntt.co.jp" <makita.toshiaki@....ntt.co.jp>
Subject: Re: Resource management for ndo_xdp_xmit (Was: [PATCH net] virtio_net: Account for tx bytes and packets on sending xdp_frames)

Saeed Mahameed <saeedm@...lanox.com> writes:

> But:
> 2) this won't totally solve our problem, since sometimes the driver can
> decide to recreate (change of configuration) hw resources on the fly
> while redirect/devmap is already happening, so we need some kind of a
> dev_map_notification or a flag with rcu synch, for when the driver want
> to make the xdp redirect resources unavailable.

Good point, I'll make a note of this. Do you have a pointer to where the
mlx5 driver does this kind of change currently?

-Toke

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ