All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <brouer@redhat.com>
To: Jason Wang <jasowang@redhat.com>
Cc: Radu Stoenescu <radu.stoe@gmail.com>,
	"xdp-newbies@vger.kernel.org" <xdp-newbies@vger.kernel.org>,
	brouer@redhat.com, Jakub Kicinski <kuba@kernel.org>
Subject: Re: Redirect from NIC to TAP
Date: Wed, 10 Feb 2021 12:35:21 +0100	[thread overview]
Message-ID: <20210210123521.1ea112bc@carbon> (raw)
In-Reply-To: <fe13ccc1-9ccf-8f58-b8a8-45300f970ac2@redhat.com>

On Wed, 10 Feb 2021 11:42:10 +0800
Jason Wang <jasowang@redhat.com> wrote:

> On 2021/2/9 下午5:26, Radu Stoenescu wrote:
> > Hello
> >
> > My physical NIC is a Netronome (I can come back with exact model type
> > and driver version).
> >
> > Redirect NIC to TAP doesn't work when XDP is attached in driver mode.
> > It works when they are both in generic mode. I haven't tried other
> > combinations of attachment modes (one driver, other generic etc.).  
> 
> 
> It should work. I tested with i40e/ixgbe/mlx4 in the past.
> 
> What eBPF program did you use? (Is it the one in samples/bpf?)
> 
> I would test it by myself.
> 
> (It's near to spring festival, so I can only check after the holiday).

As Maciej Fijalkowski pointed out:
 "Looks like Netronome driver still doesn't support XDP_REDIRECT in native
mode."

So, that is likely the problem.
-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer


  reply	other threads:[~2021-02-10 11:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09  8:31 Redirect from NIC to TAP Radu Stoenescu
2021-02-09  9:21 ` Jesper Dangaard Brouer
2021-02-09  9:26   ` Radu Stoenescu
2021-02-09  9:41     ` Maciej Fijalkowski
2021-02-10  4:30       ` David Ahern
2021-02-18 10:12       ` Simon Horman
2021-02-28  6:55         ` Radu Stoenescu
2021-03-01 16:20           ` Toke Høiland-Jørgensen
2021-02-10  3:42     ` Jason Wang
2021-02-10 11:35       ` Jesper Dangaard Brouer [this message]
2021-02-18  5:48         ` Jason Wang

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=20210210123521.1ea112bc@carbon \
    --to=brouer@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kuba@kernel.org \
    --cc=radu.stoe@gmail.com \
    --cc=xdp-newbies@vger.kernel.org \
    /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.