On Tue, Sep 26, 2017 at 12:37 PM, John Hurley <john.hur...@netronome.com> wrote:
> [ Reposting in plantext only]
> On Mon, Sep 25, 2017 at 7:32 PM, Or Gerlitz <gerlitz...@gmail.com> wrote:
>>
>> On Mon, Sep 25, 2017 at 1:23 PM, Simon Horman
>> <simon.hor...@netronome.com> wrote:
>> > From: John Hurley <john.hur...@netronome.com>
>> >
>> > Periodically receive messages containing the destination IPs of tunnels
>> > that have recently forwarded traffic. Update the neighbour entries 'used'
>> > value for these IPs next hop.
>>
>> Are you proactively sending keep alive messages from the driver or the
>> fw? what's wrong with the probes sent by the kernel NUD subsystem?

> The messages are sent from the FW to the driver. They indicate which
> offloaded tunnels are currently active.

Do you support flow counters for offloaded TC rules? do you support last-use?

If Y && Y and you cache someone the prev counter value, you can use
this for the "used" feedback. I don't see why add keep-alive and not piggy back
on the flow counters logic.

>> In our driver we also update the used value for neighs of offloaded
>> tunnels, we do it based on flow counters for the offloaded tunnels
>> which is an evidence for activity. Any reason for you not to apply a
>> similar practice?

> Yes, this would provide the same outcome. Because our firmware already
> offered these messages, we chose to support this approach.

Reply via email to